If you are encountering an error message that says “The drive where Windows is installed is locked. Unlock the drive and try again,” then you’ve come to the right place. In this tutorial, we will provide you with simple steps to fix this issue.
First, open your settings menu and choose “Update and Security”. Click on the “Windows Update” button and select “Download and Install” to ensure that your Windows is up to date. Sometimes, this simple process can resolve the error.
If the problem persists, proceed with the advanced options. Click on the start menu and then click on the turn off button. Press and hold the shift key and then click on the restart button to restart your system in the troubleshoot mode. When the system restarts in troubleshoot mode, click on the troubleshoot button and then click on advanced options. From there, choose cmd.
In this step, we will rebuild your BCD. Type the following commands one by one:
1. Bootrec /fixmbr
2. Bootrec /fixboot
3. If the bcd command shows you an error, type “bootsect /nt52 c:” and hit enter. Then type “bootrec /fixboot” again.
4. Bootrec /scanos
5. Bootrec /rebuildbcd
Once the operation is completed successfully, type “exit” and hit enter. Now, choose the option to exit and continue to Windows 10 and check if the problem persists.
If the problem still persists, choose the troubleshoot option again, click on advanced options, and select cmd. In this step, we will make your disk active. Type “diskpart”, “list disk”, “select disk 0” (or whatever number your disk is), “list partition”, “select partition 1”, and “active”. Then type “exit” twice to close the command prompt.
Choose the first option to exit and continue to Windows 10 and check if the problem is resolved or not. If the problem persists, type the command “chkdsk c: /f /x /r” in cmd, and then type “sfc /scannow”. Restart your system and check if the problem is resolved.
These are the four possible ways to fix your problem. If you still face the problem, kindly comment below, and we will try to find more ways for resolution.