How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (2025)

Table of Contents
Why Open Command Prompt as Administrator Method 1: Using Windows Search (Windows 10 & Windows 11) Step 1: Open the Start Menu and Type "CMD" Step 2: Select "Run as Administrator" Method 2: Run Dialog Box (Win 10 & 11) Step 1: Open Dialog Box or Press Win + R Step 2: Hold down Ctrl + Shift to enter Admin Mode Method 3: Quick Access Menu (Windows 10 & 11) Step 1: Open Power User Menu Step 2: Select Admin Step 3: Hover and click to visit Command Prompt Step 1: Type Windows Tools in the search box Step 2: Click to Open as Administrator Method 5: Using Task Manager (Win 10 & Win 11) Step 1: Open Task Manager and click to Run New Task Step 2: Create a New Task to Run CMD with Administrative Rights Method 6: Use Control Panel (Windows 11) Step 1: Press Win + R and type Control Panel Step 2: Click to Run as Administrator Method 7: Windows File Explorer Step 1: Open File Explorer Step 2: Select "Run as Administrator" Method 8: Using Desktop Shortcut Step 1: Open File Explorer Step 2: Show more options > Create Shortcut Step 3: Create your custom shortcut Conclusion How to Access Command Prompt as Admin in Windows - FAQs How do I run Command Prompt an administrator in Windows 11? Why can’t I find 'Command Prompt (Admin)' in Windows 10 and 11? Is there a PowerShell command to open CMD as admin? How do I access Command Prompt with administrator rights using the Task Manager? What is the Command Prompt? What are the basic Windows 11 commands in CMD? How do I verify that CMD is running as Admin rights? How do I access the Command Prompt as Administrator on a non-Admin account? Similar Reads References

Last Updated : 10 Feb, 2025

Summarize

Comments

Improve

If you're working on advanced tasks, such as system configuration, troubleshooting, or running commands that require admin privileges, you may be required to open the Command Prompt as Administrator. We can perform this in both Windows 10 and Windows 11 in several methods.

This article provides a step-by-step guide to accessing CMD with administrative privileges in Windows 10 and 11.

Why Open Command Prompt as Administrator

The Command Prompt or CMD is a powerful tool for performing various system tasks. Running it as an administrator grants you admin access to:

  • Modify System Settings
  • Run Admin commands like sfc /scannow i.e. system scans
  • Manage User Accounts
  • Access and edit restricted files

Without administrator access, many essential commands will not work, so knowing how to open it with admin access is critical for users who manage system settings, developers, or anyone performing any troubleshooting related tasks.

Method 1: Using Windows Search (Windows 10 & Windows 11)

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open the Start Menu and Type "CMD"

Press the Windows Key or Click on the Start Menu and Type Command Prompt or CMD and proceed ahead.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (1)

Step 2: Select "Run as Administrator"

Right-click on "Command Prompt" and select "Run as administrator''.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (2)

Method 2: Run Dialog Box (Win 10 & 11)

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open Dialog Box or Press Win + R

First, press the Windows key + R to open the Run dialog. Now, type "CMD" or Command prompt

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (3)

Step 2: Hold down Ctrl + Shift to enter Admin Mode

Press Ctrl + Shift + Enter or click "OK" while holding Ctrl + Shift.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (4)

You might be asked to enter admin password. Provide the same & proceed with the Command Prompt administrator rights.

Method 3: Quick Access Menu (Windows 10 & 11)

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open Power User Menu

Go to Start Button or press Win + X

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (5)

Step 2: Select Admin

Now, click on "Terminal (Admin)" from the menu.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (6)

Step 3: Hover and click to visit Command Prompt

Then, Click on the arrow from the menu and Select "Command Prompt"

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (7)

By following this method, anyone can open command prompt using these 3 simple steps.

Note: This method is suitable forWindows 11

Step 1: Type Windows Tools in the search box

Click on the Start menu and type Windows Tools

Step 2: Click to Open as Administrator

Make a right click and select "Run as Administrator"

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (8)

Method 5: Using Task Manager (Win 10 & Win 11)

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open Task Manager and click to Run New Task

Click the Start Menu and type "Task Manager"

Step 2: Create a New Task to Run CMD with Administrative Rights

Create a new task in the File menu and select Run New Task. Check "Create this task with administrative privileges", and click OK.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (9)

Method 6: Use Control Panel (Windows 11)

Note: This method is suitable for Windows 11

Ypu can use Windows Control Panel to open Command Prompt with admin rights, here's what you need to do:

Step 1: Press Win + R and type Control Panel

Now, on the Control Panel Search bar type "Windows Tools" and click on it.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (10)

Step 2: Click to Run as Administrator

Right-click on the Command Prompt and Click Run as administrator.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (11)

Method 7: Windows File Explorer

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open File Explorer

Open File Explorer or press Win + E and type CMD

Step 2: Select "Run as Administrator"

Make a right-click and select "Run as admin"

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (12)

Method 8: Using Desktop Shortcut

Note: This method is suitable for both Windows 10 and Windows 11

Step 1: Open File Explorer

Press Win + E and type Command Prompt or CMD

Step 2: Show more options > Create Shortcut

Press Win + D to get the desktop then right-click CMD then from the menu select "Properties" and then navigate to the "Shortcut" tab

Step 3: Create your custom shortcut

In the Shortcut key field, press a key combination of your choice.

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (13)

Conclusion

Understanding how to open the Command Prompt as Administrator is essential for both casual users and power users. Whether you're managing system configurations, running scans, or troubleshooting issues, knowing how to run CMD with elevated privileges will enhance your ability to manage your system effectively.

How to Access Command Prompt as Admin in Windows - FAQs

How do I run Command Prompt an administrator in Windows 11?

Step 1: Press the Windows key to open the Start menu and type "CMD"
Step 2: Right-click on Command Prompt from the search results.
Step 3: Select "Run as administrator".
Step 4: Click Yes on the User Account Control (UAC) prompt to allow administrative access.

Why can’t I find 'Command Prompt (Admin)' in Windows 10 and 11?

Windows 10 and 11 uses "Windows Terminal (Admin)" by default, but you can switch the profile to Command Prompt.

Is there a PowerShell command to open CMD as admin?

Yes, run Start-Process cmd -Verb RunAs in PowerShell.

How do I access Command Prompt with administrator rights using the Task Manager?

Step 1: Open Task Manager by pressing Ctrl + Shift + Esc.
Step 2: Click on File in the top menu and select Run new task.
Step 3: Type cmd and check "Create this task with administrative privileges".
Step 4: Click OK.

What is the Command Prompt?

The Command Prompt is the Command Line Interface for the Windows Operating System. If you want to work on some crucial components in Windows OS, you have to switch to the Command Prompt on Windows. Here, using different Windows commands, you can quickly perform different steps.

What are the basic Windows 11 commands in CMD?

The list of Commands in the Command Prompts are as follows:

  • dir: Lists the contents of a directory.
  • cd: Changes the current directory.
  • mkdir: Creates a new directory.
  • rmdir: Removes a directory.
  • copy: Copies files.
  • move: Moves files or renames them.
  • del: Deletes one or more files.
  • cls: Clears the CMD window.
  • ipconfig: Displays IP configuration.
  • netstat: Displays network statistics.

How do I verify that CMD is running as Admin rights?

Step 1: Look for "Administrator" in the command prompt Window Title Bar

Step 2: Run whoami command to verify

How do I access the Command Prompt as Administrator on a non-Admin account?

Step 1: Log in to an admin account.

Step 2: Use Shift + Right-click on cmd.exe and select Run as different user.


Next Article

How to Open Command Prompt in Windows 11, 10, 8, 7

saurabhkumarsharma05

How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (15)

Improve

Article Tags :

  • TechTips
  • Command Prompt
  • How To

Similar Reads

  • How to Open the Command Prompt as Administrator in Windows If you're working on advanced tasks, such as system configuration, troubleshooting, or running commands that require admin privileges, you may be required to open the Command Prompt as Administrator. We can perform this in both Windows 10 and Windows 11 in several methods. This article provides a st 6 min read
  • How to Open Command Prompt in Windows 11, 10, 8, 7 The Command Prompt is a powerful tool in Windows for executing commands, troubleshooting issues, and automating tasks. Whether you're using Windows 11, 10, 8, or 7, this guide covers all the methods to open Command Prompt quickly and efficiently. 8 Proven Methods to run the Command Prompt (cmd) in W 8 min read
  • How to Clear the Windows Command Prompt Screen? If you've been working in the Windows Command Prompt and your screen is cluttered with text, knowing how to clear the Windows Command Prompt screen can make your workspace much tidier and easier to manage. This simple task can help you focus on the commands you're working on without distraction. In 6 min read
  • How to Disable Administrator Account in Windows? An administrator account allows you to make changes and check the activities of other users. An administrator account can Change user accounts Modify security settings Install software and hardware applications. You can disable the hidden administrator account if you are the only user of your system 2 min read
  • How to Change Administrator Account in Windows 11? Windows has two account types: Standard and Administrator. The standard user group provides minimal access to features in comparison to the Administrator group, where app installation and command execution tasks are allowed. To change an administrator account, grant administrator privileges to a reg 3 min read
  • How to Open Windows PowerShell as an Admin in Windows 11? Windows Powershell is a powerful command-line shell and scripting language devised for administrators and professionals. PowerShell with administrative privileges in Windows 11 makes it possible to carry out tasks with superior permissions. This article will discuss several ways of opening Windows P 4 min read
  • How to Open Local Group Policy Editor in Windows Home? Opening the Local Group Policy Editor in Windows Home can be tricky, as this feature is typically unavailable in the Home edition by default. However, workarounds exist to access Group Policy on Windows Home and manage system policies effectively. In this guide, we’ll show you how to enable Group Po 5 min read
  • How to Repair Windows 10 Using Command Prompt - 5 Methods Command Prompt (CMD) is a powerful tool for troubleshooting and fixing errors in Windows. This guide will walk you through the various CMD commands and techniques to resolve Windows errors efficiently. Whether you're facing issues with Windows updates, error messages, or general system problems, CMD 6 min read
  • How to Change Colours in Command Prompt? Customizing the appearance of your Command Prompt can make your coding or command execution sessions more enjoyable and easier on the eyes. In this guide, we'll walk you through the process of changing colours in Command Prompt, from altering text colour to adjusting the background for better clarit 3 min read
  • How to Fix npm path in Windows 8 and 10 ? Node Package Manager (npm) is a package manager for managing dependencies and packages in Node.js projects. However, users often encounter issues with npm commands not being recognized in Windows 8 and 10 due to path configuration problems. In this article, we'll discuss the following approaches to 2 min read
How to Open Command Prompt as Administrator in Windows 10 & 11 | Step-by-Step Guide - GeeksforGeeks (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Dr. Pierre Goyette

Last Updated:

Views: 5600

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dr. Pierre Goyette

Birthday: 1998-01-29

Address: Apt. 611 3357 Yong Plain, West Audra, IL 70053

Phone: +5819954278378

Job: Construction Director

Hobby: Embroidery, Creative writing, Shopping, Driving, Stand-up comedy, Coffee roasting, Scrapbooking

Introduction: My name is Dr. Pierre Goyette, I am a enchanting, powerful, jolly, rich, graceful, colorful, zany person who loves writing and wants to share my knowledge and understanding with you.