25 July, 2009

How to Hide a Disk Drive

Windows XP



There are two tested methods to hide a Disk drive.



The first method is for people who are familiar with Windows Registry.But if you are not comfortable in manipulating Registry then it is advised to follow the second method.



First method to hide a Disk Drive:



Bullet Click on 'Start' and then click on 'Run' and then type 'regedit' in the box and click on OK.



Bullet Registry Editor will open. Now navigate to:



HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer



Bullet Now from the Menu bar of Registry Editor click on 'Edit' and then 'New' and select DWORD Value.



Bullet Now Rename the DWORD Value to 'NoDrives'.



Bullet Now Right Click on 'NoDrives' and Select 'Modify' , now Check 'Decmial' Option under Base.By Default Hexadecimal is selected and enter the Decimal value (under Value Data) of the Drive you would like to hide.



Bullet The list of decimal values of drive is given below:















Drive LetterDecimal Value
A 1
B2
C4
D8
E16
F32
G64
H128
I256


Bullet Click OK once finished and then Restart your PC.



The Drive which you have hidden will not be displayed.



Summary : Hiding your Disk Drive:



1) Click Start.
2) Click Run.
3) Type 'regedit' in the Box.
4) Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\
5) Explorer.
6) From Registry Editor Menu Bar 'Edit' -> 'New' -> 'DWORD Value'.
7) Rename DWORD Value to 'NoDrives'.
8) Right click on NoDrives -> Modify -> Select 'Decimal' Option -> Put Decimal Value of Drive.
9) Click OK.



Second Method : This is a risk free method and will hide the drive instantly without any need to reboot.



Bullet Click on Start and then on Run and type in 'diskpart' in the box below:



Bullet A command prompt screen will appear.Now type 'list volume'.



Bullet It will look like this:



DISKPART> list volume



On Pressing ENTER you will see details about all the volumes.



Bullet Now type 'select disk 0'.



The following message will be prompted:



"Disk 0 is now the selected disk."



Bullet Now type in 'detail disk' and you will get all details about your hard disk and disk drives it contains.



Bullet Now type in select partition 3 (You may select any partition of your choice , here i want to hide Drive D:/ which is in Partition 3).



A message will be prompted:



"Partition 3 is now the selected partition."



Bullet Now type in 'detail partition'



This will show the disk drive in this partition.In my case its D :/ drive



Bullet Now to hide D:/ drive we type in 'remove letter D'



Bullet Now open 'My computer' and you will not see the drive.But don't worry the data is still intact.Now to get back the drive , type in 'assign letter D'.
and you will get D:/ drive back.



If you have hidden C:/ drive then type 'assign letter C' and so on.


Summary : Hiding Disk Drive the Easy Way.


1) Click Start.
2) Click Run.
3) Type 'diskpart' in the Box.
4) Type 'list volume'.
5) Type 'select disk 0'.
6) Type 'detail disk'.
7) Type 'select partition 3'.
8) Type 'detail partition'.
9) Type 'remove letter D' .

Note : This has been tested in Windows XP and might not work on other Operating Systems.

No comments:

Post a Comment

If you have any Queries, suggestions or requests, Do comment here!