I have a VBScript which need to run as an administrator.
Is it possible to add some code in the script that will help with that ?
I have a VBScript which need to run as an administrator.
Is it possible to add some code in the script that will help with that ?
Helen, take a look at the elevate command powertoy from Microsoft
http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx
Publish the code you want to run, then we can give more advise.
The anwser Bypass UAC in VbScript from the comment above works also but has it drawback, i also use the tools RUNAS and PSEXEC from systernals.