{"id":10104,"date":"2017-09-14T05:48:32","date_gmt":"2017-09-14T05:48:32","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=10104"},"modified":"2017-09-14T05:49:55","modified_gmt":"2017-09-14T05:49:55","slug":"disable-run-command-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/disable-run-command-in-windows-10\/","title":{"rendered":"2 Ways to Disable Run Command (WIN + R) in Windows 10"},"content":{"rendered":"<p>How can I disable Run command in GPO? Just press Win+R keys together and you can get to the Run dialog box immediately. By typing different commands in the Run box, you can access the most used Windows maintenance tools &#8211; Registry Editor, Local Group Policy Editor, etc.<\/p>\n<p>When you share a PC with others, you may want to prevent inexperienced users from accessing the Run command. In this tutorial we&#8217;ll show you 2 simple ways to disable Run command in Windows 10, so others can&#8217;t access Run from the WinX menu or use WIN + R.<\/p>\n<p><strong>Method 1: Disable Run Command in Windows 10 Using Group Policy<\/strong><\/p>\n<ol>\n<li>Press the WIN + R keys together, type <strong>gpedit.msc<\/strong> in the Run command box and then press Enter.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/04\/gpedit.png\" alt=\"\" width=\"399\" height=\"206\" class=\"alignnone size-full wp-image-9207\" \/>\n<\/li>\n<li>In the Local Group Policy Editor window, navigate to <strong>User Configuration<\/strong> -&gt; <strong>Administrative Templates<\/strong> -&gt; <strong>Start Menu and Taskbar<\/strong>. Double-click on the policy &#8220;<strong>Remove Run Menu from Start Menu<\/strong>&#8221; appearing on the right pane.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/09\/remove-run-from-start-menu.png\" alt=\"\" width=\"594\" height=\"381\" class=\"alignnone size-full wp-image-10110\" \/>\n<\/li>\n<li>Set the policy to <strong>Enabled<\/strong> and then click <strong>OK<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/09\/remove-run-command.png\" alt=\"\" width=\"600\" height=\"553\" class=\"alignnone size-full wp-image-10111\" \/>\n<\/li>\n<li>This policy setting takes effect without rebooting. When you try to access the Run command, you&#8217;ll receive the following error message:<br \/>\n<blockquote><p>&#8220;This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.&#8221;<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/09\/operation-cancelled-due-to-restrictions.png\" alt=\"\" width=\"560\" height=\"134\" class=\"alignnone size-full wp-image-10112\" \/><\/p>\n<\/li>\n<\/ol>\n<p><strong>Method 2: Disable Run Command in Windows 10 Using Registry Editor<\/strong><\/p>\n<ol>\n<li>Press the WIN + R keys together, type <strong>regedit<\/strong> and then press Enter.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/04\/regedit.png\" alt=\"\" width=\"399\" height=\"206\" class=\"alignnone size-full wp-image-9183\" \/>\n<\/li>\n<li>In the Registry Editor, use the left sidebar to navigate to the following key:<br \/>\n<code>HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer<\/code><\/p>\n<p> \tIf the <strong>Explorer<\/strong> key doesn&#8217;t exist, right-click on the <strong>Policies<\/strong> key on the left pane, then select New -&gt; Key and name it as &#8220;<strong>Explorer<\/strong>&#8220;.<\/li>\n<li>Right-click any blank area on the right pane, and then select <strong>New<\/strong> -&gt; <strong>DWORD (32-bit) Value<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/09\/explorer-new-key.png\" alt=\"\" width=\"597\" height=\"348\" class=\"alignnone size-full wp-image-10113\" \/>\n<\/li>\n<li>Name the new value as <strong>NoRun<\/strong>, and set its value data to 1.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/09\/NoRun.png\" alt=\"\" width=\"597\" height=\"276\" class=\"alignnone size-full wp-image-10114\" \/>\n<\/li>\n<li>This registry setting does not take effect until you reboot your computer.<\/li>\n<\/ol>\n<p><strong>What to Do If You Want to Re-enable Run Command?<\/strong><\/p>\n<p>After disabling the Run command, the WIN + X keys doesn&#8217;t work any more and you need to use other ways to access Local Group Policy Editor or Registry Editor.<\/p>\n<ul>\n<li>\n<a href=\"https:\/\/www.top-password.com\/blog\/open-local-group-policy-editor-in-windows-10\/\" target=\"_blank\" rel=\"noopener\">6 Ways to Open Local Group Policy Editor in Windows 10<\/a><\/li>\n<li>\n<a href=\"https:\/\/www.top-password.com\/blog\/6-ways-to-open-registry-editor-in-windows-10\/\" target=\"_blank\" rel=\"noopener\">6 Ways to Open Registry Editor in Windows 10<\/a>\n<\/li>\n<\/ul>\n<p>Once you get to the Local Group Policy Editor, just set the &#8220;<strong>Remove Run Menu from Start Menu<\/strong>&#8221; policy to &#8220;<strong>Not Configured<\/strong>&#8220;. Another way is going to the registry key <em>HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer<\/em> and change the DWORD of <strong>NoRun<\/strong> to 0. That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How can I disable Run command in GPO? Just press Win+R keys together and you can get to the Run dialog box immediately. By typing different commands in the Run box, you can access the most used Windows maintenance tools &#8211; Registry Editor, Local Group Policy Editor, etc. When you share a PC with others, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894],"tags":[3533,3532,3534],"class_list":["post-10104","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","tag-disable-run-command-registry","tag-disable-run-command-using-group-policy","tag-disable-run-command-windows-10"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/10104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=10104"}],"version-history":[{"count":10,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/10104\/revisions"}],"predecessor-version":[{"id":10119,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/10104\/revisions\/10119"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=10104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=10104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=10104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}