How To Hide Local Disk Drive Using CMD Diskpart

Steps To Hide Your Local Drive
- Go To Start >> Then Run >> Then Type Diskpart
- New black Window will appear and then type list volume press enter
- Now your all drive will appear, now if you want to hide Drive D
- Then Type select volume X and press enter. (Replace x with volume no)
- Then Type remove letter D and press enter again.
- Now Go to your my computer then you will find that your D drive is hidden.
Steps To Get Back Your Hidden Drive
- Go To Start >> Then Run >> Then Type Diskpart
- Then Type list volume press enter
- Now your all drive will appear, now if you want to unhidden Drive D
- Then Type select volume X and press enter. (Replace x with volume no)
- Then Type assign letter D and press enter again.
- Now Go to your my computer then you will find that your D drive is unhidden.
- Then your Hidden drive will start appearing. Lets take one look on all steps in this figure

Source: Safetricks