Running an Elevated Command Prompt
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.





























July 9th, 2009 at 7:57 pm
[…] 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. […]
September 16th, 2009 at 4:59 pm
windows 7 is the greatest windows OS yet. your article was well written i look forward to reading more of your posts!
January 24th, 2013 at 12:26 am
I actually wanted to discuss this specific blog,
“Running an Elevated Command Prompt in Windows Vista or Windows 7 in
Windows 7 - Ask the Windows Guru for help with Windows Administration, Windows Scripting, WSH, VBScript, Tips and Tricks, and
more!” along with my personal friends on facebook
.com. I reallysimply just wished to distributed ur terrific
writing! With thanks, Jimmy
February 13th, 2013 at 6:53 pm
I’m curious to find out what blog platform you are using? I’m having some small security issues with my latest site
and I would like to find something more safeguarded.
Do you have any solutions?