ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

HP ML310e Gen 8 v2 server with Windows Server 2012 NOT loading - disk locked

AlfonsoMoscoso
Occasional Visitor

HP ML310e Gen 8 v2 server with Windows Server 2012 NOT loading - disk locked

Good morning,

A Proliant ML310e server with Windows Server Standard 2012 R2, was working fine for a few weeks until yesterday when it started up and went to repair mode.

When I try to repair it I get the message "The drive where Windows is installed is locked. Unlock the drive and try again."

It has 2 2 TB SATA hard drives, configured in RAID 0. When I run the HP Insight Diagnostics tests, all the hardware pass the test

Is there a way to recover the operating system without losing the data and configuration?

Much appreciated,

Alfonso Moscoso

3 REPLIES
eliask
Occasional Visitor

Re: HP ML310e Gen 8 v2 server with Windows Server 2012 NOT loading - disk locked

The same with HP ML350 ,   Product 776974-425 

Windwos 2012 R2  64bit 

After updates and restart get a BOD on windows 2012 r2 

Repair Mode is showing up with no available solution.

When trying to Refresh the OS I get a message "the drive where windows is intalled is locked"

 

Erick Arturo Perez
Frequent Advisor

Re: HP ML310e Gen 8 v2 server with Windows Server 2012 NOT loading - disk locked

you might want to run diskpart.exe as a admin
and see if your disk or partition has been marked as read only.

Note: the same works for windows 10 and windows 8.1
I guess you will have to boot from recovery media first.


start cmd.exe as a admin
diskpart.exe
list disk
select disk 0 <----------- from the output of the previous command
attributes disk <-------- displays the attributes of that drive

see if it is marked as readonly
here is what mine shows:
DISKPART> attributes disk
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No

if it is not marked readonly i would check the partition tables attrbutes

list volume
seclect volume 2 <-------- this is my windows drive
attributes volume <---------this will dump your volume info

here is what mine looks like:

DISKPART> attributes volume
Read-only : No
Hidden : No
No Default Drive Letter: No
Shadow Copy : No

again you are looking for it being marked as readonly.

if they are marked readonly you can clear the attribute

select disk 0 (or the disk you want to change the attribute for)
list disk
attributes disk clear readonly
list disk <- to confirm you got the right setting
exit

(you use the set to turn on the readonly and clear to remove i)


all else fails you can run repair commands to fix the boot record

with bootrec.exe

bootrec /fixmbr
bootrec.exe /fixboot
bootrec.exe /RebuildBcd

 

julsmar
Occasional Visitor

Re: HP ML310e Gen 8 v2 server with Windows Server 2012 NOT loading - disk locked

Hi my friend, could your resolved the problem? 

Can you tell me how?

I´ll appreciated....