Windows Vista and XP allows the user to secure their information by disabling composing authorization to USB drives. There are two ways to do this job.First one is the simplest method, through Group Policy (not readily available in XP Home, Vista Basic and Premium). And the second one is through Windows Registry.
Using Group Policy:
Action 1: Type “gpedit.msc” (without quotes) in Start Menu Search box and hit enter or type the same in Run dialog box.
Step 2: Navigate to Computer Configuration \ Administrative Templates \ System \ Removable Storage Access.
Step 3: On the right side pane, best click the option named “Removable Disks: Deny compose access” and select Properties.
Step 4: Select “Enabled” and click “Apply”.
Utilizing Windows Registry:
Step 1: Open Windows Registry Editor by typing “regedit”( without quotes) in Start Menu Search box or in Run dialog box.
Step 2: Go to the following pc registry key:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ StorageDevicePolicies.
Step 3: Create a brand-new DWORD value called “WriteProtect” (without quotes) and set it’s value to 1 to allow compose safeguard.
Step 4: Close the computer system registry editor and reboot.
Note: Although I have not checked this tweak in XP, I hope this works fantastic in XP too.