Windows 7: Opening the Command Prompt as Administrator


This article has not been updated recently and may contain dated material.

Open the Command Prompt with Administrative Privileges

1. Click the Start icon and click in the Search box.

windows start menu



2.  Type cmd into the search box. You will see the cmd (Command Prompt) in the search window.

cmd search result



3. Hover the mouse over the cmd program and right-click.

4. Select "Run as administrator".                        

cmd icon right-clicked.



Q: What if cmd does not appear when I search for it?
A: Type: “c:\windows\system32” in the Search box, and press the Enter key. Sort files by name, and then scroll to the section with all files that start with "C". The cmd.exe file should be located in this section. If you need further help, please check the following article: https://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/cmdexe-the-system-cannot-find-the-file-specified/

Related Information

Referenced from: Microsoft.com 

16850
12/14/2023 2:48:31 PM