How Can I Hide Local Drives On Computer Using Group Policy Editor

This post will guide you through to hide a Drive on your computer using the Group Policy Editor feature available built-in in your Windows system.

First, click on Start and then select Run.

Enter gpedit.msc in Run text bar and hit enter.

Your Group Policy Editor will be opened. Once it is opened, you’ll have to navigate to the following node:

User Configuration -–> Administrative Templates -–> Windows Components -–> Windows Explorer


When you reach Windows Explorer, if you look onto your right had side, you’ll find “Hide these specified drives in My Computer”, which you need to double click on. Upon double clicking you’ll find an option to enable and select the drives you want to hide. Make your selection and , select enable and select the drives from the drop down menu.

However, there is a restriction on which drives you can hide. You can hide only upto drive A – D, or you’ll have to hide all the drives. Or the only other option is you’ll have to hide all the drives, so you can’t hand pick and hide drives after D drive, ie E, F and such drives.

How To Calculate ‘NoDrives’ Registry Key Value To Hide Specific Drives In Windows?

How To Calculate ‘NoDrives’ Registry Key Value To Hide Specific Drives In Windows?

If you are at least a semi-expert with working on windows machine, you surely would have come across the ‘NoDrives’ registry key terminology.

I used this on an NT machine I was working with, to hide specific drives in my Explorer, from the outside world.

To hide the specific drives, you will have a calculate the value associated with each drive (the value is unique to each drive), and then sum it up before updating the registry key. An experienced user will not find it difficult to get this done, however a novice at times might get stuck.

To make the life of all newbies easier, Wisdombay has come up with a small script on their website that will find the ‘NoDrive’ value for you in one click!

Access the tool here.