[Version] Signature="$Windows NT$" Provider=%INF_Author% ; INF Description ; This INF file will prevent Windows XP from writing to block storage devices via USB. ; Installation Instructions ; Right-Click this INF file and choose install ; Installation Notes ; You must have administrator rights to install this file. ; More info at http://www.nilpo.com/2007/07/windows-xp/disable-writing-to-block-storage-devices-on-usb-buses/ [Strings] INF_Author="Created by Nilpo" Author_Site="http://www.nilpo.com" Author_Email="nilpo (at) nilpo.com" ThisKey="System\CurrentControlSet\Control\StorageDevicePolicies" [DefaultInstall] AddReg=WriteRegKeys [WriteRegKeys] HKLM, %ThisKey%, WriteProtect, 0x00010001, 0x00000001