How to Write-Protect USB Flash Drive

Posted by Sharan R On 6:13 AM

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. Because 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.

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. 

Just follow these steps:
1. Open the Registry Editor (Open the “Run” dialog box, type regedit and hit “Enter”).

2. Navigate to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\

3. Create a New Key named as StorageDevicePolicies. To do this right-click on Control, and 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.

Write-Protect USB Drive 
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.

USB-Write Protect Error


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. 

3 comments

  1. This is a brilliant post! I never got a summer glow this year,which I don't mind but great post for those who want to keep it!
    Custom flash drives for marketing

    Posted on July 23, 2018 at 2:24 AM

     
  2. This is really awesome and beautiful.
    Thank for this sharing.
    Sony Pen Drives

    Posted on August 13, 2018 at 2:52 AM

     
  3. John Smith Said,

    Access to computers and other control systems which might provide you with information about the way the world revolves around technology should be unlimited and total. All information should be free and accessible to all. Seeing how you are being monitored by most of these tech companies. And also needing cyber help in many areas of your day to day activities, we at INTEGRATEDHACKS have come come up with a team of highly motivated and dedicated hackers to help you get access to information you are being deprived of and also protect you when necessary. Our services include and are not limited to hacking of social media accounts,email accounts, tracking of phones hacking of bank cards and many more.
    Have you ever been hacked? Need to recover your stolen account, Want to monitor your kids,spouse or partner, Change your school results, track messages from an email or mobile number, secure your email accounts, phones, bank accounts and many more, INTEGRATEDHACKS is the one for you. Hundreds of our clients have their jobs done consistently and efficiently in no time. Our professional hackers for hire team is highly qualified and can hack anything or device you desire without giving the target any form of notification which makes us one of the best.
       Are you having doubts about your partner ? Worry no more. All your doubts would be cleared.


    ★ Contact Us today For Your Desired Hacking services via : integratedhacks@protonmail.com and experience cyber hacking like never before.

    Posted on January 19, 2019 at 6:50 PM