Home  >  Article  >  How to disable the Run Command feature in Windows 11, 10

How to disable the Run Command feature in Windows 11, 10

王林
王林forward
2023-04-16 19:40:012428browse

If you know the path to a program or application, you can start it immediately using the "Run" dialog box. Therefore, the Run dialog is a very useful one-line command line interface that makes your life easier. However, if other people are also using your computer, you may not want them to have the privilege of being able to use the "Run" command box for security reasons. So, is there a way to disable run commands in Windows 11 or 10? Absolutely!

In this article we explain it through 2 different methods (one through Local Group Policy Editor and the other through Registry Editor) How to easily enable and disable run commands in Windows 11 or 10.

Note: Once the Run command is disabled, you will not be able to launch the Run window from anywhere, including using the Win R hotkey combination, from Start ” menu or via Windows Search, etc. You will see a window called "Restrictions" saying The operation has been canceled due to restrictions on this computer. Please contact your system administrator.

Method 1: Through the Local Group Policy Editor

Step 1: Click the Search icon on the taskbar.

How to disable the Run Command feature in Windows 11, 10

Step 2: Enter gpedit on the search bar, and then select from the most Click in the Best Match section to edit the group policy.

How to disable the Run Command feature in Windows 11, 10

Step 3: Navigate to the following location in the "Local Group Policy Editor" window, method Yes, double-click each folder to expand them.

用户配置 > 管理模板 > 开始菜单和任务栏

Now make sure to select the folder by clicking on it Start menu and taskbar. On the right side of the window , click the column name to set once to sort the list.

Scroll down to find and double-click the setting named Remove Run menu from Start Menu.

How to disable the Run Command feature in Windows 11, 10

Step 4: To disable the Run window, in the Properties window, click EnabledRadio button.

Click the Apply button, then click the OK button.

How to disable the Run Command feature in Windows 11, 10

Step 5: If you now try to launch the "Run" window, press CTRL R key, you will see the following Restrictions window, preventing you from accessing the run command.

How to disable the Run Command feature in Windows 11, 10

Note: – What to do if you want to enable it again

If you want to enable it again" Run" window, please open the properties window again and select the "Not Configured" option.

Click the Apply button, then click the OK button. Changes will be immediate.

How to disable the Run Command feature in Windows 11, 10

Method Two: Via Registry Editor

In this method we will make slight changes to your registry settings. It is always recommended that you back up your registry keys as incorrect registry settings can cause severe instability in your machine. If something goes wrong, you can always use this backup to restore old registry settings.

Step 1: On the taskbar, click the "Search" icon.

How to disable the Run Command feature in Windows 11, 10

Step 2 : Search regedit and click from the Best Matches section Registry Editor.

How to disable the Run Command feature in Windows 11, 10

Step 3: In the Registry Editor window, copy and paste the following location Paste into the navigation bar.

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

Next, right-click the ResourcesManager folder, click New, and then click OptionsDWORD (32-bit) Value.

How to disable the Run Command feature in Windows 11, 10

Step 4: Now, click on the newly created DWORD value and press F2KeyRenameit. Give the new name NoRun and double-click it to open its properties.

In the properties window, set the numeric data to 1, and click the OK button.

How to disable the Run Command feature in Windows 11, 10

Step 5: To take over the changes, simply start Windows Explorer.

To do this, right-click the WindowsStart Menu icon and click the Task Manager option.

How to disable the Run Command feature in Windows 11, 10

Step 6: Now under the Processes tab, right click on the Applications section under Windows Explorer and click the Restart option.

How to disable the Run Command feature in Windows 11, 10

Step 7: If you now press the CTRL R keys simultaneously, you will see that you can no longer access " Run" window.

How to disable the Run Command feature in Windows 11, 10

Note: – If you want to revert the changes, open the DWORD property again and change Value data is set to 0. Click the OK button.

You can now access the Run dialog box again, just like you did before.

How to disable the Run Command feature in Windows 11, 10

The above is the detailed content of How to disable the Run Command feature in Windows 11, 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete