Missing “Run as” .bat / batch – Run .bat file as administrator
- 0 Comments... What do you have to say?
I was trying to run a .bat file as administrator in Windows XP today and noticed that run as was not an option. A quick Google turned up this fix.
Copy the below to a notepad file
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\batfile\shell\runas\command]
@=”\”%1\” %*”
Save the notepad file as runas.reg for example. The .reg extension is very important. Double-click the runas.reg registry file. Click Yes and Ok. Now right-click the .bat file and you should now have the Run as option.
- Posted in: Office crap
- Subscribe to RSS