Hiding Drive in Windows

How To, Tips and Tricks for Hiding Drive in Windows
Share
One day we may have to hide or be hidden drive (C, D, E, ..) which is on our computer.For some reason that perhaps it should be done or happen.
Here are two alternatives that can be done to hide or remove the drive from the appearance of your windows without going through the registry editor and without using additional software or tools.

The first way is to use diskpart command, and the second way using gpedit (group policy editor), which must both are equally easy to do.

The first way is by using the diskpart command
1. Click Start -> Run -> type cmd -> click OK

2. type diskpart -> press enter

3. Type list volume -> press enter (to see the list drives in computers)
Specify the drive that will be hidden, for example here we will hide drive E

4. type select volume 3 -> press Enter

5. type remove letter E -> press Enter

type Exit to exit the diskpart.

(To see the results check on my computer, in some cases the computer must be restarted first.)

To Restore or display the returned drive that is hidden, do the same from step 1 to 4
In step 5 the command was changed to:
Type assign letter E


The second way is by using the command gpedit (group policy editor)
1. Click Start -> Run -> type gpedit.msc -> click OK

2. Double-click User Configuration -> Administrative Templates -> Windows Components -> Windows Explorer -> then select the Hide these specified drives in my computer on the right side window

At Window Hide specified drives in My Computer: select enable, then specify the drive that will be hidden (restrict)

For example here that will be hidden is drive E, then select the Restrict E drive only, then click Apply -> OK
Check in My Computer to see the results.

To show again, do the same sequence of steps, then on the Window Hide specified drives in My Computer, select Not Configured option -> click Apply -> OK

And for that through the Registry you can try it too, here's the plot:
1. The trick is to click start menu> run> type 'regedit' or 'regedt32 "(without the quotes)


2. To hide drives, you need to go Key Path: HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer.


3. Make a key value by right-clicking on the layer right side, then appeared NEW, there will be a variety of Value Type, select the type DWORD Value. Give it a name value with the name 'nodrives' (without the quotes). After that, press enter. New value established.


4. Value of data you can fill with one of the following numbers: A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16 384, P: 32 768, Q: 65 536, R: 131 072, S: 262 144, T: 524 288, U: 1048576, V: 2097152,W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863 NB: the letters are Drive Letters and for ALL is if you want to hide all the drives on your computer. And keep in mind that the numbers you enter must be the base 'hex' is not a base 'decimal'.For example, I want to hide drive C: \ on my computer, then I insert the value data: 4. If so, press the 'OK'.


5. After all this process you finish, you must restart your computer or log off first to see the results of your edits.


6. If you are successful, then it should be drive C: \ (or that you hide) will not be visible in Windows Explorer.

Komentar