Advanced users of Windows always need to access Command Prompt shell with full administrator rights and elevated privileges to perform various administrative tasks such as Windows activation, running CHKDSK, running System File Checker, rearm or reset Windows trial period, changing product key and performing other operations and commands that run much faster through command line than accessing the commands through menus and tabbed dialog boxes. Since Windows Vista, User Access Control (UAC) adds a layer of annoying hassle, as it will prompt for confirmation every time you want to change personalization, customize the computer or perform administrative tasks. To make matter worse, if you forget to open Command Prompt with “Run as Administrator” option, you will need to reopen if you don’t have enough privileges at current Command Prompt window.

The following guide will create a shortcut that opens Command Prompt as Administrator, equivalent to right click on Command Prompt and select “Run as Administrator to gain full administrator access tokens and credentials. Useful if you don’t want to turn off UAC but always need to run commands in elevated Command Prompt. You can double-click or tap on the Administrator’s Command Prompt shortcut directly to open an elevated Command Prompt, just like you would for any other apps. The shortcut can be placed on anywhere, including Desktop, Start Menu, Taskbar, Start Screen, any folders and etc.

  1. Right-click on Windows desktop.
  2. On the right click context menu, choose New, and then select Shortcut.
  3. When the “Create Shortcut” dialog box appears, type in Cmd into the text box, and then click Next.
  4. Type a name for the shortcut (typically Command Prompt or Command Processor) on the next screen, and then press Finish.
  5. Right-click on the new shortcut created.
  6. On the right click pop-up contextual menu, select Properties.
  7. Click on the Shortcut tab.
  8. Click on the Advanced button to open Advanced Properties dialog box.
  9. Tick or check (select) the Run as administrator option so that the command prompt will be launched with administrator privileges by default, and then click OK.
  10. Click OK again to finish.

Run as Administrator by Default

Alternatively, you can pin a Cmd.exe command to Start Menu or Taskbar and configured it to run as administrator:

  1. Click on Start button.
  2. Type Cmd into the Search box.
  3. You will see search result with a list consisting of just one entry, that is the shortcut to the Windows Command Processor, Command Prompt or Cmd.
  4. Right-click the Command Prompt or Cmd in the search listing.
  5. On the pop-up context menu, choose Pin to Start Menu or Pin to Start. If you prefer to pin to Taskbar, choose Pin to Taskbar.
  6. Click on Start button again.
  7. Right-click the Command Prompt shortcut just added to the Start menu and choose Properties.
  8. Click the Advanced button to open Advanced Properties dialog box.
  9. Click (tick) to select the Run as administrator checkbox so that elevated command prompt is run as administrator by default, and then click OK.
  10. Click OK to save the changes.

From Windows 8, Windows 8.1, Windows 10 or later, you can just open the Power Users menu, and select Command Prompt (Admin) to open an elevated Command Prompt with full access tokens.