WINDOW 11

How to Run Command Prompt as Administrator in Windows 11

4 SOLUTIONS
NOVEMBER 08, 2024

This article offers four different methods through which you can open Command Prompt or PowerShell with administrative rights in Windows 11. The available tools to use for the opening include using the Start Menu Search, the Win + X Menu, the Run Dialog, and Task Manager.

Deepak Yadav
Deepak Yadav

Expert, Head of Windows Circle

Administrator Account

You must be logged in with an admin account.

Windows 11

Ensure Windows 11 is installed and up to date.

UAC Settings

User Account Control should allow elevation of privileges

Start Menu Search

4 STEPS EASY 2 MIN

1/4

METHOD
Method 1
Overview

This method involves using the Start Menu Search feature to open Command Prompt or PowerShell with administrator privileges. The process is quick and can be completed in just four simple steps:

Method 1 of 4
Next Method

Open Start Menu Search

Press Win + S (or Win + Q).

Method 1 of 4
Step 1 of 4

Search for Command Prompt or PowerShell

Type cmd for Command Prompt or PowerShell for PowerShell.

Method 1 of 4
Step 2 of 4

Run as Administrator

In the search results, right-click on Command Prompt or Windows PowerShell.

Select Run as administrator.

Method 1 of 4
Step 3 of 4

Confirm the UAC Prompt

Click Yes when prompted by the User Account Control (UAC) to proceed.

Note: Confirm that Command Prompt is running as Administrator by checking the title bar for Administrator: Command Prompt.

Method 1 of 4
Step 4 of 4

Using the Win + X Menu

3 STEPS EASY 2 MIN

2/4

METHOD
Method 2
Overview

This method utilizes the Win + X menu to quickly access administrative tools. It is efficient and can be completed in just three simple steps:

Method 2 of 4
Next Method

Open the Win + X Menu

Press Win + X

Method 2 of 4
Step 1 of 3

Select Administrative Access

Choose Windows Terminal (Admin), Command Prompt (Admin), or PowerShell (Admin) depending on your Windows version.

Method 2 of 4
Step 2 of 3

Click Yes on the UAC prompt

Confirm by clicking Yes on the User Account Control prompt.

Method 2 of 4
Step 3 of 3

Using Run Dialog

3 STEPS EASY 2 MIN

3/4

METHOD
Method 3
Overview

This method allows you to quickly access Command Prompt or PowerShell with administrative privileges through the Run Dialog.

Method 3 of 4
Next Method

Open the Run Dialog

Press win + R

Method 3 of 4
Step 1 of 3

Enter Command

Type cmd for Command Prompt or powershell for PowerShell

Method 3 of 4
Step 2 of 3

Run as Administrator

Press Ctrl + Shift + Enter

Confirm the UAC prompt by clicking Yes

Method 3 of 4
Step 3 of 3

Using Task Manager

4 STEPS EASY 2 MIN

4/4

METHOD
Method 4
Overview

This method involves opening Task Manager with Ctrl + Shift + Esc, then running cmd or powershell with administrative privileges.

Method 4 of 4

Open Task Manager

Press Ctrl + Shift + Esc.

Method 4 of 4
Step 1 of 4

Run New Task

Go to File > Run new task.

Method 4 of 4
Step 2 of 4

Enter Command and Enable Admin Access

Type cmd or powershell.

Method 4 of 4
Step 3 of 4

Confirm Administrative Access

Check the box Create this task with administrative privileges .

Click OK, and confirm the UAC prompt.

Method 4 of 4
Step 4 of 4

Additional Tips

Set Permanent Admin Rights for a Shortcut