How To Hide Any Drive Through GPEDIT

Posted by in Articles, Windows Tips, Windows Hacks

Till now we have learn how to hide any drive from explorer in two ways –

  1. Hide your drives in explorer with command prompt
  2. Hide your drives in explorer with regedit

Now its turn for moving on to another level, lets suppose a virus or your administrator has blocked both command prompt and regedit but you still want to hide your drive, in that case Group Policy Editor will come in play.

Here is how to do it:

Step 1. Open Group Policy Editor (Press Win+R and type Gpedit.msc and press Enter)

gpedit Learn Windows tweaking with Gpedit and Regedit   Part 1

Step 2. Navigate to User Configuration > Administrative Templates > Windows Component > Windows Explorer

Step 3. Now on the right Hand side i.e Settings Pane look for Hide these specified drives in My Computer.

Step 4. Double Click on it and Enable it, now choose from the drop down box which drive you want to hide (I choose All – Restrict All Drives)

hide drives

Step 5. Now click on Apply and click OK, now you can see that Hide these specified drives in My Computer is Enabled.

enabled gpedit

Step 6. Now logoff and login back to see changes.

How to revert back -

In order to get them back go to Gpedit and set the Hide these specified drives in My Computer setting to Disable. That’s it.

Author’s Bio –

Mad Geek is a pro-blogger who blogs at and a software developer. You can connect with him @itzritesh .