What an elevated command prompt is and why you need it

An elevated command prompt is a Command Prompt window that runs with administrator permissions. Most programs and settings on your computer are locked down — Windows prevents regular programs from making system-wide changes without your permission. When you open Command Prompt normally, you can read files and run basic commands, but you cannot install software, change system settings, or fix certain Windows problems. An elevated command prompt removes that restriction.

You need administrator rights when you are troubleshooting Windows problems, installing software that modifies system files, changing network settings, or running repair tools. If you try to run one of these tasks in a regular command prompt, Windows will block you with an error message saying "Access Denied" or asking for administrator permission.

Key Takeaways

  • Right-click the Command Prompt icon or search result and select "Run as administrator" — this is the fastest method on any Windows version.
  • Windows will show a blue popup asking "Do you want to allow this app to make changes to your device?" — click "Yes" to proceed.
  • The window title will say "Administrator: Command Prompt" when you have successfully opened it with elevated rights.
  • If you see "Access Denied" errors when running commands, you probably need to open an elevated prompt instead of a regular one.

The right-click method (works on Windows 10 and 11)

The fastest way to open an elevated command prompt is to search for it and right-click the result. Press the Windows key, type cmd, and wait for "Command Prompt" to appear in the search results. Do not press Enter yet.

Right-click on "Command Prompt" in the search results. A menu will appear with several options. Click "Run as administrator" — it is usually near the top of the menu. Windows will show a blue popup asking "Do you want to allow this app to make changes to your device?" Click "Yes" to confirm. The Command Prompt window will open with a blue title bar that says "Administrator: Command Prompt" at the very top.

Opening elevated command prompt from the Start menu

If you prefer to use the Start menu, click the Windows icon in the bottom left corner. Scroll down or search until you find "Command Prompt" in the list of programs. Right-click it and select "Run as administrator" from the menu that appears. The same blue permission popup will appear — click "Yes" to proceed.

On Windows 11, you may see "Windows Terminal" instead of or alongside "Command Prompt" in the search results. Both can run elevated — right-click either one and choose "Run as administrator." Windows Terminal is newer and has some additional features, but for basic command-line work, Command Prompt and Windows Terminal behave the same way.

Using the Ctrl+Shift+Enter keyboard shortcut

Once you have searched for Command Prompt and it appears in your search results, you can press Ctrl+Shift+Enter instead of clicking "Run as administrator." This keyboard shortcut tells Windows to open the selected program with administrator rights. The blue permission popup will still appear — click "Yes" to allow it.

This method is faster if you use Command Prompt often, because you can search, see the result, and launch it elevated all without touching your mouse. However, it only works if Command Prompt is already highlighted in the search results — if you have typed something else or clicked elsewhere, the shortcut may not work as expected.

What to do if the permission popup does not appear

If you click "Run as administrator" but no blue popup appears, your user account may already have administrator rights, or your computer may be set to skip the confirmation step. Either way, the Command Prompt window that opens will still be elevated — check the title bar to confirm it says "Administrator: Command Prompt."

If the title bar does not say "Administrator," the window is not elevated. Close it and try again, making sure you right-click and select "Run as administrator" rather than just double-clicking the icon. If you are on a work or school computer, your IT department may have restricted your ability to run elevated commands — contact them if you need administrator access for a specific task.

Pinning elevated command prompt to your taskbar

If you open an elevated command prompt often, you can create a shortcut that launches it directly without the search step. Right-click on an empty area of your desktop and select "New" and then "Shortcut." In the location field, type cmd.exe and click "Next." Give the shortcut a name like "Command Prompt (Admin)" and click "Finish."

Right-click the new shortcut, select "Properties," and click the "Advanced" button. Check the box that says "Run as administrator" and click "OK" twice. Now when you double-click this shortcut, Command Prompt will open elevated without showing the search results first. You can also right-click the shortcut and select "Pin to taskbar" to add it to the taskbar at the bottom of your screen for even faster access.

Troubleshooting common problems

If you see an error message saying "Access Denied" when you run a command, you are probably in a regular (non-elevated) command prompt. Close the window and open an elevated one using the right-click method described above. Some commands, like those that modify system files or install drivers, will only work in an elevated prompt.

If the blue permission popup appears but you click "No" by mistake, the Command Prompt window will not open at all. straightforward search for Command Prompt again and right-click to try once more. If you are on a work computer and the popup says you do not have permission to run this program, your IT department has restricted administrator access — you will need to contact them to run elevated commands.

Frequently Asked Questions

What is the difference between a regular and elevated command prompt?

A regular command prompt can read files and run basic commands, but cannot change system settings or install software that modifies Windows. An elevated command prompt has administrator permissions and can make system-wide changes. You can tell the difference by looking at the title bar — elevated prompts say "Administrator: Command Prompt."

Will opening an elevated command prompt harm my computer?

Opening the prompt itself is safe. However, commands you run in an elevated prompt can change or damage your system if you type them incorrectly. Only run commands you understand or that you found in official troubleshooting guides. If you are unsure what a command does, do not run it.

Can I use elevated command prompt on Windows 7 or older versions?

Yes. Right-click "Command Prompt" in the Start menu and select "Run as administrator." The process is the same, though the search feature may work slightly differently depending on your exact Windows version.

Why does Windows ask for permission when I click "Run as administrator"?

The blue popup is a security feature called User Account Control (UAC). It confirms that you intentionally want to run a program with elevated rights, because elevated programs can make changes you did not expect. This prevents malware from silently gaining administrator access.

Can I make Command Prompt always open elevated by default?

Not through Windows settings, but you can create a shortcut that opens elevated (see the "Pinning elevated command prompt to your taskbar" section above). This is the closest you can get to a default elevated prompt without changing Windows security settings.