Why Download Winrar?

Tuesday, November 4, 2008

Disable/Enable Writing to USB Drives in Windows Vista or XP

Post A Comment

A common security problem at organizations and even for individuals, is that unauthorised users try to plug in USB flash drives to the computer and easily copy corporate data.

Now here a trick to protect your valuable data from external intruders from your computer.For this problem, we tweak the windows registry to enable/disable writing to USB devices.What you have to do is simple:

To disable writing to USB devices in Windows Vista/XP:

Open the notepad editor from vista start menu and copy the following code to it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
“WriteProtect”=dword:00000000


Save the file as "DisableUSBWrite.reg" (type with quotes in the notepad "Save As" dialog box) in your hard disk and merge it to the windows registry by double clicking on it.

To enable writing to USB devices in Windows Vista/XP:

Open the notepad editor from vista start menu and copy the following code to it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
“WriteProtect”=dword:00000001


Save the file as EnableUSBWrite.reg in your hard disk and merge it to the windows registry by double clicking on it.


After the registry tweaking, restart your computer to effect the changes.

Make sure your other users are not administrators or they could easily change these settings back.


Hey, Drop Us a Comment Here:

0 comments:

Recent Posts