Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Windows Key + X Command Prompt Admin: Quick Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Pressing Windows key + X opens the Quick Link menu (also called the Power User menu), but it does not directly open Command Prompt as administrator. To get an elevated Command Prompt, open the Quick Link menu with Windows key + X, then choose the terminal or Command Prompt option that says "(Admin)" or "Terminal (Admin)". On Windows 11, the default entry is usually Windows Terminal (Admin); on Windows 10, it is Command Prompt (Admin) or Windows PowerShell (Admin). If the admin option is missing, you can still open an elevated prompt by searching for Command Prompt, right-clicking it, and choosing Run as administrator. This guide walks through the exact steps, what to do when the menu does not behave as expected, and how to avoid common pitfalls.

What You'll Need

  • A Windows 10 or Windows 11 PC.
  • An account that is a member of the local Administrators group. A standard user account will trigger a User Account Control (UAC) prompt that requires admin credentials.
  • Keyboard access to the Windows key (most keyboards have it; on some compact keyboards it may be labeled with the Windows logo).

Step-by-Step

  1. Open the Quick Link menu. Press the Windows key + X on your keyboard, or right-click the Start button. The same menu appears either way. This menu is a list of system tools and settings.
  2. Locate the admin terminal entry. Look for an item labeled Windows Terminal (Admin) or Command Prompt (Admin) or Windows PowerShell (Admin). The exact label depends on your Windows version and default terminal settings. On Windows 11, the default is typically Windows Terminal (Admin). On Windows 10, it may be Command Prompt (Admin) or Windows PowerShell (Admin).
  3. Select the admin option. Click it, or use the arrow keys to highlight it and press Enter. A User Account Control (UAC) prompt will appear asking for permission or credentials.
  4. Approve the UAC prompt. If you are signed in as an administrator, click Yes. If you are signed in as a standard user, enter an administrator's username and password and click Yes. The elevated window opens with "Administrator" in the title bar.
  5. Verify elevation. In the elevated window, the prompt usually starts with Administrator: or the title bar says "Administrator: Windows Terminal" or "Administrator: Command Prompt". You can also run whoami /groups and look for the line containing S-1-16-12288 (High Mandatory Level) to confirm elevation, but the title bar is usually enough.
  6. Use the prompt. Type your commands and press Enter. Close the window when done. Changes made here affect the whole system, so double-check commands before running them.

Common Mistakes

  • Choosing the non-admin entry. The Quick Link menu often lists both a normal and an admin version. The normal one opens without elevation and cannot perform system-level tasks. Always pick the one marked (Admin).
  • Ignoring the UAC prompt. If you click No or close the UAC window, the prompt opens without elevation. You must approve the prompt to get admin rights.
  • Assuming Windows key + X alone opens an admin prompt. It only opens the menu. You still need to select the admin entry and approve UAC.
  • Using a standard account without admin credentials. A standard user cannot elevate without an administrator's password. Have an admin nearby or sign in with an admin account.
  • Confusing Command Prompt with Windows Terminal. On Windows 11, the admin entry may open Windows Terminal instead of the classic Command Prompt. You can still run Command Prompt commands inside a Terminal tab, or change the default terminal app in Settings > System > For developers (labels vary by version).

Tips

  • You can also open an elevated prompt by pressing Windows key, typing cmd or Command Prompt, right-clicking the result, and choosing Run as administrator. This works even if the Quick Link menu is customized.
  • If you prefer keyboard-only navigation, press Windows key + X, then press the underlined letter for the admin entry (often A for Terminal (Admin) or Command Prompt (Admin)). The underline letter can vary by system language and version.
  • Pin Command Prompt or Windows Terminal to the taskbar or Start menu for quicker access later. Right-click the app in search results and choose Pin to taskbar.
  • When running commands that change system settings, create a restore point first (search for Create a restore point in Start). This gives you a way back if something goes wrong.
  • Keep the elevated window open only as long as needed. Closing it ends the admin session and reduces the risk of accidental changes.

Troubleshooting

  • The Quick Link menu does not open. Try right-clicking the Start button instead. If that also fails, press Ctrl + Shift + Esc to open Task Manager, then File > Run new task, type explorer.exe, and press Enter to restart File Explorer. If the problem persists, restart the PC.
  • The admin entry is missing from the menu. The Quick Link menu can be customized. Open Settings > Personalization > Taskbar (or Start) and look for options related to the Power User menu. Labels vary by Windows version. If you cannot find it, use the search method: press Windows key, type cmd, right-click Command Prompt, and choose Run as administrator.
  • UAC prompt does not appear or is denied. Ensure your account is an administrator. If you are on a standard account, you need admin credentials. If UAC is disabled by policy, contact your IT administrator; do not attempt to disable UAC yourself.
  • The window opens but commands fail with access denied. Confirm the title bar says "Administrator". If it does not, close the window and repeat the steps, making sure to select the (Admin) entry and approve UAC.
  • Windows Terminal opens instead of Command Prompt. This is normal on Windows 11. You can run Command Prompt commands in a Terminal tab, or change the default terminal app in Settings > System > For developers (wording may differ). Alternatively, open Command Prompt directly from search with Run as administrator.

Frequently Asked Questions

Does Windows key + X open Command Prompt as administrator directly?

No. It opens the Quick Link menu, from which you must select the admin terminal entry and approve the UAC prompt.

Why does my Quick Link menu show Windows Terminal instead of Command Prompt?

Windows 11 defaults to Windows Terminal for the admin entry. You can still run Command Prompt commands inside Terminal, or change the default terminal app in Settings.

Can I use Windows key + X on Windows 10?

Yes. On Windows 10, the menu typically includes Command Prompt (Admin) or Windows PowerShell (Admin), depending on your default settings.

What if I don't see an (Admin) option in the menu?

The menu may be customized. Use the search method: press Windows key, type cmd, right-click Command Prompt, and choose Run as administrator.

Do I need an administrator account to use the admin Command Prompt?

Yes. A standard user will be prompted for an administrator's credentials by UAC. Without them, elevation is not possible.

Is it safe to run commands as administrator?

Only run commands you understand. Admin commands can change system settings and files. Create a restore point before making significant changes.