S
Steve
I need to add a key and value. The following script works
when logging in w\ admin rights but not as domain user.
Dim shell
Dim key
Dim keyData
Set shell = WScript.CreateObject("wscript.shell")
key = "HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon"
shell.RegWrite key, UsrEnvDebugLevel
keyData = "HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\UsrEnvDebugLevel"
shell.RegWrite keyData, 10002
Any ideas? I have tried GPO and runas... but no avail.
Thanks in advance
when logging in w\ admin rights but not as domain user.
Dim shell
Dim key
Dim keyData
Set shell = WScript.CreateObject("wscript.shell")
key = "HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon"
shell.RegWrite key, UsrEnvDebugLevel
keyData = "HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\UsrEnvDebugLevel"
shell.RegWrite keyData, 10002
Any ideas? I have tried GPO and runas... but no avail.
Thanks in advance