How To: Disable The Use of USB Storage Devices in Windows XP
Article ID: 823732Last Review: August 19, 2003Revision: 1.0
IMPORTANT: This article contains information about modifying the registry Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs For information about how to back up, restore, and.. Edit The Registry, Click The Following Article Number To View The Article In The Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
In this task
Summary
To Disable The Use of USB Storage Devices in Windows XP
• IF a USB Storage Device Is Not Already Installed On The Computer • IF A USB Storage Device IS Already Installed on The Computer
Summary
.
Back to the top
To Disable The Use of USB Storage Devices in Windows XPTO Disable The Use of USB Storage Devices in Windows XP, Use ONE FOLLOWING Procedures, As Appropriate to your situation:
Back to the top
IF a USB Storage Device Is Not Already Installed On The Computerif A USB Storage Device Is Not Already Installed On The Computer, Assign The User or The Group Deny Permissions To The Following Files:
•% SystemRoot% / Inf / Usbstor.pnf •% SystemRoot% / Inf / Usbstor.inf When you do so, users can not install a USB storage device on the computer. To assign a user or group Deny permissions to the Usbstor.pnf and USBSTOR.INF Files, Follow these Steps:
1.Start Windows Explorer, and the Locate THE% SystemRoot% / Inf folder.2.right-click the usbstor.pnf file, and then click Properties.3.click the security tab.4.in the group or user names list, click the user or group that you want to set Deny permissions for.5.In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.6.Right-click the Usbstor. Inf file, and then click Properties.7.click The security tab.8.in the group or user names list, click the user or group thing you want to set deny permissions for.9.in the permissions for username or groupname list, Click to select the deny check box next to full control, and then click ok.back to the top
IF a USB Storage Device IS Already Installed On The Computer
WARNING:... If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system Microsoft can not guarantee that you can solve problems that result from using Registry Editor incorrectly Use Registry Editor at your own risk If a USB Storage Device IS Already Installed On The Computer, SET THE
Start Value in The Following Registry Key To 4:
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / USBSTOR
WHEN you do so, the usb storage device does not work when the user connects the device to the computer. To set the
Start Value, FOLLOW THESE STEPS:
1. Click Start, And the Click Run.2.in The Open Box, Type Regedit, And The Click OK.3.Locate, and The Click The Following Registry Key:
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / USBSTOR
4.in The Right Pane, Double-Click Start.5.in The Value Data Box, Type 4, Click Hexadecimal (if it is not already selected), and the click ok.6.quit registry editor.back to the TOP
Applies TO
• Microsoft Windows XP Home Edition • Microsoft Windows XP Professional Edition
Back to the top
Keywords: kbinfo kb823732
Back to the top
(source:
Http://support.microsoft.com/default.aspx?scid=kb;n-us;823732)