hi folks. Sometimes its necessary to Write protect the USB drive to prevent it from viruses and Trojans specially when you use it in a crowded area like in Office, School or College.
Here, I'm gonna show you a simple trick to Write protect the USB drive in your PC without any third party software by simply making changes in the Windows registry.
Lets start:
- Open Notepad. copy the following code in it.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies] "WriteProtect"=dword:00000001
- Save it as registry file. Double click on it and you're done.
Now whenever you'll insert the USB and want to write in it, it'll deny it with following error.
If you want to remove the write protection from the USB then,
- Open Notepad. Copy the following code in it.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies] "WriteProtect"=dword:00000000'
- Save it again as anything.reg file. Double click on it and viola you're USB drive is again ready to be written :P
Keep Learning. Keep Rocking :)
ConversionConversion EmoticonEmoticon