7 replies
Here is a possibility.
With Windows Script Host (WSH) you can manage the system registry.
The WSript.Shell object provides functions to read system information and environment variables, work with the registry and manage shortcuts.
Links:
http://www.winguides.com/scripting/reference.php?id=109
http://www.winguides.com/scripting/reference.php?category=3
http://www.microsoft.com/msdownload/vbscript/scripting.asp
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001169
(REMOVE SPACES from the pasted URL.)
Maxwell
by ksearch
by jlaar
by ksearch
by joseph moore
I usually don't have any problems pushing a REG file onto a user system through their logon script.
For example, say you have a file called WEBSITE.REG that contains the following:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyOverride"="*.mydomain.com"
Now, I want to push this onto user systems in their logon scripts. To do that, I put the REG file in the Netlogon share on my PDC, then I put the following in the logon scripts:
REGEDIT /S WEBSITE.REG
That is it. It silently pushes the REG contents into the Registry on the user systems. And I have done this, and it works for normal users (with normal rights).
hope this helps
by ksearch
by ksearch
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending