Create Elevated Command Prompt Shortcut in Windows 10  

    Create Elevated Command Prompt Shortcut in Windows 10

    Create Elevated Command Prompt Shortcut in Windows 10

    How to Create an Elevated Command Prompt Shortcut in Windows 10
    Published by Category: Customization
    10 Apr 2021
    Designer Media Ltd

    How to Create an Elevated Command Prompt Shortcut in Windows 10


    A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require administrator rights on your computer without using the Windows graphical interface.

    This tutorial will show you how to create an elevated command prompt shortcut in Windows 10.

    You must be signed in as an administrator to use this shortcut.


    EXAMPLE: Elevated command prompt
    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt.png



    Here's How:

    1 Right click or press and hold on an empty area on your desktop, and click/tap on New and Shortcut.

    2 Copy and paste either command below into the location area, and click/tap on Next. (see screenshot below)

    %ComSpec% /k

    OR

    %windir%\System32\cmd.exe /k

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-1.png

    3 Enter a name (ex: "Elevated Command Prompt") you want for the shortcut, and click/tap on the Finish button. (see screenshot below)

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-2.png

    4 Right click or press and hold on the new shortcut, and click/tap on Properties.

    5 Click/tap on the Shortcut tab, then click/tap on the Advanced button. (see screenshot below)

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-3.png

    6 Check the Run as administrator box, and click/tap on OK. (see screenshot below)

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-4.png

    7 Click/tap on the Change Icon button. (see screenshot below)

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-5.png

    8 In the line under "Look for icons in this file", copy and paste the location below, and press Enter. (see screenshot below)

    %SystemRoot%\System32\imageres.dll

    Create Elevated Command Prompt Shortcut in Windows 10-elevated_command_prompt_shortcut-6.png

    9 Select the icon highlighted in blue above, and click/tap on OK. (see screenshot above)
    NOTE: You could use any icon that you would like instead though.

    10 Click/tap on OK. (see screenshot below step 7)

    11 If you like, you can Pin to Taskbar, Pin to Start, add to All apps, add to Quick Launch, assign a keyboard shortcut to, or move this shortcut to where you like for easy use.


    That's it,
    Shawn






  1. Posts : 419
    Win 7 Pro/32, Win 10 Pro/64/32
       #1

    That works equally well in Windows 11/Pro too.
    Thank you!
    TM
      My Computer


  2. Posts : 75
    Windows 10 Home 64-bit 22H2 19045.3031
       #2

    Also works like this this, pinned to the taskbar.



    Don't forget this bit.

      My Computer


 

Tutorial Categories

Create Elevated Command Prompt Shortcut in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:12.
Find Us




Windows 10 Forums