Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Elevated Command Prompt Shortcut

 

Elevated Command Prompt Shortcut

How to Create a Elevated Command Prompt Shortcut in Windows 7
Published by Brink
02-09-2009
Default Elevated Command Prompt Shortcut

How to Create a "Elevated Command Prompt" Shortcut in Windows 7

information   Information
This will show you how to create a shortcut that will open a elevated command prompt that with administrator rights in Windows 7.
Note   Note
When you use the Elevated Command Prompt shortcut, you may be prompted to click on Yes or enter the administrator account's password depending on your UAC settings.
warning   Warning
You must be logged in as an administrator to be able to use this shortcut.

EXAMPLE: Elevated Command Prompt
NOTE: Notice how the elevated command prompt opens to C:\Windows\System32 and not C:\Users\(user name) as the default command prompt without administrator rights.
Elevated Command Prompt Shortcut-elevated_command_prompt.jpg




OPTION ONE

To Download a "Elevated Command Prompt" Shortcut
1. Click on the Download button below to download the file below.
Elevated_Command_Prompt.zip
download
2. Click on Save and save it to the desktop.

3. Right click on the zip file and click on Open.

4. Extract (drag and drop) the Elevated Command Prompt shortcut to the desktop.

5. Right click on the Elevated Command Prompt shortcut and click on Properties.

6. Under the General tab, click on the Unblock button and on OK. (See screenshot below)
NOTE: If there is not a Unblock button there, then the shortcut is already unblocked. Continue on to step 7.
Elevated Command Prompt Shortcut-unblock.jpg
7. You can now Pin to Taskbar or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.

8. When done, you can delete the zip file if you wanted to.



OPTION TWO

To Manually Create a "Elevated Command Prompt" Shortcut
1. Right click on a empty space on the desktop and click on New and Shortcut. (See screenshot below)
Elevated Command Prompt Shortcut-right_click.jpg
2. Type in the location C:\Windows\System32\cmd.exe and click on the Next button. (See screenshot below)
Elevated Command Prompt Shortcut-step1.jpg
3. Type in the name Elevated Command Prompt and click on the Finish button. (See screenshot below)
NOTE: You can type in any name that you would like to use for the shortcut though.
Elevated Command Prompt Shortcut-step2.jpg
4. Right click on the new Elevated Command Prompt shortcut on the desktop and click on Properties.

5. Under the Shortcut tab, click on the Advanced button. (See screenshot below).
Elevated Command Prompt Shortcut-properties.jpg
6. Check the Run as administrator box and click on OK. (See screenshot below)
Elevated Command Prompt Shortcut-advanced.jpg
7. Click on OK. (See screenshot below step 5)

8. You can now Pin to Taskbar or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.
That's it,
Shawn






Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 37,303

Tutorial Tools
11-14-2009   #1
goyta


Windows 7 Home Premium x64 SP1
 
 


There is an easier way: I copied cmd.exe to the same folder (System32) as cmd2.exe. In the "Compatibility" tab, I set it to run as Administrator for all users. Then I created a desktop shortcut for it and that was all.

My System SpecsSystem Spec
11-14-2009   #2
Brink


Windows 7 Ultimate x64 SP1
 
 


Hello Goyta,

I'm not sure if that would be easier or not. Plus, that file would not be updated by Windows Update if one became available for it. I'm happy that it works for you though.
My System SpecsSystem Spec
11-14-2009   #3
goyta


Windows 7 Home Premium x64 SP1
 
 


Quote   Quote: Originally Posted by Brink View Post
Hello Goyta,

I'm not sure if that would be easier or not. Plus, that file would not be updated by Windows Update if one became available for it. I'm happy that it works for you though.

It was just the idea that occurred to me at the time, and it certainly works. But you are right about the Windows Update issue, and I will resort to the method suggested here. Thanks for posting it!
My System SpecsSystem Spec
.


11-14-2009   #4
Brink


Windows 7 Ultimate x64 SP1
 
 


You're most welcome Goyta.
My System SpecsSystem Spec
05-28-2010   #5
Nelly


Windows 7 Home Premium
 
 


Hello All,
I tried this and it worked but now it gives the message "Access is denied"
A little help needed please.
Nelly
My System SpecsSystem Spec
05-28-2010   #6
Brink


Windows 7 Ultimate x64 SP1
 
 


Hello Nelly,

Are you logged in as an administrator when using this shortcut?
My System SpecsSystem Spec
05-28-2010   #7
Nelly


Windows 7 Home Premium
 
 


Hello Brink,
Yes I believe so. I checked my user account and it has "Administrator" underneath my user name.
Thanks for the quick reply.
My System SpecsSystem Spec
05-28-2010   #8
Brink


Windows 7 Ultimate x64 SP1
 
 


What is giving you a "access denied" message? For example, when you open the shortcut, or after typing some command and pressing enter.

If it's when you open the shortcut, what happens when you right click on a normal command prompt shortcut and click on "Run as administrator"?

If it's a command, then what is it and what are you trying to do?
My System SpecsSystem Spec
05-28-2010   #9
Nelly


Windows 7 Home Premium
 
 


I receive the message when I type a command using the Elevated Command Prompt shortcut.
I added the Elevated Command Prompt shortcut using the tutorial.
Any command I type e.g. ipconfig, defrag, etc produces the message "access denied"
My System SpecsSystem Spec
Comment

 Elevated Command Prompt Shortcut problems?



Tutorial Tools



Similar Threads for: Elevated Command Prompt Shortcut
Windows 7 Tutorial Category
Tip for Elevated Command Prompt General Discussion
Running an elevated command prompt (from the Recovery DVD) General Discussion
Elevated Command Prompt Tutorials
How to open Elevated Command Prompt? Performance & Maintenance
elevated command prompt fails General Discussion


All times are GMT -5. The time now is 02:34 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30