5 Ways to Open the Command Prompt as Administrator in Windows 10

5 Ways to Open the Command Prompt as Administrator in Windows 10

cmd

Windows command prompt also known as cmd.exe or cmd is an application that allows you to execute programs, change settings, and access files by typing commands into the window. There are many situations where you need to use the command lines instead of the GUI apps and many of the command lines require the admin privilege in order to complete the mission. Here this post we discuss the 5 easy and Fastest Way to Open the Command Prompt as Administrator in Windows 10 .

Post Contents :-

Click here to see....

1 About Windows command prompt
2 How To Use Command Prompt
3 How To Open the Command Prompt as Administrator
3.1 From Start menu Search
3.2 From Run Dialog box
3.3 From the Windows 10 Start menu (Win +X)
3.4 Open Elevated Command Prompt from Task Manager
3.5 Open Command Prompt from All Apps in Start Menu
3.6 Open Elevated Command Prompt from File Explorer

About Windows command prompt

The command prompt is one of the most powerful tools In Windows 10, used to execute entered commands. It was introduced by Microsoft for the OS/2, Windows CE, and Windows NT-based operating systems. Which includes Windows 2000, XP, Vista, Windows 7, 8.1 and currently Windows 10 as well as various server editions of Windows. It is not a DOS program but a real executable application.

How To Use Command Prompt

To use Command Prompt, you must enter a valid command along with any optional parameters. After Type, the command we press enter key Command Prompt then executes the command as entered and performs whatever task or function it’s designed to perform in Windows. A large number of commands exist in Command Prompt but their availability differs from operating system to operating system.

Using command prompt we can troubleshoot various windows problems such as sfc/scannow to scan and restore corrupted system files, “ dism/online/cleanup-image/restorehealth ” To repair system image. “ netsh winsock reset ” command to reset winsock catalog back to default setting or clean state and more. Also, display such information for example ipconfig /all command display current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) setting.

How To Open the Command Prompt as Administrator

Command Prompt can be accessed via the Command Prompt shortcut located in the Start Menu or on the Apps screen, depending on what version of Windows you have. Here we have a collection 5 easy and Fastest Way to Open the Command Prompt as Administrator in Windows 10 .

From Start menu Search

Yes, you can easily open the administrative command prompt from start menu search. Simply click on the Start Menu and type cmd into the search field. When the Command Prompt search result is shown, right-click on it and select Run as administrator as shown below.


open command prompt As administrator

A User Account Control prompt will appear asking if you would like to allow the Command Prompt to be able to make changes on your computer Click yes.

user-account-control

Also you can highlight the result with the arrow keys and press CTRL + SHIFT + ENTER to open an administrator mode command prompt.


Open the Command Prompt as Administrator in Windows 10

From Run Dialog box

We can open the command prompt by type cmd on Run Dialog box and click ok, but until now we can’t open an elevated command prompt from the Run dialog box. But if you are using windows 10 version 1803 or later Where you can now elevate a program by holding down Ctrl+Shift when clicking on the OK button, or hitting enter.

Simply press Windows + R, type cmd, and press Ctrl+Shift+enter or ok to open the command prompt as administrator.

Elevation-in-Run-Box-min
Elevation in Run Box

From the Windows 10 Start menu (Win +X)

This is another quick and fast way to open an Elevated Command Prompt on Windows 10. Simply Right-click on Windows 10 Start menu and select command prompt ( admin )


open command prompt (admin) Windows 10 Start menu

With Windows 10 fall Creators Update, you might see Windows PowerShell here instead of Command Prompt . But if you’d like put the Command Line proper back in this menu, open Settings , go to Personalization and click the Taskbar tab. Switch the Replace Command Prompt with Windows PowerShell option to Off .


Replace Command Prompt with Windows PowerShell

Open Elevated Command Prompt from Task Manager

Note: You need to be signed in as administrator in order to open the elevated command prompt from this method.

Just press Ctrl + Shift + Esc to open Task Manager in Windows 10. Or right click on Taskbar and select Task manager. Then from the Task Manager Menu click on File then press & hold the CTRL key and click on Run new task which would open an elevated command prompt.

Open-Elevated-Command-Prompt-from-Task-Manager
Open Elevated Command Prompt from Task Manager

Open Command Prompt from All Apps in Start Menu

Open Windows 10 Start Menu then scroll down till you find Windows System folder . Click on Windows System Folder to expand it, then right-click on Command Prompt then select More and click “ Run as administrator “.


Open Elevated Command Prompt from Start Menu

Open Elevated Command Prompt from File Explorer

Open Windows File Explorer then navigate to the following folder:

C:\Windows\System32

Scroll down till you find cmd.exe or press “ C ” key on the keyboard to navigate to cmd.exe.

Once you find cmd.exe, just right-click on it and select “ Run as administrator “.


Open Elevated Command Prompt from File Explorer

That’s all, I hope now you can easily and quickly Open an Elevated Command Prompt on Windows 10.

4 Likes

Other way…

If you want to open command prompt and want to go to particular folder, this trick would be useful.

Open windows explorer and go to that particular folder.
Then on the address bar on the top type “cmd” and hit enter.
Your command prompt will open with the current directory as the folder in which you opened cmd.

1 Like