How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista
Windows Vista and Windows 7 power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista and Windows 7 that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command prompt will full admin rights and permission state. Here’s a few ways and methods the elevated command prompt can be opened and ran as administrator.
Method 1
- Click on Vista Start button.
- Locate the Command Prompt menu item (buried deep inside Accessories under All Programs or appear on program access history).
- Right click on Command Prompt.
- On the pop-up right click context menu, select “Run as Administrator”.
Method 2
- Click on Vista Start button.
- Click on Run.
- Type in “Cmd” (without quotes) in the Open textbox.
- You should see “This task will be created with administrative privileges”.
- Click on OK or press Enter.
Method 3
- Press the Win keyboard key or click on Vista Start button.
- Type cmd into the Start Search textbox.
- Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.
- Press Alt+C or press Continue to confirm the UAC elevation warning prompt.
Method 4
- Click on Vista Start button.
- In the Start Search box, type in “Cmd” (without quotes).
- Right click on the Command Prompt in the search result listing.
- In the right click menu, click on “Run as Administrator” menu item.
Method 5
- Press on Win + R keyboard keys.
- Type in Cmd into the Open textbox.
- Hit OK or press Enter.
Method 6
You can create an easy access shortcut to elevated command prompt with administrative privileges at the desktop or Start menu.
Method 7
Add a right click contextual menu option of “Open Command Prompt as Administrator” to the Computer (My Computer) so that you can simply right click and click on the item to open the super command prompt.
Method 8
Turn off or disable User Access Control (UAC).
Method 9
If you prefer to hold down “Shift” key and right click on a folder open a command window here, a registry hack will allow you to open command window at current folder in elevated mode as administrator.
All methods above also works in Windows 7.
This guide has been reposted and updated at Tip and Trick.
Related posts:
- Create and Put an Elevated Command Prompt on Windows Vista Desktop or Start Menu
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item – Open Command Prompt Here & Copy as Path
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut
- How to Change Windows Vista Product Key
- Unhide the Administrator Account in Windows XP
66 Comments
Pages: « Previous 1 2





[...] after reboot. In this case, run RemoveWatermark and press “R” key to rebuild MUI cache. Or open command prompt as administrator, run mcbuilder.exe again, then restart [...]
[...] Open a command prompt as administrator. [...]
[...] Open a command prompt as administrator. [...]
That command line trick worked great! Thank you.
[...] Right click on the Cmd returned on the search results pane above, then select Run as Administrator. [...]
[...] Most of the licensing operating in Windows Vista can be done via graphical user interface. If you’re power user, you can access to all options, flags and settings of the slmgr.vbs command script. To run the script, logon with an user account with administrator rights, and open an elevated Command Prompt window. [...]
[...] It’s also possible to run ipconfig /flushdns in an elevated administrator privileged command prompt to force the [...]
Thanks a lot!
[...] an elevated command prompt by right clicking on Command Prompt on Start Menu and then select “Run as [...]
Thanks so much! This helped me free my files from my external hard drive after i reformatted. The files are now under my control again.
Thank you!
Excellent and without Bla, Bla, Bla unacessary!
thank You so much!
You don't require Admin-rights when using method 5 @ W7.
When I run as Admin then I clearly see "Administrator: Command Prompt". In that case it doesn't show, which means you're not running it as Admin.
[...] In Windows Vista and Windows Vista, MTU can be easily viewed, managed, configured, changed or set with the “netsh” command. To run the “netsh” command, user need so to open a Command Prompt window in administrative mode. [...]
Thank you for this writeup! I appreciate it. Clear, precise and to the point! Maore importantly, it worked! Thanks again.
Sincerely,
RoTimi W.
netsh interface tcp show global
[...] an administrator command prompt, and create a dummy directory. Execute “mkdir [...]