Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I add a route to HKLM using VBS logon script

Status
Not open for further replies.

wbow

Technical User
Feb 8, 2005
50
GB
Hi,
I am trying to use the "route add" command in a VBS login script originally created by "Mark D. MacLachlan, The Spider's Parlor" to add entries into
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters".
On XP machines where users only have Domain User rights the users get "Access Denied", just fleetingly visible in a CMD window.
Have also tried to do it by calling a .reg script held in Sysvol\Domain.local\Policies\Machine\Scripts\Startup but get the same result.

I am reasonably sure this is a permissions issue but need guidance on how to force the registry update from within either the VBScript or .reg script.

Can anyone help?

Many thanks
 
do a startup script instead of a login script.

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top