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

Disabling the Run Command Box in Windows 11: A Comprehensive Guide

The Run command box, a pivotal feature within Windows operating systems, serves as a quick access portal to an array of essential applications. In Windows 11, the Run command box elevates the user experience by providing direct shortcuts to various applications like the Registry Editor, Notepad, and the Local Group Policy Editor, to name a few. However, there might be instances when individuals or organizations want to disable this feature for security or administrative reasons. Disabling the Run command box means when someone tries to invoke it, they’re met with an alert: “This operation has been canceled due to restrictions on this computer. Please contact your system administrator.” Such a restriction can be pivotal in a controlled environment, ensuring unauthorized access or changes are curtailed. In this comprehensive guide from risewindows, we will elucidate the methods to turn off the Run Command (Windows + R) in Windows 11. Notably, there are two prominent methods to achieve this:

  1. Using the Local Group Policy Editor.
  2. Through the Registry Editor.

Stay with us as we dive deeper into these methods, ensuring you have all the knowledge needed to manage this essential Windows 11 feature.


How to Turn On or Off the 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. Next, 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 the Windows Registry may damage your Windows installation; hence, we recommend taking a full backup of the Windows Registry and creating a system restore point.


The Run command box is an integral component of the Windows experience, offering swift access to a myriad of crucial applications. While it’s immensely useful, there might be scenarios where disabling it is crucial for security or administrative reasons. In Windows 11, users have the flexibility to toggle this feature on or off, primarily using two methods: the Local Group Policy Editor and the Registry Editor. Each method serves its purpose and provides an avenue for users and administrators to tailor their Windows environment to their needs. As always, when tweaking system settings, especially through the Registry Editor, precaution is advised.


Leave a Comment

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

How to Reset Sound Drivers on Windows 11?

Sound issues on a computer can stem from various problems, but one common culprit is often outdated or corrupted sound drivers. These drivers, responsible...

How to Open Command Prompt as Administrator on Windows 11/10/8/7?

Command Prompt, often abbreviated as cmd, has been an integral tool for Windows users since the early days of the operating system. Whether you're...

How to Turn on the UWP File Explorer on Windows 11?

Navigating the intricate digital ecosystem of Windows, you might have stumbled upon the term UWP or Universal Windows Platform. This is Microsoft's evolution for...

How to Enable or Disable IPv6 on Windows 11 or 10?

In the dynamic world of the Internet, staying updated with the latest technology is essential. Internet Protocol version 6 (IPv6) is the newest version...

How to Enable or Disable IPv4 on Windows 11 or 10?

IPv4 (Internet Protocol version 4) is the predominant protocol used for transmitting data over the vast networks of our modern digital age. Serving as...