1. Right click My Computer.
2. Click Manage or press letter G.
3. This will open Computer Management.
4. Under Storage, select Disk Management.
5. Right click on the drive which you wish to hide.
6. Select Change drive letters and paths.
7. Click Remove
8. Now can find your partition will be hidden.
9. To get back the partition Computer Management–>Select drive–> Change drive letters and paths
10. Now select Add option.
11. In that Assign the following drive letter.
12. Select ok.