About Windows command prompt
The command prompt is one of the most powerful tools 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, 10and currently Windows 11 as well as various server editions of Windows.
1 About Windows command prompt2 How To Use Command Prompt3 How To Open the Command Prompt as Administrator3.1 From Start menu Search3.2 From Run Dialog box3.3 From the Windows 10 Start menu (Win +X)3.4 Open Elevated Command Prompt from Task Manager3.5 Open Command Prompt from All Apps in Start Menu3.6 Open Elevated Command Prompt from File Explorer
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 perform 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 the 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 Ways to Open the Command Prompt as Administrator in Windows 10.
From Start menu Search
Yes, you can easily open the administrative command prompt from the 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.
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.
Also, you can highlight the result with the arrow keys and press CTRL + SHIFT + ENTER to open an administrator mode command prompt.
From Run Dialog box
We can open the command prompt by typing cmd on the run Dialog box and clicking ok, but until now we can’t open an elevated command prompt from the Run dialog box. But if you are using windows 10 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.
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 ) With Windows 10 21H1 Update, you might see Windows PowerShell here instead of Command Prompt. But if you’d like to 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.
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 Command Prompt from All Apps in Start Menu
Open Windows 10 Start Menu then scroll down till you find the 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 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“.
That’s all, I hope now you can easily and quickly open an Elevated Command Prompt on Windows 10. Also, Read
Fix Microsoft edge not Responding keeps freezing on Windows 10How To Fix Windows 10 internet connection problemsSolved: Windows Installer not working properly in Windows 107 ways to fix Windows 10 start menu not working or not respondingBest Tweaks to improve windows 10 performance and run faster