Skip to main content

How to Make a Write-Protected USB Flash Drive

To make write protection on a USB drive, you need some editing using diskpart program in terminal. 

  1. First, press windows logo and write command or find command line shortcut and click on it.
  2. When the window opens, write diskpart in it (picture 1 below).
    1. If you did not start command line with administrator privileges, diskpart asks you when it starts.
  3. Then write "list disk" command (picture 2 below).
  4. See and determine the USB drive that you want to make write-protection. In my case, it is "Disk 1"...
  5. Use "select disk 1" command (picture 3 below).
  6. Use "attributes disk set readonly" command (picture 4 below). 
  7. That's all...
  8. When you want to copy or delete some files in it, do steps from 1 to 5 and then use "attributes disk clear readonly" command...



Comments