Hiding Drives in XP

Written By Akshay Prabhale on Tuesday, March 11, 2008 | 6:11 AM

  • Go to Start > run > type "diskpart".(Without Quote)a dos window will appear with following prompt.

DISKPART>

  • Then type "list volume" this will look like it
Volume### Ltr Label Fs Type Size Status Info
-------------- ---- ------ --- ----- ---- ------- --
Volume 0 F DC-ROM
Volume 1 C NTFS Partition 7000MB Healthy
Volume 2 D soft NTFS Partition 8000MB Healthy
Volume 3 E ---- NTFS Partition 8000MB Healthy


  • If u wanna hide drive E then type "select volume 3"then a message will appear in same winwods { Volume 3 is the selected volume}
  • Now type " remove letter E" now a message will come { Diskpart Removed the Drive letter }sometime it requires the reboot the computer .
  • Diskpart will remove the letter .Windows XP is not having capabilty to identify the unkown volume.

Don afraid ur Data will remain same . To Come backe the Drive repeat the process . but in 4th step whish is shown in this post replace " remove" to "assign"i mean type " assign letter E"

if we hide the drives using this method then even administrator is not allowed to access that drive all the programs stored in that drive will not run so there is one more way to hide the drives for specific users
WINDOWS REGISTRY

go to Registry editor
HKEY_USERS or HKEY_LOCAL_MACHINE
(in you want to hide drive for all users)

then go to ....
  • Software
  • >> Microsoft
  • >> Windows
  • >> CurrentVersion
  • >> Policies
  • >> Explorer

in right plane create new DWORD value and name it as NoViewOnDrive and set it's value to the number of drive you want to hide

A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
n so on ...

to hide all drives type - 67108863

n enjoy :-D

0 comments: