{"id":9649,"date":"2017-07-05T05:21:58","date_gmt":"2017-07-05T05:21:58","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=9649"},"modified":"2017-07-05T05:24:28","modified_gmt":"2017-07-05T05:24:28","slug":"prevent-access-to-drives-in-my-computer-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/prevent-access-to-drives-in-my-computer-in-windows-10\/","title":{"rendered":"2 Ways to Prevent Access To Drives in My Computer in Windows 10"},"content":{"rendered":"<p>Is there a way to choose what local drives may be viewed by specific users? How can I restrict access to certain drive on the machine? Windows 10 comes with a group policy setting that allows you to prevent other users from accessing to the content of selected drives. This is useful if you share your PC with others, but you want to restrict access to a drive for other accounts in the same computer.<\/p>\n<p><strong>Note:<\/strong> <i>This setting won&#8217;t prevent users from using programs (for example, Command Prompt) that access the local drives. If you need to a professional folder protection software, you can try <a href=\"https:\/\/www.top-password.com\/protect-my-folders.html\" target=\"_blank\">Protect My Folders<\/a>.<\/i><\/p>\n<p><strong>Method 1: Prevent Access To Drives in My Computer in Windows 10 Using Group Policy<\/strong><\/p>\n<ol>\n<li>Press the Windows key + R to open the Run box. Type <strong>gpedit.msc<\/strong> and hit Enter.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/04\/gpedit.png\" alt=\"gpedit\" width=\"399\" height=\"206\" class=\"alignnone size-full wp-image-9207\" \/>\n<\/li>\n<li>Once Local Group Policy Editor is launched, use the left pane to navigate to <strong>User Configuration<\/strong> &gt; <strong>Administrative Templates<\/strong> &gt; <strong>Windows Components<\/strong> &gt; <strong>File Explorer<\/strong>. Now go to the right pane and scroll to find &#8220;<strong>Prevent access to drives from My Computer<\/strong>&#8221; and double-click on it.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/07\/prevent-access-to-drivers-my-computer.png\" alt=\"prevent-access-to-drivers-my-computer\" width=\"608\" height=\"400\" class=\"alignnone size-full wp-image-9654\" \/>\n<\/li>\n<li>When the configuration box pops up, change the setting to <strong>Enabled<\/strong>. Next move to the Options section at the bottom left, and use the drop-down menu to select the combination of disk drives for which you want to prevent user access. Click <strong>Apply<\/strong> and then <strong>OK<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/07\/restrict-access-to-drives.png\" alt=\"restrict-access-to-drives\" width=\"600\" height=\"464\" class=\"alignnone size-full wp-image-9655\" \/>\n<\/li>\n<li>The policy setting will take effect immediately, no restart is required. When a user try to open the restricted drive in File Explorer, they will receive the following error message:\n<p>\t&#8220;<em>This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator<\/em>&#8220;<\/li>\n<\/ol>\n<p><strong>Method 2: Prevent Access To Drives in My Computer in Windows 10 Using Registry Editor<\/strong><\/p>\n<ol>\n<li>Press the Windows key + R to open the Run box. Type <strong>regedit<\/strong> and hit Enter.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/04\/regedit.png\" alt=\"regedit\" width=\"399\" height=\"206\" class=\"alignnone size-full wp-image-9183\" \/>\n<\/li>\n<li>Once the Registry Editor window is launched, navigate to the following key:<br \/>\n<code>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer<\/code><\/p>\n<p>If the <strong>Explorer<\/strong> key does not exist, you can right-click on <strong>Policies<\/strong>, select <strong>New<\/strong> -&gt; <strong>Key<\/strong> and name it <strong>Explorer<\/strong>.<\/li>\n<li>Right-click on the <strong>Explorer<\/strong> key in the left pane, and then select <strong>New<\/strong> -&gt; <strong>DWORD (32-bit) Value<\/strong>, name it <strong>NoViewOnDrive<\/strong>.<\/li>\n<li>Next, double-click <strong>NoViewOnDrive<\/strong> and set its value according to following list (in Decimal):\n<p><code>A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/07\/NoViewOnDrive.png\" alt=\"NoViewOnDrive\" width=\"600\" height=\"262\" class=\"alignnone size-full wp-image-9656\" \/><\/p>\n<p>For example, if you want to lock drive D, you have to set the value to 8. If you want to lock both Drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to &#8220;9&#8221;.\n<\/li>\n<li>When it&#8217;s done, close Registry Editor. Restart Windows for the change to take effect.<\/li>\n<\/ol>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Is there a way to choose what local drives may be viewed by specific users? How can I restrict access to certain drive on the machine? Windows 10 comes with a group policy setting that allows you to prevent other users from accessing to the content of selected drives. This is useful if you share [&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":[3451],"class_list":["post-9649","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","tag-prevent-access-to-drives-from-my-computer"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/9649","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=9649"}],"version-history":[{"count":11,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/9649\/revisions"}],"predecessor-version":[{"id":9663,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/9649\/revisions\/9663"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=9649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=9649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=9649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}