Monday, 20 February 2017

Hide a partition or drive in a Windows based PC

Hi Guys, In this post we learn how we can simply hide our local disk from another users. So that our personal data will keep safe without any risk. For this purpose we will use diskpart as one of system software of Microsoft Windows to handle disk utilization. But remember the hidden drive will not be visible in File Explorer (i.e. My Computer) but can be find out easily using diskpart.



Here is a screenshot of File Explorer having the local drive Extra1. You can see this partition is assign to letter D.






Steps to Hide a partition of a Windows based PC



Step 1:

Press Win+R . A windows will open. Type diskpart in that window and press Enter. Diskpart window will open.

Step 2:

Type the following commands in diskpart window.

  • Type 'list disk'  and you will get list of all disks attached with your system.
  • Now type 'select disk 0'.
  • Type 'list partition' and you will get list of all partiton in your hard disk ( In DOS systems, you can partition a disk, and each partition will behave like a separate disk drive.)
  • Type 'select partition <partition number>' (e.g. select partition 4)
  • Type 'remove' and your partition will be hide from the File Explorer. 

Note:

To get back your drive or partition just follow the same procedure but type 'assign' instead of 'remove'. 
You can also add drive letter with assign command 
 'assign letter=G'  where G is the letter I wish to assign.

Here is a screenshot of my diskpart and File Explorer after removing the drive.







It is clear from the above screenshot that the drive Extra1 has been removed.

Thanks :-) For more posts stay tuned.

No comments:

Post a Comment