Skip to main content

Restore Command Prompt Menu in Windows 10

2 Restore Command Prompt Menu in Windows 10

Microsoft has hidden the command line in the Power User menu (Windows key + X), File Explorer and the Windows 10 extended context menu (Shift + right click). How to return the option to run the Windows 10 command prompt "Open Command Window Here" from the Windows 10 context menu by right-clicking.

Add "Open Command Window Here" to the Windows 10 folder's context menu

Step 1: To open the Windows 10 Command Prompt here, first press Windows and + R on the keyboard to open Run. Type regedit and press Enter to open the keyboard.

Step 2: Go to the following path: HKEY_CLASSES_ROOT \ folder \ shell \ cmd

Step 3: Right-click the cmd button. Navigate to and click Permissions.

Step 4: Click Advanced.

Step 5: Click the Change link.

Step 6: Enter your username and click "Confirm Names" to confirm. Click OK when done.

Step 7: Check the box "Replace owner for subcontainers and objects". Click Apply and then OK.

Step 8: Select the administrator account in the "Cmd Permissions" window. Select Enable for full control. Click Apply and then OK.

Step 9: In the cmd button (right pane), right-click HideBasedOnVelocityId, then click Rename.

Step 10: Rename DWORD from HideBasedOnVelocityId to ShowBasedOnVelocityId and then hit Enter.

Adding "Open a command window here" option to the background context menu

Here are some steps you need to take:

Step 1: Press Windows + R at the same time to open Run. Type Regedit and press Enter on the keyboard to open the registry.

Step 2: Go to the following path: HKEY_CLASSES_ROOT \ library \ background \ shell \ cmd

Step 3: Right-click cmd, and then click Permissions.

Step 4: Click on Advanced.

Step 5: Click the Change link at the top of the Owner Settings window.

Step 6: Enter your user account name and click "Verify Names" to confirm it. Click OK when you're done.

Step 7: Select the option "Replace owner for subcontainers and objects". Click Apply and then OK.

Step 8: Select the administrator user in the Permissions window. Select Enable Full Control, click Apply, and then click OK.

Step 9: In the cmd button (right panel), right-click DWORD HideBasedOnVelocityId and then click Rename.

Step 10: Change the DWORD name from HideBasedOnVelocityId to ShowBasedOnVelocityId and press Enter on your keyboard.

That's all there is to adding an open Windows 10 command prompt. Press Shift and right-click anywhere in the Windows background to get the "Open Command Box Here" option.

Comments