Published by


Brink's Avatar
Administrator

Posts: 20,725

Show Printable Version 


How to Add or Remove 'Run as different user' Context Menu in Windows 10

information   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   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.

Name:  Access_denied.png
Views: 652
Size:  7.5 KB


EXAMPLE: "Run as different user" context menu
Name:  Run_as_different_user.png
Views: 686
Size:  17.7 KB




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