With the help of the system's built-in settings, the USB is disabled, so that no one has the opportunity to use U disks, mobile hard disks, and other rotating in their own computers, thus achieving the goal of self-protection. The method to block all USB storage devices out of the door is simple:
Press win + R to open the run dialog box, enter regedit, and press enter to openRegistryEditor, expand to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ usbstor in sequence. If the START key value on the right is 3, the USB storage device is enabled. If it is 4, the USB storage device is disabled, you only need to modify the key here to disable or enable the USB storage device.
To use this function, you can disable or enable the USB storage device to export the file to a different registry file: Right-click the USB stor entry and select export to Enable USB. Reg. Next, change the value of start to 4, back up the start sub-key as described above, and save it as USB. Reg. When you want to use a USB device, you only need to double-click to Enable USB. reg and agree to write to the Registry, and then restart the system. To disable it, double-click to disable USB. reg and merge it into the registry to disable USB again.