First, open the registry to enter the following path:
Hkey_current_usersoftwaremicrosoftwindowscurrentversionpoliciesexplorer
The value of the new key value Nodrives,nodrives is composed of four bytes, the default value is "00 00 00 00", which means that no letter is hidden, and if you modify its value to "FF FF FF FF", all the drive characters are hidden. Specifically, the first byte of the NoDrives value represents a to H eight-letter characters, in 01, 02, 04, 08, 10, 20, 40, 80, and the other three bytes can represent the I to z individual drive characters respectively. If he wants to hide e disk, just assign the NoDrives "10 00 00 00" and "OK" to exit, if you want to hide more than one letter, as long as the corresponding binary value of these letter can be added, for example, "19 00 00 00" means to hide a, D, e three-letter at the same time
If you recover, just change that back.
Hiding methods in Group Policy
Fill in "Gpedit.msc" in "start" → "Run" and open Group Policy. In the local computer policy on the left side of the window, select User Configuration → administrative templates → Windows components → windows Explorer, and then go to the right window to find the "hide these specified drives in My Computer" policy. The corresponding setting state is "Not configured" at this time. Double-click it, pop "Hide these specified drive properties in My Computer" window, select "Enable" below, and select "Limit D drive only" from "Select one of the following combinations" and click OK. Now we look in the explorer and we'll see that D is gone.
How to: Enter "D:" (without quotes) in the address bar, and then return, hidden in the D-partition content will immediately appear, if you feel that confidentiality is not good, you can try the following methods. In addition, some people use a lot of physical hard disk, this method fails, you can try.
Third, the "Computer Management" of the complete concealment method
Right-click on my Computer to select Manage, and in the Computer Management window that pops up, click Disk Management under Save. All partitions of the local hard disk appear in the right window, right click on the partition to be hidden (such as D disk), select Change drive name and path from the shortcut menu that pops up, and then the change Drive letter and path for local disk (d:) window appears, select "D:" in the window, and then click the Delete button. The "Deleted drive letter" may cause the program to stop running. Are you sure you want to delete this drive name? " Warning prompt, click "Yes".
Finally, go back to the explorer and look, D is really gone. And then enter "D:" In the Address bar, and after the carriage return pops up "inaccessible D: This folder has been moved or deleted." "Warning message to achieve hidden hard drive.
Unhide: If you want to access the contents of this partition again, just follow the instructions above to find the Computer Management window and right-click on the local disk without any tags, select Change drive name and path, click the Add button in the "Change Drive letter and path for local Disk" window, and then in the When you assign a drive letter, select D:, and then you can restore it by clicking the "OK" button.