The Tech Diary of an IT support geek

  • Home
  • Android
  • iOS
  • Mobile
  • PC
  • Tips
  • Contact US
Home » How to Write-Protect Your USB Flash Drive?

How to Write-Protect Your USB Flash Drive?

Many a time, it becomes necessary for us to write protect our USB flash drive so as to protect it from viruses and other malware programs. As flash drives are so popular and most widely used to move data between computers, they are the prime target for attackers as a means to get infections spread around the computer world. Also, since USB drive is not a Read-Only Memory (ROM), the data inside it can easily be modified or deleted by malware programs.

But unfortunately, most of the new flash drives do not come with a write-protect feature as the manufacturers wish to cut down the cost of production. Hence, the only way to write-protect your USB flash drives is to enable this feature on your own computer.

Steps to Write-Protect Your USB Drive:

This can be done by adding a small entry to the Windows registry which acts as a switch that can be enabled to make use of the write protection or disabled to allow write access. Here we go:

  1. Open the Registry Editor (Open the “Run” dialog box, type regedit and hit “Enter”).
  2. Navigate to the following Registry key:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl

  3. Create a New Key named as StorageDevicePolicies. To do this, right-click on Control, again click on New -> Key and name it as StorageDevicePolicies.
  4. Now right-click on  StorageDevicePolicies and create a New -> DWORD (32-bit) Value and name it as WriteProtect.
    USB_Write-protect
  5. Double-click on WriteProtect and set the Value data to 1.

    Now the right-protection for USB drives is enabled on your computer (no restart required) and thus it would not be possible for anyone or any program to add/delete the contents from your USB flash drive. Any attempt to copy or download the files onto the USB drive will result in the following error message being displayed.

To revert and remove the write-protection, all you need to do is just change the Value data for WriteProtect (Step-5) from 1 back to 0. Now write access to all the USB devices is re-enabled.

Sometimes it may seem difficult to remember and follow the above mentioned steps each time you want to enable/disable the write protection. Hence as an alternative way, there are many tools available to automatically enable/disable the write-protection feature. One of my favorite tool is USB Write Protect by Naresh Manadhar.

I hope you’ve now understood how to enable or disable write-protection of USB devices on your computer.

  • Facebook
  • Twitter
  • LinkedIn
  • WhatsApp
  • Reddit

Related

Posted by Obasi Miracle on this date: Leave a Comment Tagged With: Computer
Shortlink:

Sign Up in Seconds

Join us to get latest posts (ONLY) delivered to your inbox. No Spam, We Promise!

About Obasi Miracle

I am a dedicated web developer with interest in blogging and app development. I have lots of buddies and always ready to connect with like-minded pals - See more about me.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Next PostHow to Create Your Own Customized Run Commands?
Previous PostHow to Take Ownership of Files and Folders in Windows 7?

RSS feed: Inside: 3rd Planet Techies Inside: 3rd Planet Techies

  • Why Checking Your App Subscriptions Matters More in 2026 Than Before
  • 15 Best Sci-Fi Movies on Netflix and Amazon Prime
  • 7 Best LLM for Coding in 2026
  • 7 Best MP3 CoverTag Generators For Windows and Mac

Sign Up in Seconds

Join us to get the latest posts (ONLY) delivered to your inbox. No Spam, We Promise!

Recent Posts

  • How to Improve Fleet Utilization with a Multiple Stops Route Planner
  • Why Contactors Are Essential for Motor Control Applications
  • 10 Vipbox Alternatives For Free Sports Streaming in 2026
  • How to Perform Reverse Phone Number Checks
© 2026. The Tech Diary of an IT support geek. Privacy Policy