The drive where windows is installed is locked. unlock the drive and try again (windows server 2012 R2)

Julia Muller 1 Reputation point
2021-10-31T22:23:32.27+00:00

Hi Everyone,

A charity where I volunteer has an HPE ProLiant DL60 Gen9 Server. It is equipped with 2 hard drives 1TB SATA configured in raid 1.

Raid: HPE Dynamic Smart Array B140i RAID Controller

The installed operating system is Windows Server 2012 R2. When the server starts up, I come across the screen "Troubleshoot". By clicking on "Refresh your PC", I end up with the following message: "The drive where windows is installed is locked. unlock the drive and try again"

BitLocker is not activated.

I used diskpart to check if it sees the disks and it shows me the following message: "There are no fixed disks to show"

All LEDs on the server and hard drives do not indicate any problems as described in the user guide.

Drive status : Solid green. The drive is a member of one or more logical drives.

I tried a repair with Lazesoft, I can see the disks. I used Check Disk and no error were found on the disks.

I tried these commands :

DISM.exe /Image:C:\ /Cleanup-Image /ScanHealth
Dism.exe /Image:C:\ /Cleanup-Image /RestoreHealth

I encountered some erros.

First : The scratch directory size might be insufficient to perform this operation (for both commands)
Second : DISM ‘restorehealth’ error 0x800f081f

I tried to set the Scratch folder with this command :

mkdir C:\Scratch

I encountered some erros.

Access is denied.
Error occurred while processing c:\
A subdirectory or file Scratch already exists

I don't know what caused the problem. I was not the person in charge of maintaining the server before, and the person who took care of it tells me he did not do anything special on it. The server is used to run a Sage application, Ciel and Active directory (I do not have the software references at hand).

Does anyone have an effective solution to solve this problem ?

I haven't tried safe mode yet. Do you think I should give a try ?

A huge thank you for your help. Good evening.

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,525 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,072 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,266 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP
    2021-10-31T22:37:42.877+00:00

    "Troubleshoot". By clicking on "Refresh your PC"

    Sounds a bit of an odd one for a server OS to present.

    "The drive where windows is installed is locked. unlock the drive and try again"

    What operation are you trying to perform here? chkdsk?

    I used diskpart to check if it sees the disks and it shows me the following message: "There are no fixed disks to show"

    Most likely missing the disk controller driver. You could try booting the install media then at the prompt here choose Load Driver and provide the HP disk controller driver.
    145313-image.png

    then choose Repair you computer

    145314-image.png

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Docs 15,141 Reputation points
    2021-11-01T05:51:20.083+00:00

    Open disk management > widen the Volume and Status columns so that no characters are cutoff > widen the disk 0 row so that no characters are cutoff > post an image or share link into this thread

    For share links please use one drive, drop box, or google drive.

    Please post images of these administrative command prompt commands with results:

    bcdedit /enum all
    bcdedit | find "osdevice"

    diskpart
    lis dis
    lis vol
    sel dis 0
    det dis
    lis par
    sel par 1
    det par
    sel par 2
    det par
    sel par 3
    det par
    sel par 4
    det par
    sel par 5
    det par
    sel dis 1
    det dis
    lis par
    sel par 1
    det par
    sel par 2
    det par
    sel par 3
    det par
    sel par 4
    det par
    sel par 5
    det par

    .
    .
    .
    .
    .
    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post: Vote = a helpful post
    .
    .
    .
    .
    .

    0 comments No comments