Elevated Command Prompt Shortcut

Page 1 of 5 123 ... LastLast
    Elevated Command Prompt Shortcut

    Elevated Command Prompt Shortcut

    How to Create an Elevated Command Prompt Shortcut in Windows 7 and Windows 8
    Published by
    Designer Media Ltd


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

       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
    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
    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 an "Elevated Command Prompt" Shortcut


    1. Click/tap on the Download button below to download the file below.
    Elevated_Command_Prompt.zip
    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 either location below into the location area, and click/tap on Next. (see screenshot below)

    %ComSpec%

    OR

    %windir%\System32\cmd.exe


    Elevated Command Prompt Shortcut-step1.jpg
    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.
    Elevated Command Prompt Shortcut-step2.jpg
    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).
    Elevated Command Prompt Shortcut-properties.jpg
    6. Check the Run as administrator box, and click/tap on OK. (See screenshot below)
    Elevated Command Prompt Shortcut-advanced.jpg
    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






  1. Posts : 32
    Windows 8.1 Pro Update 1 x64
       #1

    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 Computer


  2. Posts : 70,931
    64-bit Windows 10 Pro
    Thread Starter
       #2

    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 Computer


  3. Posts : 32
    Windows 8.1 Pro Update 1 x64
       #3

    Brink said:
    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 Computer


  4. Posts : 70,931
    64-bit Windows 10 Pro
    Thread Starter
       #4

    You're most welcome Goyta. :)
      My Computer


  5. Posts : 40
    Windows 7 Home Premium
       #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 Computer


  6. Posts : 70,931
    64-bit Windows 10 Pro
    Thread Starter
       #6

    Hello Nelly,

    Are you logged in as an administrator when using this shortcut?
      My Computer


  7. Posts : 40
    Windows 7 Home Premium
       #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 Computer


  8. Posts : 70,931
    64-bit Windows 10 Pro
    Thread Starter
       #8

    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 Computer


  9. Posts : 40
    Windows 7 Home Premium
       #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 Computer


 
Page 1 of 5 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 22:53.
Find Us