Wednesday, 1 May 2013

Hide Local Drive Partition Using Command Prompt

Sometimes it's necessary to hide your HDD Partition for security reason. For this do following step.

  1. Press Windows Key + R to open Run.
  2. Now type cmd into run and click on OK to open Command Prompt.
  3. Command Prompt Windows appears. Type command diskpart and press Enter.
  4. Type list volume to list number of drive on your Computer.
  5. Suppose I want to hide disk partition G. For that i will type command selecet volume G into command prompt and press Enter Key.
  6. To hide drive G type command remove letter G and press Enter.
  7. After step 6 hard drive G will disappear form drive list as shown in below image.

 How to Un-Hide your Local Drive with Windows CMD

  1. Follow step 1-4 explained above, now select the volume which  hide by typing select volume G into the command prompt and then press Enter key.
  2. To do this type select volume 7 and press Enter. Now type assign letter G to make visible hidden drive G.