How to Add or Remove 'Run as different user' Context Menu in Windows 10
Information
The Run as different user context menu allows a user to run .bat, .cmd, .exe, .msc, and .msi files with different permissions than the user's current logon provides.
By default, you will need to press and hold the Shift key and right click on a .bat, .cmd, .exe, .msc, or .msi file to see the Run as different user context menu item.
When the Run as different user context menu is used, it will prompt the user to enter the user name and password credentials to use.
This tutorial will show you how to add or remove the Run as different user context menu for all users in Windows 10.
You must be signed in as an administrator to be able to add or remove this context menu.
Note
Run as different user will only affect the current instance of the running .bat, .cmd, .exe, .msc, or .msi file. You can open multiple instances of the file with each instance running as a different user.
If the user you use with "Run as different user" doesn't have the appropriate permissions to access the file, then you will get an access is denied type error message like below.
EXAMPLE: "Run as different user" context menu
Here's How:
1. Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.
2. To Add Right Click "Run as different user" Context Menu
A) Click/tap on the Download button below to download the file below, and go to
step 5 below.
Add_Run_as_different_user_context_menu.reg
Download
3. To Add Shift + Right Click "Run as different user" 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 5 below.
Add_Shift_Run_as_different_user_context_menu.reg
Download
4. To Remove "Run as different user" Context Menu
A) Click/tap on the Download button below to download the file below, and go to
step 5 below.
Remove_Run_as_different_user_context_menu.reg
Download
5. Save the .reg file to your desktop.
6. Double click/tap on the downloaded .reg file to merge it.
7. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.
8. You can now delete the downloaded .reg file if you like.
That's it,
Shawn