There are actually a lot of ways. If you can use the registry to prohibit, but the small number of the registry to prevent the risk of more easily crack the registry, so the following use another approach.
The first step: we press the key combination Win + R then enter gpedit.msc and click OK to enter, as shown.
Step two: Then in the open window to navigate to: Computer Configuration---Management template--system--device installation--device installation limit, on the right double-click settings: Prohibit the installation of removable devices, as shown:
Step Three: Disable the installation of the removable device settings interface, choose not configured as configured, and then click OK at the bottom to save it.
Fourth Step: Finally restart the computer, try the U disk will not be normal use, this is very simple ah, of course, the other methods are not introduced, if you want to be again as long as the closure can be.