Restrict access to the USB storage devices

26 October 2005 by Snakefoot | Comment » | Trackback Off
The ability to use USB stick and HDD makes it easy to transfer files from one computer to another. By default it is possible for any user to attach such an USB storage device and start transfering data.

Restrict access for installing new USB storage devices by changing the permissions of these files:
  • %SystemRoot%\Inf\Usbstor.pnf
  • %SystemRoot%\Inf\Usbstor.inf
Restrict access to any USB storage device (also existing) for any user by disabling the driver:

[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \UsbStor]
Start = 4

More Info MS KB Q823732

Restrict write access to any USB storage device for any user (WinXP SP2+):

[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Control \StorageDevicePolicies]
WriteProtect = 1

More Info Changes to Functionality in Microsoft Windows XP Service Pack 2

Related Control access to removable storage devices in Vista.

Updated: 12 December 2012

Leave a comment

NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>