Running an Elevated Command Prompt

July 9th, 2009

The default User Account Control (UAC) settings in Windows Vista and Windows 7 prevent you from performing many task on the command line. Performing administrative tasks such as executing batch or script files that require administrative permissions will require you to use an Elevated Command Prompt, or a command prompt with elevated permissions that is run as administrator.

There are several methods for launching an elevated command prompt in Windows Vista or Windows 7. I’ll show you the two most common.

Method 1

Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

Click Yes to the UAC notification dialog and allow Windows Command Processor to run.

You can tell that you are running an elevated prompt by the presence of the word Administrator in the title bar of the command prompt.

Method 2

Click Start and type cmd.exe. When the Instant search results are shown, right-click the cmd entry and choose Run as administrator. You may also select the cmd entry in the Instant Search results using the up and down arrows and press Ctrl+Shift+Enter on the keyboard. The Ctrl+Shift+Enter hotkey combination runs a program elevated, but only works when using the Instant Search feature in the Windows Vista or Windows 7 Start menu.

Please use the trackback link when linking to this post.

Related Posts:

Add to Technorati Favorites

2 Responses to “Running an Elevated Command Prompt”

  1. Error "There is no script engine for file extension" in Windows 7 - Ask the Windows Guru for help with Windows Administration, Windows Scripting, WSH, VBScript, Tips and Tricks, and more! Says:

    […] Open a Command Prompt window. In Windows XP, click Start, Run…, and type cmd.exe. In Windows Vista and Windows 7, run an elevated Command Prompt. […]

  2. wallpapers Says:

    windows 7 is the greatest windows OS yet. your article was well written i look forward to reading more of your posts!

Leave a Reply

.htaccess Apache article articles by Nilpo ASP ASP Free automation clipboard desktop Dev Shed docx drive Internet Explorer Microsoft PHP registry remove script scripting text tutorial tweak tweets Twitter UAC updates User Account Control VBS VBScript vista volume Windows Windows 7 Windows 2000 Windows Guru Windows Script Windows Script Host Windows Scripting Windows Vista Windows XP Word WScript wscript.exe WSH XP