"Command Prompt with Administrator shortcut"

Published: Mon 23 January 2017

In content.

Command Prompt with Administrator privileges shortcut

This quickstart shows you how to create a command prompt (cmd) with administrator privileges shortcut in your desktop.

To create a shortcut, on your desktop, right click then, select new. It show expand to another view with bunch of options. Select Shortcut.

You will get a window asking you to locate the file. Here, you'd need to locate Windows Powershell . Below table is the location of Windows Powershell for 32bit & 64bit.

Powershell Executables File System Locations on 64-bit Windows

Name Location
32-bit (x86) PowerShell executable %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
64-bit (x64) Powershell executable %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Powershell Executables File System Locations on 32-bit Windows

Name Location
32-bit (x86) PowerShell executable %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

You can navigate to the directories mentioned above by copy pasting the location on windows file explorer.

Once you have copy pasted the location of the file in the box, click Next . It will ask you to insert a name for the shortcut you're about to create. Give it a name. You will see newly created shortcut in your desktop. Now, right click on the shortcut you have created earlier and select Properties.

You will get a windows with bunch of tabs such as General, Shortcut etc. In Shortcut, you will see Target. In Target box, after the powershell.exe paste following code -Command "Start-Process cmd -Verb RunAs"

It should look like this: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "Start-Process cmd -Verb RunAs"

Click on Apply and OK . You're done. When you double click on the shortcut , you will get Command Prompt with Administrator Privileges.

social