How to disable USB devices in win7 computer?

  
            When I used to work in the office, many people like to take things to me to print. In the beginning, I was embarrassed to refuse because of the face, but then this kind of thing became a habit, and sometimes I became a habit. My work can't be completed on time, so I disabled the use of USB devices in the win7 system. Sometimes, when we are in the operation of the computer, we also need to prohibit the USB device to complete some work, then how can we Forbidden USB devices? Below, Xiaobian will give you a demonstration!
1. First, we need to open the computer's Active Directory user and computer, press win+r to open the running window, then enter dsa.msc and single Hit the car to open it.
2. Next, let's select the USB OU that needs to be banned. Right click and select Group Policy. Then we create a GPO for USB and click Edit to open the Group Policy Editor window.
3. In the left menu of the Group Policy Editor window, let's expand "Computer Configuration"---“Windows Settings --“Security Settings”-“File System”, Then right click, select Add File, type %systemroot%\\inf\\usbstor.inf in the file bar and click OK.
4. After that, we need to enter the database security settings to delete all user information, and add everyone, in the permissions will "read and execute", "ldlist; folder contents", "ldquo;" Read & rdquo; check the items to cancel, then add the refusal to full control, and click on the application to perform the operation.
5. Finally, in the window of adding objects, the default current settings can be completed.
Copyright © Windows knowledge All Rights Reserved