If the “Run as different user” option is missing from the Shift+right-click context menu in Windows 11, the most common cause is the removal of the legacy context menu or a Group Policy setting that hides it. You can restore it by adding a registry entry or by using the Alt key with a right-click to access the full context menu.
Why the Option Disappears
Windows 11 introduced a redesigned context menu that shows only a few common commands by default. The “Run as different user” option, which was visible in Windows 10’s full context menu, is not included in the new compact menu. It only appears when you open the full context menu by clicking “Show more options” at the bottom, or by pressing Shift+F10 or Alt+Space after selecting a file. Additionally, if your PC is part of a domain or has a Group Policy that disables the option, it may be hidden even in the full menu.
Quick Fix: Use the Full Context Menu
The simplest way to get the option back is to access the legacy context menu:
- Hold Shift and right-click the executable file (e.g., a .exe or .msc file).
- From the menu that appears, click Show more options (or press Shift+F10).
- You should now see Run as different user in the expanded menu.
This works for most apps, but if you want the option to appear directly in the new context menu without extra clicks, you need to modify the registry.
Restore the Option in the New Context Menu via Registry
Windows 11’s new context menu is controlled by a registry key that determines which commands appear. You can add a special entry to make “Run as different user” show up directly:
- Press Win+R, type
regedit, and press Enter. - Navigate to
HKEY_CLASSES_ROOT\*\shell\runasuser. If therunasuserkey doesn’t exist, right-click onshell, select New > Key, and name itrunasuser. - With the
runasuserkey selected, set its default value toRun as different user. - Create a new String Value named
Extended(leave its value empty). This makes the command appear only when you hold Shift and right-click, which is the standard behavior. - Close the registry editor and test by holding Shift and right-clicking an executable.
If the option still doesn’t appear, check if the runas command is disabled by Group Policy. In gpedit.msc, navigate to User Configuration > Administrative Templates > Start Menu and Taskbar and look for a policy that removes “Run as different user”. If it’s enabled, set it to Not Configured.
Alternative: Use Shift+Right-Click on Shortcuts
For shortcuts, the option works slightly differently. If you right-click a shortcut (like a desktop icon) with Shift held, you may see “Run as different user” directly. However, for some system tools (like Command Prompt or PowerShell), you can also use the Alt key: press Alt and double-click the icon to open the “Run as different user” dialog. This is a handy alternative that doesn’t require registry edits.
Common Problems and Their Fixes
- Option is grayed out: This usually happens when the target file is not an executable or when the current user lacks permission to run it as another user. Ensure the file is a .exe, .bat, or .msc.
- Registry edits don’t work: Make sure you’re editing the correct hive (
HKEY_CLASSES_ROOTapplies to all users, but some antivirus software may block changes). Try refreshing Explorer by restarting it in Task Manager. - Option missing on Windows 11 Home: Group Policy editor is not available on Home edition by default, but you can still use the registry method. If the policy is set via local security policy, you may need to use
secpol.mscif available. - Option only appears for certain file types: The registry key applies to all files, but some apps (like UWP apps) don’t support running as a different user. For those, you need to use the Runas command in a terminal.
Using the Runas Command as a Fallback
If the context menu option is still unavailable, you can always use the runas command in Command Prompt or PowerShell. For example, to run an app as another user, type:
runas /user:DOMAIN\Username "C:\Path\to\app.exe"
You’ll be prompted for the password. This works regardless of the context menu settings and is especially useful for troubleshooting. Note that runas does not work with apps that require elevated privileges (UAC) unless you also use the /savecred option, which is not recommended for security reasons.
Comparison: Windows 10 vs Windows 11
In Windows 10, the “Run as different user” option was always visible in the right-click menu for executables. Windows 11 hides it by default to reduce clutter. The change is part of the new context menu design, which shows only the most frequently used commands. If you prefer the Windows 10 style entirely, you can restore the full context menu by setting the registry key HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 to an empty value, but that also brings back the old menu for everything, which may not be desirable.
Frequently Asked Questions
Why is “Run as different user” missing even with Shift+right-click?
If you hold Shift and right-click but still don’t see the option, it’s likely because the file isn’t an executable (e.g., a .txt file) or because a Group Policy has disabled it. Check the file type and review your local security policy.
Can I add “Run as different user” to the new context menu permanently?
Yes, by adding the runasuser registry key as described above. However, it will only appear when you hold Shift and right-click, unless you remove the Extended value, which would make it always visible.
Does this work for Windows 11 Home?
Yes, the registry method works on all editions. The Group Policy editor is not available on Home, but you can still edit the registry directly.
What if I don’t want to edit the registry?
You can use the runas command in a terminal, or simply use the “Show more options” menu. For frequent use, you can create a desktop shortcut that runs the command with the desired user.
Is there a way to run a program as a different user without a password?
No, Windows requires the password of the user account you’re switching to, unless you use /savecred which stores the password insecurely. It’s not recommended for security reasons.
Why does the option appear for some files but not others?
The option is only available for executable files (.exe, .com, .bat, .cmd, .msc). For other file types, the “Run as different user” command is not applicable because they aren’t run directly.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Cool Down an Overheating Laptop
- Good Password: How to Create One
- Remove Write Protection on External Hard Drive
- How to Disable Chkdsk at Windows Startup
- Restore WiFi and Secure Your Netgear Router After Reset
- Fix Error 0x80004005: Top Easy Ways That Work