How to hide drive letters

Source: Internet
Author: User

1. Open the registry and go to the following path:

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer

Create a new key value NoDrives. The value of NoDrives consists of four bytes. The default value is "00 00 00", indicating that no drive letter is hidden; if you change its value to "FF", all drive letters are hidden. Specifically, the first byte of the NoDrives value can represent eight drive letters A to H, represented by 01, 02, 04, 08, 10, 20, 40, and 80 respectively; the other three bytes can represent the drive letters I to Z respectively. To hide an edisk, assign "10 00 00 00" to NoDrives and "OK" to exit. If you want to hide multiple drive letters at the same time, you only need to add the binary values corresponding to these drive letters. For example, "19 00 00" indicates that three drive letters A, D, and E are hidden at the same time.

If it is restored, just change it back.
Ii. Hidden methods in "Group Policy"

Enter "gpedit. msc" in "start"> "run" to open the Group Policy. Select "user configuration"> "management template"> "Windows Components"> "Windows Resource Manager" in "Local Computer Policy" on the left side of the window ", go to the right window and find the "hide these specified drives in my PC" policy. At this time, the corresponding setting status is "not configured". Double-click it to pop up the "hide these specified drive properties in my PC" window, and select "enable" below ", select "restrict D Drive only" from "select one of the following combinations", and click "OK. In this case, go to the resource manager and check that disk D is missing.

Usage: Enter "D:" (without quotation marks) in the address bar and press Enter. The content hidden in the D drive partition will immediately show its original shape. If you think the confidentiality is not good, you can try the following method. In addition, this method fails when multiple physical hard disks are used. You can try it.

Iii. Full hiding of "Computer Management"

Right-click "my computer" and choose "manage". In the displayed "Computer Management" window, click "disk management" under "Storage ". In the right window, all partitions of the local hard disk are displayed. Right-click the partition to be hidden (such as the D disk) and select "Change drive name and path" from the shortcut menu ", then, the "Change drive letter and path of local disk (D :)" window appears. Select "D:" in the window and click "delete. "The deleted drive letter may cause the program to stop running. Are you sure you want to delete this drive name ?" And click "yes ".

Finally, go back to the resource manager and check again. The D disk is really gone. Enter "D:" in the address bar, and press Enter. "cannot access D: this folder has been moved or deleted ." To hide the hard disk.

Unhide: If you want to access the content of this partition again, find the "Computer Management" window as described above, right-click the ephemeral disk without any mark and select "Change drive name and path ", in the displayed "Change drive letter and path of local disk" window, click the "add" button, and then select "D:" after "Assign drive letter :", click "OK" to restore.
 



<

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.