To prevent data theft from computers disabling USB storage is important.
Follow these instructions to disable USB storage device
If a USB storage device is not already installed on the computer
If USB storage device is not installed Apply Deny permissions to the following files:- %SystemRoot%\Inf\Usbstor.pnf
- %SystemRoot%\Inf\Usbstor.inf
- %SystemRoot%\system32\drivers\usbstor.sys
To assign a user or group Deny permissions to the Usbstor.pnf, Usbstor.inf and Usbstor.sys files follow these steps:
- Click on Start -> Run type %SystemRoot%\Inf.
- Find Usbstor.pnf. Right-click the Usbstor.pnf file, and then click Properties.
- Click the Security tab.
- In the Group or user names list, click the user or group that you want to set Deny permissions for.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
Note Also add the System account to the Deny list. - Right-click the Usbstor.inf file, and then click Properties.
- Click the Security tab.
- In the Group or user names list, click the user or group that you want to set Deny permissions for.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
- Click on Start -> Run type %SystemRoot%\system32\drivers
- Find Usbstor.sys. Right-click the Usbstor.sys file, and then click Properties.
- Click the Security tab.
- In the Group or user names list, click the user or group that you want to set Deny permissions for.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
If USB storage is already installed then follow these steps
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor - In the details pane, double-click Start.
- In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
- Exit Registry Editor.
- USB storage device will be disabled
Even after following above steps if it is not disabled then follow the these steps:
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate and then click the following registry key:
- In the details pane, double-click Start.
- In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
- Now Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet2\Services\UsbStor - In the details pane, double-click Start.
- In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
- Exit Registry Editor.
Note:Disabling USB storage device does not effect connecting USB keyboard or USB mouse to your computer. It will only disable USB storage device.



0 comments:
Post a Comment