Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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 an Elevated Command Prompt Shortcut in Windows 7 and Windows 8
Published by Brink
09 Feb 2009
Published by

How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8

information   Information
This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8.

Note   Note
When you use the elevated command prompt shortcut, you may be prompted to click/tap on Yes or enter the administrator account's password depending on your UAC settings in Windows 7 or Windows 8.

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.
Name:  Elevated_Command_Prompt.jpg
Views: 39761
Size:  30.5 KB




OPTION ONE
To Download an "Elevated Command Prompt" Shortcut
1. Click/tap on the Download button below to download the file below.
Elevated_Command_Prompt.zip
download
2. Save the ZIP file to your desktop.

3. Open the zip file, and extract (drag and drop) the Elevated Command Prompt shortcut to your desktop.

4. Unblock the Elevated Command Prompt shortcut.
NOTE: If there is not a Unblock button there, then the shortcut is already unblocked. Continue on to step 7.

5. In Windows 7, you can now Pin to Taskbar or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

6. In Windows 8 and 8.1, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

7. When finished, you can delete the downloaded zip file if you like.




OPTION TWO
To Manually Create an "Elevated Command Prompt" Shortcut
1. Right click or press and hold on an empty space on your desktop, and click/tap on New and Shortcut.

2. Copy and paste the location below into the location area, and click/tap on Next. (see screenshot below)
%windir%\System32\cmd.exe


Name:  Step1.jpg
Views: 39858
Size:  102.6 KB

3. Type in the name Elevated Command Prompt, and click/tap on Finish. (see screenshot below)
NOTE: You can type in any name that you would like to use for the shortcut though.
Name:  Step2.jpg
Views: 39344
Size:  82.0 KB
4. Right click or press and hold on the Elevated Command Prompt shortcut, and click/tap on Properties.

5. Click/tap on the Shortcut tab, and click/tap on the Advanced button. (see screenshot below).
Name:  Properties.jpg
Views: 39334
Size:  107.8 KB
6. Check the Run as administrator box, and click/tap on OK. (See screenshot below)
Name:  Advanced.jpg
Views: 39668
Size:  62.9 KB
7. Click/tap on OK. (see screenshot below step 5)

8. In Windows 7, you can now Pin to Taskbar or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

9. In Windows 8 and 8.1, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.
That's it,
Shawn



.

14 Nov 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
.

14 Nov 2009   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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




Tutorial Tools



Similar help and support threads for2: Elevated Command Prompt Shortcut
Windows 7 Tutorial Category
Elevated Command Prompt Tutorials
Elevated command prompt over SSH Network & Sharing
Tip for Elevated Command Prompt General Discussion
Running an elevated command prompt (from the Recovery DVD) General Discussion
Solved Add elevated command prompt to context menu Customization
How to open Elevated Command Prompt? Performance & Maintenance
elevated command prompt fails General Discussion

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 05:08 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33