Sign in with
Sign up | Sign in
Your question

Drive where windows is installed is locked

Last response: in Windows 8
Share
October 23, 2013 11:19:21 AM

upgraded to 8.1 yesterday and I have been having troubles so I am trying to do a Refresh.
Says "the drive where windows is installed is locked. Unlock the drive and try again"
What is wrong? what do I do?
December 1, 2013 6:31:29 PM

If you are using PCIE SSD, below can be found the data recovery solution, because no other solution works. Tried so many, too many actually.



1.) Insert a spare drive in your PC.

2.) Run the clean installation of win 8 on that drive.

3.) When logging into Win for the first time, install the PCIE SSD drivers.

4.) Run "chkdsk F: /f". F: denotes your PCIE SSD drive after its driver installation. It could be another drive letter.

5.) Now if you use Command Prompt you can see the files on the PCIE SSD. If you use Eplorer it will not be possible.

6.) Find a good recovery program to recover the data on the external drive. Or if you know DOS commands use those.

7.) Clean install win 8 on PCIE SSD and format the old spare drive.



Microsoft really did a "great" job. Yesterday my PC was working just fine. Today I turned it on I saw only the black screen with white cursor in the top left corner after the BIOS screen. F8 command did not work. Win 8 installation cd neither. It has lousy support for PCIE SSDs. Luckily I could get my data back, otherwise ...



What is worse they are trying to disguise it as virus when it was the Win Update which shabanged everything.
m
0
l
Related resources
January 14, 2014 12:20:56 PM

alexdale94 said:
upgraded to 8.1 yesterday and I have been having troubles so I am trying to do a Refresh.
Says "the drive where windows is installed is locked. Unlock the drive and try again"
What is wrong? what do I do?


m
0
l
a b * Windows 8
January 14, 2014 1:07:57 PM

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

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

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

with bootrec.exe

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

sorry if this seems complex, it is just a shame to have to wipe a drive for this problem


m
0
l
January 18, 2014 11:23:48 AM

johnbl
i have attributes listed as readonly. in your response you say to clear the attributes, but i dont see where you indicate how to do that. howdo i change them form yes to no?
m
0
l
a b * Windows 8
January 18, 2014 11:37:12 AM

http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
or
http://pario.no/2011/05/23/clear-read-only-flag-on-disk...

it has been a while but I think you will want to
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)


sevans011 said:
johnbl
i have attributes listed as readonly. in your response you say to clear the attributes, but i dont see where you indicate how to do that. howdo i change them form yes to no?
m
0
l
January 21, 2014 5:20:35 PM

just run auto fix from windows usb repair and it is fixed
m
0
l
April 18, 2014 7:26:26 AM

I had the same problem. After working fine for months, Windows 8 (on an SSD) would not boot. I booted the machine from Win 8 CD; automatic repair and refresh did not work, diskpart and bootrec suggestions did not work. A simple solution that I did not expect to work actually worked: I put the SSD into an external USB sata disk cradle, and plugged that into another Windows 8 machine. The SSD and its volume was recognized and I was able to copy all of the data off of it.
m
0
l
May 2, 2014 6:17:52 AM

alexdale94 said:
upgraded to 8.1 yesterday and I have been having troubles so I am trying to do a Refresh.
Says "the drive where windows is installed is locked. Unlock the drive and try again"
What is wrong? what do I do?


my impasse was because, Under Bios, under Advanced, i had the CSM setting.
I switched it to UEFI and it was then that I didn't get the "Drive where windows is installed is locked"
m
0
l
!