What "elevated" means 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 won't let you change them without explicit permission. When you open Command Prompt normally, it runs as a regular user, which means certain commands will fail or be blocked.

You need elevation when you're installing software, changing system settings, managing user accounts, or running diagnostic tools. If you try to run a command that needs administrator access without elevation, Windows will show an error message saying "Access Denied" or ask you to confirm the action with your administrator password.

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 User Account Control popup asking you to confirm; click "Yes" to allow the elevated window to open.
  • The title bar of an elevated Command Prompt shows "Administrator: Command Prompt" so you can tell it has the right permissions.
  • If you use Command Prompt regularly for admin tasks, you can pin it to your taskbar or Start menu for quicker access.

The right-click method (works on all Windows versions)

The simplest way to open an elevated Command Prompt is to search for it and run it as administrator. Press the Windows key, type "cmd", and wait for "Command Prompt" to appear in the search results. Right-click on it and select "Run as administrator".

Windows will show a User Account Control (UAC) popup asking "Do you want to allow this app to make changes to your device?" Click "Yes" to proceed. The Command Prompt window will then open with administrator permissions — you'll see "Administrator: Command Prompt" in the title bar at the top.

Opening elevated Command Prompt from File Explorer

If you're already in File Explorer and need to run a command in that folder, you can open an elevated Command Prompt directly there. Navigate to the folder you want to work in, then hold Shift and right-click on an empty space inside the folder. Select "Open PowerShell window here as administrator" (on newer Windows versions) or look for a Command Prompt option if you're on an older build.

On Windows 10 and 11, this method often opens PowerShell instead of Command Prompt, but PowerShell accepts the same commands. If you specifically need Command Prompt, use the search method instead.

Using the Run dialog to launch elevated Command Prompt

Press Windows key + R to open the Run dialog box. Type "cmd" and press Ctrl + Shift + Enter instead of just pressing Enter. This keyboard combination tells Windows to run the command with administrator permissions.

You'll still see the User Account Control popup — click "Yes" to confirm. This method is faster once you know the shortcut, but it's easy to forget the Ctrl + Shift + Enter part, so the right-click search method is more reliable for most people.

Pinning elevated Command Prompt to your taskbar

If you open elevated Command Prompt regularly, you can create a shortcut that always runs it as administrator. Search for "Command Prompt", right-click it, and select "Pin to taskbar". Then right-click the Command Prompt icon on your taskbar, right-click "Command Prompt" again in the menu that appears, and select "Run as administrator".

The next time you need an elevated window, you can right-click the taskbar icon and select "Run as administrator" directly — no need to search or use keyboard shortcuts. This saves time if you work with system settings or installation tasks regularly.

What to do if you see an "Access Denied" error

If you run a command and get "Access Denied" or a message saying you don't have permission, you didn't open Command Prompt with elevation. Close the window and use one of the methods above to open it as administrator instead. Then run the command again.

If you're on a work or school computer, your account may not have administrator rights at all — in that case, you'll need to contact your IT department or system administrator to run the command for you. They can either give you temporary elevation or run the task themselves.

Frequently Asked Questions

Why does Windows ask me to confirm when I click "Run as administrator"?

That popup is the User Account Control (UAC) system. It's a security feature that stops malware from automatically running commands that could damage your system. You have to click "Yes" on purpose, so a virus can't silently make changes without you knowing.

Is there a difference between elevated Command Prompt and PowerShell?

PowerShell is a newer tool that does the same job as Command Prompt and accepts most of the same commands. Both can run with administrator permissions. If a guide tells you to use Command Prompt specifically, you can usually use PowerShell instead, but Command Prompt is simpler for basic tasks.

Can I make Command Prompt always open as administrator?

You can create a shortcut that always runs elevated, but the standard Command Prompt icon in your Start menu won't change. The right-click method or pinning to your taskbar are faster than trying to change the default behavior.

What if the "Run as administrator" option doesn't appear?

Make sure you're right-clicking on "Command Prompt" itself, not on a folder or file. If you're on a work computer, your account permissions may prevent you from running as administrator — contact your IT support in that case.