Press the Win key, at
search type “cmd” and press CTRL+SHIFT+ENTER to run the command prompt as
administrator.
Once the command prompt
interpreter is open, we’ll use the tool diskpart to remove and hide the drive.
Here’s the summary of commands:
- diskpart
- list
vol (to display the list of drives available in the
system)
- select volume
[number] => the command selects the drive that you want to hide
- remove letter=[drive
letter] => the command removes the drive letter and later hides
the drive.
----------------------------------------------------------
C:\Windows\system32>diskpart
Microsoft DiskPart
version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: HARISH-PC
DISKPART> list vol
Volume ###
Ltr Label
Fs Type
Size Status Info
-------- --- ---------- ----- ---------
------- --------- ------
Volume 0
H
DVD-ROM 0 B No Media
Volume 1 D
Disk NTFS
Partition 34 GB Healthy
Volume 2
E
NTFS Partition 41 GB Healthy
Volume 3
C
NTFS Partition 73 GB
Healthy System
DISKPART> select
volume 1
Volume 1 is the selected
volume.
DISKPART> remove
letter=d
DiskPart successfully
removed the drive letter or mount point.The trick should hide the
disk drive as shown above.
TO UNHIDE THE DISK DRIVE
Repeat the steps above
and use the following command to re-assign the
driver letter and later, unhide
the hard drive.
DISKPART> assign
letter=d
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.