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

31 Mar 2013   #30

64-bit Windows 10 Pro

You're welcome Marc. I'm glad it was able to help. :)

My System SpecsSystem Spec
04 Dec 2013   #31

Windows 7 Pro 64bit

Mine does not work....

My user account is set to admin and I right clicked on the shortcut in the start menu and set it to open as admin.

When I type cmd in run it still goes to users/account, however the window at the top of the page is titled Administrator: C:\windows\system32\cmd.exe Is this correct?
My System SpecsSystem Spec
04 Dec 2013   #32

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1

Yes, as long as you see system32 whether it is in the command line or the title bar it is an elevated command.

Right clicking on context menu in start menu:
Elevated Command Prompt Shortcut-cmd1.jpg

Running cmd in Run:
Elevated Command Prompt Shortcut-cmd2.jpg

My System SpecsSystem Spec
16 Feb 2014   #33

Windows 7 Pro 64bit

When I use the methods in the tutorial, UAC pops up. However, if I uncheck "Run as administrator" it does not-and still gives me an elevated command prompt (I'm not sure why). I also found that I can go to Start & type in cmd, and when it comes up, right click -> drag to desktop and select "create shortcut"--it also gives an elevated command prompt without further modification. Thought this may help someone. Thanks for all of the great tutorials on this site!
My System SpecsSystem Spec

17 Feb 2014   #34

64-bit Windows 10 Pro

Hello Electroman,

What type of account is this in?

As a test, type diskpart in the command prompt and press Enter to see if the command prompt is truly running elevated or not. If not, then you will either be prompted by UAC, or get an "Access denied" message.
My System SpecsSystem Spec
24 Feb 2014   #35

Windows 7 Pro 64bit

Hello Brink,

I did as you suggested and I do get a UAC prompt. Does this indicate that I don't have a true elevated command prompt? I am in an Administrator account. The shortcut opens at C:\Windows\System32>. Thanks!
My System SpecsSystem Spec
24 Feb 2014   #36

64-bit Windows 10 Pro

Hello Electroman,

It sure does. :)
My System SpecsSystem Spec
24 Feb 2014   #37

Windows 7 Pro 64bit

Thanks Brink! It makes more sense now :)
My System SpecsSystem Spec
24 Feb 2014   #38
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

I always pin cmd to the taskbar. From there I have my own quick method:

Elevated Command Prompt Shortcut-2014-02-24_2141.png

Elevated Command Prompt Shortcut-2014-02-24_2143.png

Elevated Command Prompt Shortcut-2014-02-24_2145.png

Then the Advanced button and check the little box followed by OK > Apply > OK.

My System SpecsSystem Spec
14 Apr 2014   #39

XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)

Thank you Brink for another excellent tutorial. :)

You must be logged in as an administrator to be able to use this shortcut.
As the 's advocate ...
With an elevated cmd-prompt shortcut , ie "Run as Administrator" ... why would I need to be logged in as Admin to use the shortcut. ?

Without having experimented with an elevated shortcut, what is the point of an elevated shortcut if it can only be used when logged in as administrator.
If logged in as admin, wouldn't opening the cmd.exe default to Administrator.

I would like to open an elevated cmd-prompt from my user account using the elevated shortcut.

Sorry to be difficult ... I am not questioning the human logic ... but the OS/security logic.

Toshiba Satellite C665
OS:= Windows 7 Home Premium (32-bit), sp1 (Build 7601) OEM
UI:=Classic Shell Start + Classic Explorer
Windows Indexing = disabled
Security settings for C:\
System ... (full control:=ON)
Administrators (Owner-PC\Administrators) ... (full control:=OFF)
Users (Owner-PC\Users) ... (full control:=OFF)

My System SpecsSystem Spec

 Elevated Command Prompt Shortcut

Thread Tools

Similar help and support threads
Thread Forum
Elevated Command Prompt
How to Open an Elevated Command Prompt in Windows 7 This will show you how to open an elevated command prompt with administrator rights (Run as administrator) instead of the default command prompt without administrator rights in Windows 7. If you opened the elevated command prompt from a...
Elevated command prompt over SSH
Not sure if this is the proper forum for my question, but here it goes. I'm using a SSH server to remotely access my notebook from work. It works well for SFTP and remote command line access using a dedicated, non-admin, user account. Problem is when I want to run something that requires...
Network & Sharing
Tip for Elevated Command Prompt
This probably is not new to many, but I find it useful. There are times I want an elevated command prompt. I usually type in "cmd", right click on it and run as administrator. If you need an elevated command prompt now and then, simply create a shortcut to "cmd". Right click on the shortcut,...
General Discussion
How to open Elevated Command Prompt?
Hi friends ! Uber Philf told me to start a new thread with my problem. I cannot open an Elevated Command Prompt, Dont know why. I know that I can open it in two alternative ways : 1). Win+R, type cmd, hit enter eith ctrl+shift pressed ; and 2). start > all programs > accessories > command prompt >...
Performance & Maintenance
elevated command prompt fails
If i try and use cmd from within the start menu ,in accessories and right click ,then "Run as administrator",all i am granted is normal cmd usage e.g(C:\Users\(User Name ).Now,i then pinned cmd to the start menu and again i tried to "run as administrator",but this time cmd fails to open at all. ...
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 02:43.
Twitter Facebook Google+