Hide drive in windows 8 and 7 On 22:17 By Himanshu Nareshwindow 7, windows 8
Well it is quite easy to hide a drive in windows system.You will need administrative rights to hide a drive through command prompt. There isn’t much to explain on this topic, so here are the steps that you’ll need to follow.
Steps to hide the drive via Command Prompt
- Click on start type cmd, right click on the program cmd and select run as administrator.
- Now type diskpart inside command prompt and press enter.
- Type list volume, on pressing enter a list of all the drives on your computer will appear in front of you.
- You can use either the volume Ltr or number in the next command. For example , if I want to remove my drive F then I will type either select volume F or select volume 5 and hit enter. After selecting the drive I will type another command remove letter F and then press enter.
- That’s it the drive F: is no longer visible in explorer.
select volume and remove letter commands
To make the drive visible again follow the following steps.
- Follow the first three steps up to list volume command as it is. Select the volume number of the drive you want to make visible again and type select volume volume_letter, since I want to make my drive F: to appear in the explorer I will type select volume 5. After selecting the drive type assign letter F (change F to your drive letter).
- My hidden drive is back in the explorer.
select volume and assign letter commands
Steps to hide the drive via Windows Registry Editor
Another method for hiding the drives or partitions in Windows is by making changes in the Windows Registry using Registry Editor.
- To open Registry Editor, press Windows key + R and write regedit in the textbox.
- Press Enter.
- The Registry Editor window will appear as shown.
- Now locate the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer where you will create a new DWORD (32-bit) Value by Right Clicking in the Right Pane as Shown below in the Image
- Give a Name to the New Key i.e Hide Drives Or No Drives etc and Double Click on that a dialog box will appear.
- Now Switch to Decimal Mode and Type the Value to Hide the Specified Drive for example to Hide Drive B type 2 in the Value Field As Shown Below
- For other drive letters enter the decimal value according to the following table:-A: 1 E: 16I: 256M: 4096Q: 65536U: 1048576Y: 16777216B: 2 F: 32J: 512N: 8192R: 131072V: 2097152Z: 33554432C: 4 G: 64K: 1024O: 16384S: 262144W: 4194304ALL: 67108863D: 8 H: 128L: 2048P: 32768T: 524288X: 8388608
Note:-If you want to hide more than one drive then enter the sum of all the values of the drives int value
For Example – If you Want to Hide Drive E,F then type 48 (16+32) in the value field