Enable Read-Only for USB on Windows

1. Search -> regedit.exe
2. My_Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSt -> Control
Add Key, name is StorageDevicePolicies and add DWORD under folder StorageDevicePolicies, its name is WriteProtect value is 1 (enable)


















3. Reboot and copy a file to portable USB disk for testing, and it alarms write-protected and please remove protection mode














4. gpedit.msc
Computer configuration -> Administrative Template -> All configuration  -> Removable Storage Write Access




























Refernces
https://www.windowscentral.com/how-enable-write-protection-usb-devices-windows-10

https://www.lifewire.com/remove-write-protection-windows-10-8-7-4586905

這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)