Tagged Questions
0
votes
1answer
49 views
Windows server 2008 R2 error running vbscript from Registry at startup
I have a simple vbscript which runs an Exe program both vbscript and exe program are in the same folder c:\xxx, i want this script to run every time the machine restarts as we have 40 servers and ...
0
votes
3answers
616 views
VBScript gets opened in text editor instead of being executed
I'm part of a Windows Server 2008 domain. There's a login script (supposedly configured to execute on login via GPO) that sets permissions for network shares. However, instead of being executed, it's ...
0
votes
0answers
854 views
VB Script SetDWORDValue via WMI is not working in Windows 7
I'm trying to get this particular segment of vbscript to work on Windows 7 and it's just not doing it. No errors or anything.
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set ...
2
votes
1answer
2k views
Registry read permissions (scripting) on Windows Server 2003
Executing the following VBScript on our Windows Server 2003
Set p_shell = CreateObject("WScript.Shell")
p_shell.RegRead("HKEY_USERS\S-1-5-19\")
yields the following error
C:\Documents and ...