Published by


Brink's Avatar
Administrator

Posts: 17,490

Show Printable Version 


How to Add 'Open command window here as administrator' context menu in Windows 10

information   Information
A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface.

This tutorial will show you how to add or remove a Open command window here as administrator context menu for all users in Windows 10.

This context menu will open an elevated command prompt using the same working directory that you right clicked on.

Note   Note
You must be signed in as an administrator to add, remove, and use the "Open command window here as administrator" context menu.

The "Open command window here as administrator" context menu will be available when you right click or shift + right click on a folder or drive, and when you right click or shift + right click on the background of a folder, drive, library, or desktop.


EXAMPLE: "Open command window here as administrator" context menu
Click image for larger version. 

Name:	Open_CMD_here_as_admin_context_menu.jpg 
Views:	174 
Size:	122.0 KB 
ID:	95366



Here's How:

1. Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.


 2. To Add Right Click "Open command window here as administrator" Context Menu

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Add_Open_command_window_here_as_administrator.reg

download


 3. To Add Shift + Right Click "Open command window here as administrator" Context Menu

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Add_Shift+Open_command_window_here_as_administrator.reg

download


 4. To Remove "Open command window here as administrator" Context Menu

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Remove_Open_command_window_here_as_Administrator.reg

download

5. Save the .reg file to your desktop.

6. Double click/tap on the downloaded .reg file to merge it.

7. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

8. You can now delete the downloaded .reg file if you like.




That's it,
Shawn