Before I make a start, here's what I'm referring to. Upon right-clicking my executable file named Setup.exe, the Run as administrator option Is available In the context menu as shown below. I can now launch the file with full unrestricted elevated rights.
If however, If you try and do the same with a VBS (VBScript) file, the Run as administrator Is not available by default. It's very Important to have the option at your disposal, particularly when experiencing Access Denied or No Permission errors.
As such, I will demonstrate how to add Run as administrator to VBS files, by using a neat little Registry file that will automatically add the entries to the Windows Registry, and apply the option to the right-click thereafter. I have provided the download links to the Registry file, at the end of this article. So without further delay, let's rip Into this tutorial.
Step One:Once you've downloaded the file, extract It's contents to a folder of your choice and double-click the Add To VBS Files.reg file. It will prompt whether to add the entries to the Windows Registry, so hit Yes.
Step Two:A message will be returned, confirming that the entries have been successfully added to the Registry, so click OK to finalize the process. The Run as administrator, has now been added to the right-click context menu for VBS files. Let's make sure It's functional In the next couple of steps.
Step Three:Here's what happened when I right-clicked my VBS file named Windows 10 Tips, before the above tweak was applied. The Run as administrator option Is missing.
Step Four:And this Is the result after the tweak. Upon right-clicking my Windows 10 Tips.vbs file, as you can see, the Run as administrator has been successfully added to the context menu. Perfect! All VBS files can now be executed with full elevated rights.
Last Step:In the event you've changed your mind and want to remove the Run as administrator from the right-click context menu, simply double-click the Remove From VBS Files.reg file, and hit Yes.
Final Thoughts:Although this may seem like a somewhat lengthy process, It only takes around one minute to apply the tweak- from the time you download the file, extract It's contents and execute the respective Registry file thereafter. The good thing about It, Is that the change can be reversed just as easy as It was to apply.
Use any of the links below to download the aforementioned Registry files.
Direct Link Solidfiles:
Direct Link Mega:
Direct Link Mediafire:
Direct Link 4shared:
Direct Link Sabercathost: