Method 1: BIOS setup)
Go to BIOS settings, and select; integrated peripherals; option. After you expand the options, set; USB 1.1 controller; and; USB 2.0 contr01ler; Option to; disableed; to disable the USB interface. Finally, do not forget to set a password for the bios, so that others cannot solve the problem by modifying the Registry; lock; The above device.
Note: This method completely disables the USB interface. That is to say, all USB interfaces cannot be used, including USB disks and mobile disks. Please use it with caution because it is too aggressive.
Method 2: Disable the startup of a flash drive or mobile hard drive (applicable to Windows XP/2000/2003)
Open the Registry Editor, expand the following branch [HKEY_LOCAL_MACHINE \ SYSTEM \ currentcntrolset \ Services \ usbstor], find the DWORD Value; start; In the right pane, double-click, in the displayed edit dialog box, change the value to a hexadecimal value. 4 ;. Click OK. Close the Registry Editor and restart the computer for the settings to take effect. When a USB storage device is connected to a computer, although the indicator on the USB device is flashing normally, its drive letter cannot be found in the resource manager, therefore, the USB device cannot be used.
Method 3: Hide drive letters and disable viewing (applicable to Windows)
Open the Registry Editor, expand the following branch [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ ploicies \ Explorer], and create a binary value; nodrives; The default value is 00 00 00, indicates that no drive is 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, my computer; the corresponding drive is hidden. The first byte represents the eight disks from A to H, that is, 01 is A, 02 is B, 04 is C & hellip; and so on, the second byte represents I to P, the third byte represents Q to X, and the fourth byte represents Y and Z. For example, to disable drive C, change the key value to 04.
00 00 00; To disable drive D, change to 08 00 00 00. To disable drive C and drive D, change to 0C 00 00 00 (C is in hexadecimal format, convert to 12 in decimal format ).
After understanding the principle, the following uses my computer (smiling) as an example to describe how to operate: My computer has a soft drive, a hard drive (five partitions), and an optical drive, the drive letter distribution is as follows: a :( 3.5 floppy disk), C:, D:, E:, F:, G:, H :( cd), so mine; nodrives; the value is; 02 FF;, which hides disk B and I to disk Z.
After restarting the computer, insert a USB flash drive, which is invisible to my computer, but enter I in the address bar: (H is the last drive letter after the power of my computer) you can still access the Mobile Disk. As we can see from this: nodrives; it's just a blind eye, so we have to take another step, that is, to create a new binary; noviewondrive;, with the value changed to; 02 FF;, that is, the value and; nodrives; same. In this way, neither the USB flash drive nor the USB flash drive can be accessed.
Method 4: Disable USB Driver Installation
In Windows Resource Manager, go to the; System Disk: \ windows \ INF; directory and find the directory named; usbstor. PNF;, right-click the file, and select; properties; from the pop-up menu. Then, switch to; security; tab, and select the user group to be disabled in the; group or user name; box, in the user group permission box, select; full control; followed by; deny; check box, and click; OK.
Use the preceding method to find the; usbstor. inf; file and set it on the Security tab to deny access to the group's users. The operation process is the same as above. After the preceding settings are complete, the user in the group cannot install the USB device driver, so as to disable the driver.
Note: To use the access control list (ACL), use the NTFS file system </PRE>