- In Windows Explorer, navigate to the systemroot folder (usually named WINDOWS) and then to the Inf folder.
- In the Inf folder, right click the file named Usbstor.pnf and select Properties.
- Click the Security tab.
- Find the name of the user you want to prevent from using USB storage devices in the list labeled Group Or User Names.
- In the Permissions list, check the Deny checkbox next to Full Control.
- Click OK.
Repeat the above steps for the file named Usbstor.inf.
Now the user(s) you selected will not be able to install USB storage devices to the computer.
If one is already installed, you'll need to edit the registry to prevent USB devices from working.
- In your registry editor, navigate to:
HKEY LOCAL MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
- In the right pane, double click the item labeled Start and in the Value Data field, enter 4 (make sure Hexadecimal is selected as the data type).
- Click OK and close the registry editor.