usb drive is write protected code example Example: disk is write protewcted HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies