Skip to content

Instantly share code, notes, and snippets.

@nolanholden
Created April 1, 2018 05:54
Show Gist options
  • Save nolanholden/6dff23095fb7f467bf54e69ef2681450 to your computer and use it in GitHub Desktop.
Save nolanholden/6dff23095fb7f467bf54e69ef2681450 to your computer and use it in GitHub Desktop.
regedit write-protected usb drive
Click start
then run regedit
go to this directory HKEY_LOCAL_MACHINE\SYSTEM\Currentcontrolset\control\ if you can't find StorageDevicePolicies under control folder then make some new one. Follow this steps:
step 1: go to this directory HKEY_LOCAL_MACHINE\SYSTEM\Currentcontrolset\control\ again and right click control folder
step 2: select new, then click key and rename the new key #1 folder into StorageDevicePolicies
step 3: right click StorageDevicePolicies folder and select new DWORD(32-bit) Value for 32-bit Operating System and select new DWORD(64-bit) Value for 64-bit Operating System
step 4: rename dword newer folder into WriteProtect, then double click WriteProtect and change the value data into 0 with hexadecimal base, Then close regedit
step 5: open my computer and refresh it 5 times without do anything to your usb, and properly eject your flash drive
step 6: plug in your usb again into your computer and format it using exfat instead of fat32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment