When the “Run as administrator” option is greyed out in Windows 11, you cannot launch a program with elevated privileges, which blocks access to system-level changes and protected files. This guide walks you through the most common causes and their fixes, from simple account checks to registry edits, so you can restore the option quickly.
What You’ll Need
- A Windows 11 PC with an administrator account (or the password for one)
- Access to the Windows Registry (for one of the fixes)
- A system restore point (recommended before editing the registry)
Step-by-Step
- Check if the program actually supports elevation.
Some apps, especially modern UWP apps from the Microsoft Store, do not have a “Run as administrator” option because they are not designed to run elevated. If the option is greyed out for a Store app, that is normal. Try it on a classic desktop app like Command Prompt or Notepad to confirm the issue is system-wide. - Verify your account type.
Press Win + I to open Settings, go to Accounts > Your info. If it says “Local account” or “Administrator”, check the account type. Under Accounts > Family & other users, find your account and see if it says “Administrator” under the name. If it says “Standard user”, you need to switch it. Sign in with an admin account, go to that same page, click your account, select Change account type, choose Administrator, and click OK. Restart the PC. - Enable the built-in Administrator account (if disabled).
Open Command Prompt as an administrator (right-click Start, select Terminal (Admin) or Command Prompt (Admin)). Type the following and press Enter:
net user administrator /active:yes
Then log out and sign in with the “Administrator” account. Test if the option works there. If it does, your regular account has a permissions issue. To disable it later, run the same command with/active:no. - Reset the User Account Control (UAC) settings.
Sometimes a misconfigured UAC level causes the option to grey out. Press Win + R, typeregedit, and press Enter. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Look for a value named EnableLUA. Double-click it and set the value to 1. If you see ConsentPromptBehaviorAdmin, set it to 2 (this is the default). Close the registry and restart the PC. - Check the file’s properties.
Right-click the program (or its shortcut) and select Properties. Go to the Compatibility tab. Under Settings, check if “Run this program as an administrator” is ticked. If it is, uncheck it and click Apply. Then try right-clicking again. Sometimes a corrupted compatibility flag interferes with the context menu option. - Repair the context menu registry keys.
Open Registry Editor as admin. Navigate to:
HKEY_CLASSES_ROOT\*\shell\runas
If this key is missing or its default value is empty, the option may not appear. Right-click onshell, select New > Key, name itrunas. Select it, double-click the (Default) value, and typeRun as administrator. Then create a new key underrunascalledcommand. Set its (Default) value to:
"C:\Windows\System32\cmd.exe" /c start "" "%1"
Close and test. If the option appears but does not work, you may need to add aRunAsvalue (a DWORD set to 1) under therunaskey. - Run an SFC scan.
Corrupted system files can break context menu items. Open Terminal as admin and run:
sfc /scannow
Wait for it to finish. Then run:
DISM /Online /Cleanup-Image /RestoreHealth
Restart and check the option again. - Create a new user profile.
If nothing else works, the user profile may be corrupted. Go to Settings > Accounts > Family & other users, click Add account, and create a new local account. Then promote it to Administrator. Log into that account and test. If the option works there, you can migrate your files and use the new profile.
Common Mistakes
- Editing the registry without a backup. Always export the key before changing it (right-click the key, select Export). A wrong value can break the context menu entirely.
- Setting EnableLUA to 0. This disables UAC entirely and can cause the “Run as administrator” option to disappear or become non-functional. Keep it at 1.
- Testing with a UWP app. Store apps never show the option, so testing with them gives a false negative.
- Forgetting to restart. Many registry and policy changes require a full reboot to take effect.
Tips
- Use Ctrl + Shift + Enter after selecting a program in the Start menu to launch it as administrator directly.
- Pin the program to the taskbar, then right-click its icon and hold Ctrl + Shift while clicking it to run elevated.
- If you frequently need admin access for a specific app, set the “Run this program as an administrator” checkbox in its Compatibility tab instead of using the right-click menu.
- Keep your Windows 11 updated. Some bugs affecting context menus are fixed in cumulative updates.
Troubleshooting
If the option is still greyed out after following all steps, try the following:
- Boot into Safe Mode. Restart, hold Shift while clicking Restart, then go to Troubleshoot > Advanced options > Startup Settings > Restart, and press 4. In Safe Mode, test the option. If it works there, a third-party shell extension or security tool is interfering. Disable such software and reboot normally.
- Check Group Policy. Press Win + R, type
gpedit.msc(only available on Pro/Enterprise). Navigate to Computer Configuration > Administrative Templates > Windows Components > File Explorer. Look for a policy named “Remove ‘Run as administrator’ from the context menu.” If it is set to Enabled, set it to Not Configured or Disabled. - Use a third-party context menu editor. If the registry keys are intact but the option still fails, a shell extension might be suppressing it. Tools like ShellExView can help identify and disable suspicious extensions, but use them cautiously.
- Perform a system restore. If the issue started recently, restore your PC to a point before it began. Search for “Create a restore point” in the Start menu, click System Restore, and follow the wizard.
Frequently Asked Questions
Why is “Run as administrator” greyed out for some apps but not others?
Apps that are signed with certain security policies or are UWP/Store apps do not support elevation. Also, if the app is already running, the option may be disabled until you close it.
Can I fix this without editing the registry?
Yes. Start with the account type check, UAC reset, and SFC scan. Registry edits are only needed if those simpler steps fail.
Is it safe to enable the built-in Administrator account?
Temporarily, yes. It is a powerful account, so disable it again after testing. Leaving it active with no password is a security risk.
Will resetting Windows fix this issue?
A reset (Settings > System > Recovery > Reset PC) will almost certainly fix it, but it is a last resort because it removes installed apps and settings. Try the other steps first.
Does this happen on Windows 10 too?
Yes, the same causes and fixes apply to Windows 10. The steps are nearly identical, though the Settings layout differs slightly.
Why does the option appear but do nothing when clicked?
This usually means the app is already running elevated, or UAC prompts are being suppressed by a policy. Check the Group Policy settings and ensure UAC is set to the default level.
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
- Forget a Wi-Fi Network on Mac: Step-by-Step
- How to Prevent Your New iPad From Overheating
- How to Choose Task Management Software
- How to Bypass FRP with PC: Step-by-Step Guide
- Add Music to Video on iPhone: Step-by-Step
- Fix Zoom Lag on Windows 10: 9 Proven Steps