How to Add 'Run as administrator' to VBS File Context Menu in Windows 10

information   Information
Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run is giving you a Access Denied or No Permission type error.

When you right click on application files, you can use the Run as administrator context menu item to run the app with elevated rights (full administrator access token).

This tutorial will show you how to add or remove Run as administrator from the context menu of .vbs (VBScript) files for all users in Windows 10.

You must be signed in as an administrator to be able to add or remove this context menu.


EXAMPLE: "Run as administrator" in context menu of VBS files
Add Run as administrator to Context Menu of VBS Files in Windows 10-vbs_run_as_administrator.png




Here's How:

1. Do step 2 (add) or step 3 (remove) below for what you would like to do.


 2. To Add "Run as administrator" to VBS file Context Menu

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Add_VBS_Run_as_administrator.reg

Download


 3. To Remove "Run as administrator" from VBS file Context Menu

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Remove_VBS_Run_as_administrator.reg

Download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

7. You can now delete the downloaded .reg file if you like.


That's it,
Shawn