disk writing protection code example Example: disk is write protewcted HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies