XP SP2: Block Access to USB Storage Devices

Contributor Icon Contributed by MickeyMouse Date Icon August 27, 2004  
Tag Icon Tagged: Windows

SP2 now allows an administrator to prevent USB storage devices from attaching to the system. In some situations this should increase the security when somebody has direct access to a box.


This has been updated here:

How To Prevent Windows XP Users From Writing To USB Drives

Systems by default will allow USB storage devices to connect without problems. This allows an easy pathway for a user to download or upload large files from the system. In some environments, this is helpful; other times it can be a security nightmare.

Here’s the registry key to turn it off.

(If you don’t know registry, don’t mess with this stuff.)

If you don’t have this key, you might need to create it.

    Location:
    HKEY_LOCAL_MACHINE\System\
    CurrentControlSet\Control\StorageDevicePolicies

    Setting name:
    WriteProtect

    Dword values:
    0 (is the default and allows USB devices to connect)
    1 (prevents USB devices from connecting)

Previous recipe | Next recipe |
 
  • Francisco
    This is NOT to disallow connecting USB devices. This is to disallow WRITING TO connected USB devices.

    Didn't the name "WriteProtect" suggest it enough?
  • Anonymous
    Thx.
    After installing SP2 on my laptotp. I was unable to connect any new usb device to the usb2.0 ports. The PC was continuosly asking me for a device 's driver, which of course for usb pen drive you do no need it.
    This new registry key solved my problem!!!!
  • bodmin
    It does not help....
  • Anonymous
    The admins over here recently installed this one www.gfi.com/endpointsecurity to block usb device use. I read that they can just choose who can access what. Say goodbye to my iPod music on the pc! :(
  • puloy
    I find this reg key very usefull...
blog comments powered by Disqus