Secure USB ports

  • Section(s): Security , Miscellaneous
  • Published on Dec 01, 2005.
  • Last Modified on Dec 01, 2005.
  • Last Modified by Mitch Tulloch.
  • Rated 4.4 out of 5 based on 27 votes.
How to prevent users from downloading sensitive files using USB keys.

USB ports on desktop computers pose a security risk in many environments. This is because simply by inserting a USB flash drive or key into these ports, users can download sensitive files from their computers and transport them off site, possibly in contravention of your corporate security policy.

In Windows XP SP2 you can prevent this by making a registry tweak that makes any USB devices that are plugged into your machine read-only so users can't tranfser files to them. To do this, go to HKLM\System\CurrentControlSet\Control and create a new key named StorageDevicePolicies. Then within this key created a REG_DWORD value named WriteProtect and set it equal to 1.

If desired you could create a .reg file for this tweak and distribute it using a logon script, or you could create a custom ADM template for Group Policy that includes this new setting.

About Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Anti Spam Hardware solution?

Follow TechGenix on Twitter