Windows 7 Forums


Windows 7: Elevated Command Prompt Shortcut


Elevated Command Prompt Shortcut

How to Create a Elevated Command Prompt Shortcut in Windows 7
Published 09 Feb 2009
Published by

Applies to:
7

Featured Tutorial

Search - Find More with Filters and Operators
Search - Find More with Filters and Operators

How to Use Windows Search Filters and Operators to get better Search Results in Windows 7

Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

Troubleshooting Steps for Windows 7
Troubleshooting Steps for Windows 7



Microsoft Account Display Name - Change
Microsoft Account Display Name - Change

How to Change your Microsoft Account Display Name

Restore Point - Add "Create Restore Point" to Context Menu in Windows
Restore Point - Add "Create Restore Point" to Context Menu in Windows

How to Add "Create Restore Point" to Context Menu in XP, Vista, Windows 7, and Windows 8

Clean Reinstall - Factory OEM Windows 7
Clean Reinstall - Factory OEM Windows 7

How to Clean Reinstall a Factory OEM Windows 7
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









Need more help? Try searching our extensive help and support site.
Loading
14 Nov 2009   #1
goyta

Windows 7 Home Premium x64 SP1
São Paulo, Brazil
 
 

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

14 Nov 2009   #2
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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
14 Nov 2009   #3
goyta

Windows 7 Home Premium x64 SP1
São Paulo, Brazil
 
 

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
.


14 Nov 2009   #4
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

You're most welcome Goyta.
My System SpecsSystem Spec
28 May 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
28 May 2010   #6
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello Nelly,

Are you logged in as an administrator when using this shortcut?
My System SpecsSystem Spec
28 May 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
28 May 2010   #8
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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
28 May 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 help and support threads for: Elevated Command Prompt Shortcut
Windows 7 Tutorial Category
Elevated Command Prompt Tutorials
Tip for Elevated Command Prompt General Discussion
Crash trying to launch elevated command prompt BSOD Help and Support
How to open Elevated Command Prompt? Performance & Maintenance
elevated command prompt fails General Discussion


All times are GMT -5. The time now is 09:04 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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 31 32