Saturday 21 May 2016

How To Hide Hard Drives( C:, D:, E:. etc.) Of Your Computer !

You have noted of hiding a Windows folder in Windows but have you ever noted of hiding the entire Hard Drive ? It is a easy way by which you can hide hard disk drive of your computer and make fool of your friends !!
There are many ways to hide a drive in Windows. It is through Disk Management, using Group Policy, through Windows Registry or by using Diskpart command in CMD. We will see these ways step by step, so that you can implement the same to hide a drive in Windows.

 Hide Drive using Disk Management 


  • If you want to hide a drive in Windows through Disk Management, you need to right-click on My Computer and then click Manage.
  • In Computer Management Console open Storage by double clicking on it.


  • Now, double-click on Disk Management Snap-in.


  • Disk Management Console opens up and you can see all drives of your PC.


  • Choose the drive which you want to hide and right click on it. Choose Change Letter and Paths and click on Remove button.


  • If it asks for confirmation, say 'Yes'. Now, you can't see the hidden drive in My Computer.


 Hide Drive Using Windows Registry 

We will use NODrives  registry key to hide a drive in Windows. As we add a key to the registry, I suggest you to take the backup of you registry.Once it is done, Proceed!

  • Press Windows Key + R, type 'regedit' and hit enter. It asks for confirmation, say 'yes'. Now, registry Editor Console opens up. Navigate to below path,

 Hey_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Explorer 


  • Here, We are going to create a new DWORD value, so right click on Explorer and choose New > DWORD value (32-bit).

  • Give the name as 'NoDrives' and double click on it, to change the properties. Now, console opens where we need to enter values. In value data, choose the one based on the drive you want to hide. Each drive letter has unique value and values are as below,
A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H:128,...., All: 67108863 or 3FFFFFF(hexadecimal).

  • Choose the corresponding value for the drive and enter that value in 'value data'. Choose 'Decimal' for Base section. As I want to hide, drive 'D', I am entering the value as  '8'.



  • If you want to hide two drives, say for example 'D' and 'E', you can enter value one value as '24' (D = 8 , and E = 16) and it hides both the drives.
  • Restart your computer and your drive in hidden now.

If you are supposed to get the drive back, change the value to Zero or you can even delete the 'NoDrives' registry key.


 Hide Drive using CMD 


  • Open an command prompt, type Diskpart and hit Enter. 
  • Type List Volume and hit Enter. 
  • Now type select and the numeral against the letter of the Drive (eg. it could be D Drive), which you want to hide For instance it could be Select Volume 2 Hit Enter.
  • At Last, Type Remove Letter D and hit Enter.
  • You will see a message - Diskpart successfully removed the drive letter or mount point.


To show the hidden drive, follow steps 1,2,3 mentioned above.
Now type Assign Letter D and hit Enter. This will show the drive in Explorer.

These are the ways you can hide a drive in Windows.

No comments: