UAC in Vista - therfor you vbs wil not function correctly.
User Account Control og Vista will runs vbs scripts without administrative privileges.
You can disable this Vista security with a vbs script or set it in GPO but only with a 2008 servier or a Vista maschine in the same domain.
Her you have the vbs script.
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\EnableLUA","0","REG_DWORD"
You can also make this change directly in regedit and set this key EnableLUA to 0.
I hope this will help you.
Knud Schrøder
Systemadmin
;o)
User Account Control og Vista will runs vbs scripts without administrative privileges.
You can disable this Vista security with a vbs script or set it in GPO but only with a 2008 servier or a Vista maschine in the same domain.
Her you have the vbs script.
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\EnableLUA","0","REG_DWORD"
You can also make this change directly in regedit and set this key EnableLUA to 0.
I hope this will help you.
Knud Schrøder
Systemadmin
;o)