Using the registry to completely hide the u disk drive letter in my computer

  

Disabling the u disk is an effective way to prevent others from copying computer data. However, this method is easy to be seen by others. Others can also enable the u disk to achieve the desired effect. How can we make it impossible for others to use the u disk on the computer? Let's take a look at how Xiaobian is doing today!

First, we open the registry editor, and then expand the following branch [HKEY_CURRENT_USER/software/Microsoft/windows/CurrentVersion/Policies/Explorer], create a new binary value "NoDrives", the default value is 00000000 , means that no drives are hidden. The key value consists of four bytes. Each bit of each byte corresponds to a disk from A: to Z:. When the corresponding bit is 1, the corresponding drive in “My Computer” Was hidden. The first byte represents 8 disks from A to H, ie 01 is A, 02 is B, 04 is C… … and so on, the second byte represents I to P, and the third byte represents Q. To X, the fourth byte represents Y and Z. For example, to turn off the C drive, change the key value to 04000000; to turn off the D drive, change to 08000000, if you want to close the C drive and the D drive, change to 0C000000 (C is hexadecimal, converted to decimal is 12) .


After understanding the principle, let's take a computer as an example to illustrate how to operate: This computer has a hard disk (5 partitions), an optical drive, and the drive letter distribution is like this: C:, D:, E:, F:, G:, H: (CD), so my "NoDrives" value is "02ffffff", which hides B, I to Z.

After restarting the computer, insert the USB flash drive, and you can't see it in "My Computer", but enter I in the address bar (a drive letter after my computer is H) Still can access the mobile disk. Everyone here can see that “NoDrives” is just a blind eye, so we have to do one more step, which is to create a new binary “NoViewOnDrive”, the value is changed to “02ffffff”, which means its value and “NoDrives”. ;the same. In this way, neither the U drive letter nor the U disk can be accessed.

Through the above method, we can hide the u disk at any time. In the case of hiding the u disk, we can also open the u disk in our own way. If you want to hide the u disk, then you may wish to hide the u disk. Try the small introduction method!

Copyright © Windows knowledge All Rights Reserved