How to Turn Off Run Command (Windows + R) in Windows 11?


The run command box is part of the operating system. In Windows 11, using run, you can directly open many applications like  Registry Editor, Notepad, Local Group Policy Editor, etc.

You can do it if you want to disable/stop running the command box in Windows 11. Once you restrict the Run box, you or someone else want to open the run box. You will see “This operation has been canceled due to restrictions on this computer. Please contact your system administrator,” shown in the below image.


In this risewindows article, we will guide you on turning off Run Command (Windows + R) in Windows 11.

There are at least two Turn Off Run commands (Windows + R) on Windows 11. These are as follows:

  1. using Local Group Policy Editor
  2. through Registry Editor

How to Turn On or Off Run Command box using Local Group Policy Editor?

To enable or disable the Run Command box on Windows 11 using Local Group Policy Editor, do the following steps:-

Step 1. Firstly, launch the Local Group Policy Editor.

Step 2. Then, under the Local Group Policy Editor window, navigate to the following path in the left side pane:-

User Configuration > Administrative Templates > Start Menu and Taskbar


Step 3. Next, on the right-side pane of the “Start Menu and Taskbar” folder, double-click the Remove Run menu from Start Menu policy.


Step 4. Then, click Apply.

Step 5. Next, click OK.

Step 6. At last, reboot your computer.

That’s it.

It would help if you did not open the Run command box by pressing Windows + R hotkey or any other method.

To disable the Run Command box again, repeat the above steps, and in step 3, select the Not Configured option. Click Apply/OK button.

Note: Group Policy is available in only Windows 11 Enterprise and Pro editions. If you use Windows 11 Home edition, you’ll need to add Group Policy on your computer.

How to Enable or Disable Run Command box through Registry Editor?

To enable or disable the Run Command box through Registry Editor, do the following steps:-

Step 1. Firstly, launch Registry Editor.

Windows-11-Registry-Editor-1024x687 (1)

Step 2. Then, under Registry Editor appears on the screen, browse to the following key from the left side pane:-



Step 3. After that, right click on the Explorer folder and select New > DWORD (32-bit) Value. After that, name it as NoRun.



Step 4. Then, double click on the NoRun REG_DWORD and Set “Value data” to 1. Then, click the OK button.


Step 5. At last, reboot your computer.

To enable the Run command box again, repeat the above steps, and in step 4, set the Value data to 0.

Note: Unknown editing of Windows Registry may damage your Windows installation; hence, we recommend taking a full backup of Windows Registry and creating a system restore point.

That’s all for this article. I hope this article will add some value to your work.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.