How to Disable Run Command in Windows 10

Here’s how to disable the Run Command Box in Windows 10:

Open local group policy editor.

Navigate to the User Configuration > Administrative Templates > Start Menu and Taskbar.

Then double-click the “Remove Run menu from Start Menu” in the right pane.

Select Enabled.

Hit the OK button.

That’s all.

Note: In order to enable Run, follow the steps above but select Not Configured or Disabled.

Alternate Method

Open Registry Editor. I suggest a Registry backup before continuing.

Go to HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Policies > Explorer.

Right-click on the blank space in the right pane.

Select New > DWORD (32-bit) Value.

Enter NoRun as a name and then press the Enter key.

Double-click it and enter 1 in the Value data field.

Hit the OK button.

Restart the File Explorer.

That’s it.

When you access Run from now on, you’ll see this message:

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

Note: Run can be enabled by replacing 1 with 0 or by deleting the DWORD you created above. Make sure to restart the File Explorer.

Read: