Computer >> Computer tutorials >  >> System >> windows

Enable or disable Run Command (Win+R) box in Windows 11/10

This post will show you how to enable or disable Run Command (Win+R) box in Windows 11/10. Using Run Command or Run menu, we are able to directly open applications (like launch Registry Editor, open About Windows, Notepad, etc.). If for some reason, you want to disable it, then this post shows you how to do it.

Enable or disable Run Command (Win+R) box in Windows 11/10

When the Run Command box is disabled, you won’t able to open it using the hotkey or Search box, and you will see an error:

This operation has been cancelled due to restrictions in effect on this computer.

Disable Run Command in Windows 11/10

You can enable or disable the Run menu with two built-in features of Windows 11/10. These are:

  1. Using Group Policy Editor
  2. Using Registry Editor.

1] Using Group Policy Editor

This feature is available in Enterprise and Pro editions of Windows 1/10. Those using Home edition either need to add Group Policy to Windows 10 Home edition or use the second option.

At first, launch GPEDIT or Group Policy Editor.

Access Start Menu and Taskbar folder. The path is:

User Configuration > Administrative Templates > Start Menu and Taskbar

Enable or disable Run Command (Win+R) box in Windows 11/10

On the right-hand section, double-click on the Remove Run menu from Start Menu.

When a new window is opened, select Enabled, and press OK button. Now use Win+R hotkey or try to launch Run Command using the Search box, it won’t open.

Enable or disable Run Command (Win+R) box in Windows 11/10

To enable Run Command Box again, follow the above steps, select Not Configured in the last step, and save it.

2] Using Registry Editor

  1. Open Registry Editor
  2. Access Explorer key
  3. Create NoRun DWORD Value
  4. Set value data to 1.

Type regedit in the Search box and press Enter to open Registry Editor.

Access Explorer key. Its path is:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Enable or disable Run Command (Win+R) box in Windows 11/10

On the right side, open the right-click context menu on an empty area, access the New menu, and click on DWORD (32-bit) Value. When a new value is created, rename it as NoRun.

Enable or disable Run Command (Win+R) box in Windows 11/10

Double-click this NoRun value and a box will open. There, set Value data to 1, and press OK.

Enable or disable Run Command (Win+R) box in Windows 11/10

Now restart File Explorer to let the changes take effect.

To enable Run Command again, follow the above steps, set Value data to 0, and restart File Explorer.

That’s all!

Enable or disable Run Command (Win+R) box in Windows 11/10