Torgeir
Tue Jan 25 09:40:45 CST 2005
Simon wrote:
> Hi there,
>
> What im trying to do, is find a way to vbscript a change to internet
> explorer - but this is done for each user instead of local machine. The
> key I need to change appears twice in the registry....
>
> (1)
> HKEY_USERS\S-1-5-21-653134347-1111155483-262303683-1232\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings\ProxyOverride
>
> (2)
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings\ProxyOverride
>
>
> I know that if I change this in HKEY_CURRENT_USER, it changes the
> HKEY_USERS entry for the account being used, but how can I make the
> change for ALL accounts that logon to the domain through a given PC?
> Any help would be massively appreciated,
> Simon
Hi
My experience is that HKEY_USERS does not contain the complete hives
for the other user profiles on the computer.
In that case you will need to enumerate the user profile folders and
load the hives one by one (using e.g. reg.exe). More about this here:
http://groups.google.co.uk/groups?selm=uSJWClYvEHA.3856%40TK2MSFTNGP10.phx.gbl
Reg.exe comes built in with WinXP and Win2k3.
Reg.exe for Win2k is in the Support Tools found on the Win2k CD,
\Support\Tools\Suptools.msi, or for the latest version of
Support Tools (should work on non-SP4 computers as well):
http://www.microsoft.com/windows2000/downloads/servicepacks/sp4/supporttools.asp
You could put this reg.exe file on a share on your server, or copy
the file to each Win2k computer.
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx