How to Open an Elevated Command Prompt from a Command Prompt

article
How to Open an Elevated Command Prompt from a Command Prompt

An elevated Command Prompt runs with administrator privileges. Some commands require elevated access to modify system settings, manage services, or run advanced tools.

If you are already inside a normal Command Prompt and need administrative rights, this guide explains how to open an elevated Command Prompt from a Command Prompt in Windows 10 and Windows 11.

What Is an Elevated Command Prompt

An elevated Command Prompt is simply Command Prompt running as Administrator. You will see “Administrator: Command Prompt” in the title bar.

Administrative access is required for commands such as:

  • sfc
  • dism
  • net user
  • chkdsk
  • system configuration changes

Without elevation, certain commands will fail with an access denied message.

Method 1: Use the runas Command

You can launch an elevated Command Prompt using the runas command.

In your existing Command Prompt, type:

runas /user:Administrator cmd

Press Enter.

If prompted, enter the administrator password.

A new elevated Command Prompt window will open.

Note: This works only if the Administrator account is enabled.

Method 2: Use PowerShell from CMD

If you have access to PowerShell, you can trigger an elevated session from CMD.

Type the following:

powershell Start-Process cmd -Verb runAs

Press Enter.

You will see a User Account Control prompt. Click Yes.

A new elevated Command Prompt will open.

This method works on both Windows 10 and Windows 11.

Method 3: Use Start Menu Shortcut

If runas does not work, use this quick alternative:

  1. Press Windows key
  2. Type cmd
  3. Right-click Command Prompt
  4. Select Run as administrator

This is often the simplest solution.

Method 4: Use Task Manager

You can also open elevated CMD via Task Manager.

  1. Press Ctrl + Shift + Esc
  2. Click File
  3. Select Run new task
  4. Type cmd
  5. Check Create this task with administrative privileges
  6. Click OK

This launches an elevated Command Prompt.

How to Check If CMD Is Elevated

To confirm:

Look at the window title.

If it says:

Administrator: Command Prompt

Then it is running with elevated privileges.

You can also try running:

net session

If it returns without an error, the session is elevated.

Common Errors

If you see “Access is denied”:

  • You are not running as Administrator
  • The admin account is disabled
  • User Account Control is restricting access

Make sure you confirm the UAC prompt.

Why Open Elevated CMD from CMD

This is useful when:

  • Running scripts that require admin rights
  • Executing system repair commands
  • Managing system services
  • Changing network configurations

It saves time without closing your current session.

Final Thoughts

Opening an elevated Command Prompt from an existing CMD window is simple using runas or PowerShell commands. Administrative access is necessary for advanced system changes, and Windows provides multiple ways to launch an elevated session safely.

FAQs

What does elevated Command Prompt mean
It means Command Prompt is running with administrator privileges.

Why does runas ask for a password
It requires administrator credentials.

Can I elevate the same CMD window
No, you must open a new elevated window.

Does this work in Windows 11
Yes, the steps work in both Windows 10 and Windows 11.

Is it safe to use elevated Command Prompt
Yes, but only run trusted commands with administrative rights.

Discover: Uncategorized

Discussion (0)

Be the first to comment.