Sometimes it's necessary to hide your HDD Partition for security reason. For this do following step.
- Press Windows Key + R to open Run.
- Now type cmd into run and click on OK to open Command Prompt.
- Command Prompt Windows appears. Type command diskpart and press Enter.
- Type list volume to list number of drive on your Computer.
- Suppose I want to hide disk partition G. For that i will type command selecet volume G into command prompt and press Enter Key.
- To hide drive G type command remove letter G and press Enter.
- After step 6 hard drive G will disappear form drive list as shown in below image.
- 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.
- To do this type select volume 7 and press Enter. Now type assign letter G to make visible hidden drive G.