{"id":6756,"date":"2016-05-09T07:52:07","date_gmt":"2016-05-09T07:52:07","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=6756"},"modified":"2016-05-09T07:53:09","modified_gmt":"2016-05-09T07:53:09","slug":"block-an-application-from-running-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/block-an-application-from-running-in-windows-10\/","title":{"rendered":"How to Block An Application from Running in Windows 10"},"content":{"rendered":"<p>Whether you&#8217;re sharing a computer with other family members or friends at home, or securing computers in a corporate environment, there may be some situations where you need to block a user account from running a certain application. <\/p>\n<p>In previous post we&#8217;ve explained a way to <a  style=\"text-decoration:underline;\" href=\"http:\/\/www.top-password.com\/blog\/how-to-prevent-a-program-from-ever-running-in-windows\/\">prevent a program from running using Group Policy<\/a>. Here&#8217;s another way to block a certain application from running in Windows 10, by using a registry hack. This method works with all editions of Windows 10, 8 and 7.<\/p>\n<p><strong>How to Block An Application from Running in Windows 10?<\/strong><\/p>\n<ol>\n<li>Hold down the Windows Key and press R to bring up the Run dialog box. Type <strong>regedit<\/strong> and press Enter.<\/li>\n<li>In the Registry Editor, navigate to the following key:<br \/>\n\t<code>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies<\/code><\/li>\n<li>In the left pane, right-click on <strong>Policies<\/strong>, and then select <strong>New<\/strong> -&gt; <strong>Key<\/strong>, type in <strong>Explorer<\/strong> and press Enter. If the <strong>Explorer<\/strong> key already exists, just skip this step.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/new-explorer-key.png\" alt=\"new-explorer-key\" width=\"636\" height=\"369\" class=\"alignnone size-full wp-image-6758\" \/><\/p>\n<\/li>\n<li>Select the <strong>Explorer<\/strong> key on the left pane. Right-click a blank area on the right side, 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\/2016\/05\/new-disallowrun-value.png\" alt=\"new-disallowrun-value\" width=\"572\" height=\"385\" class=\"alignnone size-full wp-image-6759\" \/><\/p>\n<\/li>\n<li>Rename the newly-created entry to <strong>DisallowRun<\/strong>, and set its value to <strong>1<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/disallowrun-value.png\" alt=\"disallowrun-value\" width=\"540\" height=\"385\" class=\"alignnone size-full wp-image-6760\" \/><\/p>\n<\/li>\n<li>Right-click on the <strong>Explorer<\/strong> key on the left pane, and then select <strong>New<\/strong> -&gt; <strong>Key<\/strong>, type in <strong>DisallowRun<\/strong> and press Enter.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/new-disallowrun-key.png\" alt=\"new-disallowrun-key\" width=\"625\" height=\"385\" class=\"alignnone size-full wp-image-6761\" \/><\/p>\n<\/li>\n<li>Select the <strong>DisallowRun<\/strong> key on the left pane. Right-click on an empty space and select <strong>New<\/strong> -&gt; <strong>String Value<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/new-string-value.png\" alt=\"new-string-value\" width=\"606\" height=\"402\" class=\"alignnone size-full wp-image-6762\" \/><\/p>\n<\/li>\n<li>\nName the new entry with the number 1 and set its value to the name of the application(.exe) that you want to block. If you want to restrict more programs, simply create more String entries with names 2, 3 and so on and set their values to the program&#8217;s exe file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/list-of-disallowed-apps.png\" alt=\"list-of-disallowed-apps\" width=\"605\" height=\"402\" class=\"alignnone size-full wp-image-6763\" \/><\/p>\n<\/li>\n<li>Restart your computer and try to run the blocked applications and you&#8217;ll get the error message &#8220;<em>This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.<\/em>&#8221;\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/05\/block-app-from-running.png\" alt=\"block-app-from-running\" width=\"558\" height=\"133\" class=\"alignnone size-full wp-image-6764\" \/><\/p>\n<\/li>\n<\/ol>\n<p>I should mention that if the user is smart enough to rename the program file, they will be able to run the program again. If this method does not meet your needs, you can use the <a style=\"text-decoration:underline;\" href=\"http:\/\/www.top-password.com\/protect-my-folders.html\">Protect My Folders<\/a> to deny access (read\/modify\/run\/rename\/copy\/delete) to any application in Windows 10.<\/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>Whether you&#8217;re sharing a computer with other family members or friends at home, or securing computers in a corporate environment, there may be some situations where you need to block a user account from running a certain application. In previous post we&#8217;ve explained a way to prevent a program from running using Group Policy. Here&#8217;s [&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":[2687,2686,2685,1743,2684],"class_list":["post-6756","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","tag-block-a-program-from-running-in-windows","tag-block-a-program-from-running-in-windows-10","tag-block-exe-from-running","tag-prevent-application-from-running","tag-prevent-program-from-running"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6756","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=6756"}],"version-history":[{"count":7,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6756\/revisions"}],"predecessor-version":[{"id":6770,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6756\/revisions\/6770"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=6756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=6756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=6756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}