Computer Tips and Tricks
Get the latest posts via rss

Monday 21 November 2011

Clear ReadOnly Disk in Windows Server 2008 R2

We recently had an issue with a hard disk on one of our servers reporting that it was set to read only. It occurred after an unknown error with the system. Windows refused to allow us to write to the disk and stated that the "Media was Right-Protected."

We also found that the read only attribute was nowhere to be found on the properties of the disk, so that we could remove it. To cut a long story short, it can only be removed using the Diskpart Utility with the following commands.

Diskpart is run from the command prompt and launched by typing "diskpart" and hitting enter.