If you need any help or got stuck, comment below and I will try to help as much as possible. It is that simple to add Command Prompt option to the right-click context menu in Windows 10. If you ever want to remove the “Open Command Prompt window here” option, simply rename the key from “ShowBasedOnVelocityId” to “HideBasedOnVelocityId”. If you don’t see the option after making the registry changes, reboot the system and you should be good. With this, you no longer have to use the cd command. Click on the option and the Command Prompt will open in that folder. From now on, Shift + Right-click inside any folder and you should see the new “Open Command Prompt window here” option in the context menu. Rename the key from “HideBasedOnVelocityId” to “ShowBasedOnVelocityId”. Next, right-click on the “HideBasedOnVelocityId” value on the right panel and select “Rename”.ġ1. In the registry editor, select the “cmd” folder on the left panel. Click on the “Apply” and “Ok” buttons to save changes.ġ0. Now, find the “Administrator” from the “Groups or Usernames” list and select it. In the Advanced Security Settings window, select the “Replace owner on subcontainers and objects” and click on the “Apply” and “Ok” buttons to save changes.ĩ.
Now, click on the “Ok” button to save changes.Ĩ. This action will automatically find the user for you. Here, enter “administrators” in the blank field and click on the “Check names” button.ħ. In the Advanced Security Settings window, click on the “Change” link appearing at the top.Ħ. In the permissions window, click on the “Advanced” tab.ĥ. As I said, the folder is protected with special permissions. So, right-click on the “cmd” folder and select “Permissions” option.Ĥ. However, the “cmd” folder is protected and you need special permissions to modify. HKEY_CLASSES_ROOT\Directory\Background\shell\cmdģ. In the registry editor, copy and paste the below path in the address bar and press Enter. Here is a very cool tip that go through the steps on how to create a shortcut on desktop that opens Command Prompt as Administrator window without the UAC window.2. Lastly, if you are annoyed this UAC pop-up every time you open a Command Prompt window with local admin privilege, You can make it easier by adding it to the Quick Access bar so next time you don’t need to open File menu but click the little icon in the Quick Access bar instead. Open File Explorer, navigate to the folder you want to be in when Command Prompt window opens, and click File and choose Open command prompt as administrator. You can open Command Prompt as Administrator to any folder as well from File Explorer, just like it in Windows 8. Once pinned, you can also modify the Advanced Properties (Shift-right-click / Properties / Advanced) and always Run as administrator, so a single left-click is all that’s required. If you want the pinned icon always opened with admin right, here is a nice tip shared by our dear reader, Glenn1963: Once Pinned, you can right-click the icon, right-click again on Command Prompt that pops up, then choose Run as administrator. You can also Pin the Command Prompt on to Taskbar. Type Cmd in Cortana search box, right-click Command Prompt that pops up and choose Run as administrator.įrom the screenshot above, you can right-click Command Prompt and choose to Pin to Start.Īnd once it’s Pinned, you can right-click it in Start and choose Run as administrator. Clicking on it will open the Command Prompt window with local admin privilege for you.īut wait, before you see Command Prompt (Admin) listed there, you need to turn off the option “ Replace Command Prompt with Windows PowerShell…” in Taskbar and Start Menu Properties because Windows PowerShell is the default option in Win+X menu. Press Win + X or right-click on Start Menu, a power menu pops up from the Start Menu with a list of mostly used admin tools.
Now let’s see how many ways to do the same on Windows 10. We’ve covered the number of ways to open a Command Prompt as Administrator on Windows 8.1. And those special command lines that requires admin privilege need a Command Prompt window that runs as local administrator. There are many situations where you need to use the command lines instead of the GUI apps and many of the command lines require the admin privilege in order to complete the mission.