Windows
Having problems using diskpart in Windows 7 or Windows 2008?
Do you get errors such as “Disk is offline because of policy set by administrator” or “media is write protected” when trying to create partitions in Windows, especially for SAN storage volumes or LUNs?
Have no fear, there are easy fixes for both. These usually occur on SAN disks presented to Windows servers, either physical or virtual.
Issuing the following commands will solve both problems per incident. Below that I posted an option to avoid the offline disk problem on each server for the future by changing the policy per server.


Recent Comments