Update: Get Free Tips - Upgrading the Context Command ‘Run As’ for VBS Files

If any of your scripts are supposed to access the system folder they will not work under Vista, as the script does not have the required rights. There is no ‘Run as Administrator’ for VB scripts.

Open regedit and navigate to ‘HKEY_CLASSES_ROOT\VBSFile\Shell’. Click in the right pane and then create the key ‘run as admin’ by right clicking ‘Edit | New | Key’ and create a key called ‘command’. In the left pane, select the new sub key and click on the right and double click on ‘(Default)’.

Enter the following: ‘%SystemRoot%\System32\WScript.exe’ ‘%1’ %* including the quotes, in the value field and press...

View Original Content...

0 comments :