Secure USB by Write Protecting the Drive

You might have noticed that when you connect your pen drive to your computer after connecting it to unknown computer, there are number of malicious items running on your system. This can threat your system or data stored in it. Scanning your device also consumes time, so here is how you can safeguard your data on your USB device from getting infected that is by write protecting your Pen Drive. Follow the tutorial below how to write protect your USB Pen Drive.Write Protect usb

By preventing or write protecting your USB pen drive, you are blocking the ability to transfer any data unless you disable it. This tweak here deals with registry editing, so set a backup or restore point before making any changes on the Windows registry.

You need to login with Admin privileges in order to deal with the Registry Editor.

Steps to make your drive Write Protected

  • Press Windows key + R, to open Run box
  • Type regedit and hit enter; this will open Windows Registry Editor
  • In this registry, navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
  • Next, find sub key named “StorageDevicePolicies” under it. If it doesn’t exist, then you need to create one. Right click on Control key > New > Key and name it StorageDevicePolicies

write protect usb

  • Now right click on the newly created registry key and then click New > DWORD value and name it as WriteProtect and assign a value 1

write protect usb

  • Finally, click OK and reboot your PC to effect the changes made.

Once you have completed all the steps described above you can try connecting USB devices, you will find that you are no more allowed to transfer data to the system drive. To start using the drive again simply set the WriteProtect key to 0 instead of 1 and restart your PC.

Upon following the tutorial here you can write protect your USB pen drive and secure it from getting infected along with your computer and data stored in it.


No comments yet.

Leave a Comment