If you are reading this post then I guess you might be looking for a way to prevent unauthorized copying of files from your computer. Here I will show you three ways by which you can make USB storage devices such as flash drives, external hard disks, etc. connected to your computer read-only. After implementing any of theses, you remove the write access to USB ports but still you can read data from them as you normally do.
Make USB Storage Read-Only Using Group Policy Editor
- Open Windows Run dialog by pressing
Win +R keys together. - Type in
gpedit.msc
and press Enter to open Group Policy Editor. - Now navigate to User Configuration > Administrative Templates > System > Removable storage access and find “Removable Disks: Deny write access” in the list in right window.
- Double click on it and click on Enable.
- Save changes by clicking on OK.
- Finally restart your computer to take effect.
Make USB Storage Read-Only Using Registry
- Open Windows Run dialog by pressing
Win +R keys together. - Type in
regedit
and press Enter to open Windows Registry Editor. - Now navigate to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
. - If
StorageDevicePolicies
key doesn’t exist, you will have to create (right click on ‘Control’ key > New > Key) it. After creating, select the key and right-click in the right window and select New > Dword (32-bit) Value from the context menu. Name the new entryWriteProtect
. - Double-click on
WriteProtect
and change its value from0
to1
.1
disables writing to all USB storage devices, and0
enables writing.
Software to Make USB Storage Read-Only
If you want a quick and easy solution, here are some free software that can enable write protection on USB storage devices with the click of a button:
While enabling write protection adds another layer of defence to your data, it should be noted that the system is not foolproof on its own as users can still email or upload to internet, or copy over a local network connection. However, it is handy if the computer is not connected to the internet or if you just want to protect your friends from copying any file from your computer.