 | | 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
| Elevated Command Prompt Shortcut How to Create a "Elevated Command Prompt" Shortcut in Windows 7  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 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 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.  OPTION ONE To Download the "Elevated Command Prompt" Shortcut 1. Click on the Download button below to download the file below.Elevated_Command_Prompt.zip  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. 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 the "Elevated Command Prompt" Shortcut 1. Right click on a empty space on the desktop and click on New and Shortcut. (See screenshot below) 2. Type in the location C:\Windows\System32\cmd.exe and click on the Next button. (See screenshot below) 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. 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). 6. Check the Run as administrator box and click on OK. (See screenshot below) 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 | | Administrator Join Date: Oct 2008 Location: Texas Posts: 34,657 | |
 Tutorial Tools | | | | | | | | | |
11-14-2009
|
#1 | | Windows 7 Home Premium 64-bit |
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 Specs | | System Manufacturer/Model Number self-built OS Windows 7 Home Premium 64-bit CPU AMD Phenom II X6 1090T @stock speed (3.2 GHz) Motherboard MSI 890GXM-G65 Memory 8 GB DDR3-1333 (4 x 2 GB Kingston ValueRAM) Graphics Card Sapphire Radeon HD6850 Sound Card on-board Realtek ALC889 Monitor(s) Displays Samsung SyncMaster T200M, 20" widescreen LCD Screen Resolution 1680 x 1050 Keyboard Microsoft Wireless Desktop 3000 Mouse Microsoft Wireless Desktop 3000 with BlueTrack PSU XFX 750W Black Edition Case Cooler Master CM 690 Cooling several fans, Akasa Nero 2 for CPU Hard Drives 1 Western Digital Caviar Black WD-1002FAEX (1 TB, SATA III, 7200 rpm),
1 Seagate ST31000528AS (1 TB, SATA II, 7200 rpm) Internet Speed 6 Mbps cable (nominal, of course usually less...) |
11-14-2009
|
#2 | | 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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
11-14-2009
|
#3 | | Windows 7 Home Premium 64-bit |

Quote: Originally Posted by Brink 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 Specs | | System Manufacturer/Model Number self-built OS Windows 7 Home Premium 64-bit CPU AMD Phenom II X6 1090T @stock speed (3.2 GHz) Motherboard MSI 890GXM-G65 Memory 8 GB DDR3-1333 (4 x 2 GB Kingston ValueRAM) Graphics Card Sapphire Radeon HD6850 Sound Card on-board Realtek ALC889 Monitor(s) Displays Samsung SyncMaster T200M, 20" widescreen LCD Screen Resolution 1680 x 1050 Keyboard Microsoft Wireless Desktop 3000 Mouse Microsoft Wireless Desktop 3000 with BlueTrack PSU XFX 750W Black Edition Case Cooler Master CM 690 Cooling several fans, Akasa Nero 2 for CPU Hard Drives 1 Western Digital Caviar Black WD-1002FAEX (1 TB, SATA III, 7200 rpm),
1 Seagate ST31000528AS (1 TB, SATA II, 7200 rpm) Internet Speed 6 Mbps cable (nominal, of course usually less...) |
11-14-2009
|
#4 | | Windows 7 Ultimate x64 SP1 |
You're most welcome Goyta. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2010
|
#5 | | |
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 Specs | | OS Windows 7 Home Premium |
05-28-2010
|
#6 | | Windows 7 Ultimate x64 SP1 |
Hello Nelly,
Are you logged in as an administrator when using this shortcut? | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2010
|
#7 | | |
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 Specs | | OS Windows 7 Home Premium |
05-28-2010
|
#8 | | 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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2010
|
#9 | | |
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 Specs | | OS Windows 7 Home Premium Elevated Command Prompt Shortcut problems? All times are GMT -5. The time now is 11:46 AM. |  |