The .Net coal face

Wednesday, February 06, 2008

Vista x64 - "the disk is write-protected"!?

I am the proud owner of a new Vista x64 8GB machine.

After a reboot this morning SQL Server had declared that all of my databases were suspect. After a bit of scratching around I discovered that my D:\ (RAID 10) where all of my data lives had become read only. This was not a permissions problem as it was working before the reboot. I rebooted and it was still the same.

After a bit of googling and reading between the lines I rebooted, pulled the power, went for a coffee, read the paper, powered it back up and it started working again.

For the record you may see ""the disk is write-protected" or "the media is write protected". Also, Vista SP1 has just gone to RTM so it is not installed but otherwise the computer is fully patched.


 

2 Comments:

  • Had the same write-protection problem in Vista x64 Ultimate.

    Found a temporary solution, open a command prompt, start bootpart, select your disk/partition/volume and remove the attributes.


    EXAMPLE (please change the select statement according to what disk you want to unprotect):

    C:\>Diskpart
    select disk=2
    select partition=1
    select volume=d
    Attributes volume clear readonly

    Afterwards the disk can be used again. This whole thing could be related to a device driver error but at least for me I have not found another driver that is working...

    By Anonymous Anonymous, at 2:47 AM  

  • I have windows 7 x64 build 7201 and I am having the Write Protected error on my Raid Drives that are connected on my EP45-UD3R gigabit controller. They are two 250gb driver connected in raid 0, and this randomly happens to one partition, but not the other (on the same raided setup). There are two partitions on this raid, one for iso's and one for programs/drivers and the iso one can be write protected while the other partition is not. I tried the diskpart commands you suggested and it was a no go in windows 7.

    By Anonymous Anonymous, at 3:15 PM  

Post a Comment

<< Home