I do not know how to make the script you are interested in. I might be able to learn but I do not have the time. A script to change windows settings is very complicated.
But I may be able to help you out.
It sounds like you are on a intranet and you want the log in to be protected against AutoComplete.
If you have control over the forms you want to protect this will be simple:
Here is an example forum with AutoComplete turned off on specified form fields. Note the autocomplete="off"values.
Code:<form>
Name <input name="name" autocomplete="off"><br>
Email <input name="email" autocomplete="off"><br>
Comments <textarea rows="10" cols="60" wrap="virtual" autocomplete="off"></textarea><br>
<input type="submit" value="Submit"><br>
<input type="reset" value="Wipe">
</form>
Or you can do this for an entire form like this:
Code:<FORM AUTOCOMPLETE="off">
----------------
Here is another way to turn it on and off that I am not too familiar with.
Code:<script language="JavaScript"><!--
document.myForm.myField.setAttribute('autocomplete','on')
//--></script>
----------------
Here are the registry entries that deal with this. I'm not sure they would be helpful.
Quote:Disable Using AutoComplete Forms in Web Browser Internet Explorer 5.0 Only
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Use FormSuggest
Data Type : String = "no"
Disable Using AutoComplete Password in Web Browser Internet Explorer 5.0 Only
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FormSuggest Passwords
Data Type : String = "no"
Disable AutoComplete in Explorer - Win98/2000 Only
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete\Use AutoComplete
Data Type : String = "no"