Automatic Repair Loop in Windows 8.1

I have a Lenovo Thinkpad Yoga 14 that will not boot up correctly. It continues to boot in the Auto Repair and loops. When booting from Windows 8 media I cannot run a chkdsk or Refresh PC option. I get the error that the drive is locked.

error: The drive where Windows is installed is locked. Unlock the drive and try again.

Note: I had to disable secure boot in the BIOS to boot from alternate media.

Thanks in advanced for the assistance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
If there is any time delay trying to restart, press F8 repeatedly to see if you can force the computer to start in safe mode. You need to be quick with F8 because Windows 8 has a fast boot option by default.
Scroll through and see whether the solutions for "drive is locked" work for you.
remedinaAuthor Commented:
@John - no time delay, I can get on Safe Mode option, but that automatically starts the "Auto Repair / Starting Diag" process. The drive is configured with UEFI which may have something to do with the startup process not sure. In any case, I can get a Windows 8 DVD to boot, but cant correct any corrupt files using chkdsk due to the drive being "locked".
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

JohnBusiness Consultant (Owner)Commented:
You can try disabling UEFI in BIOS if you can get there.

If that does not work, then you should take the drive out, put it in  carrier and take it to a working computer. Recover all your documents, data, emails, favourites and so on.

Then boot with the Windows 8 DVD and reinstall Windows 8.
remedinaAuthor Commented:
@McKnife - I ran the below command:
bcdedit /set {default} recoveryenabled NO command and now get a blue screen with error:

The operating system couldn't be loaded because a critical system driver is missing or contains errors.

File: \windows\system32\DRIVERS\gzflt.sys
Error code: 0xc000007b

Choose Esc for Recovery
Press Enter to try again
Press F8 for startup settings

Pressed Esc and ran startup repair - ATTEMPTING REPAIRS... Startup Repair couldn't repair your PC.
Refresh PC - the drive where Windows is installed is locked. Unlock the drive and try again.
gzflt.sys belongs to bitdefender from what I googled.
You could try and deactivate the corresponding service from WinPE. Boot setup, press shift F10, enter "regedit", navigate to HKLM, open the reghive system and deactivate the bitdefender service and dismount the hive and reboot.

If help is needed on these steps, just say on which.
remedinaAuthor Commented:
Is there a way to browse a file system that is EFI?
JohnBusiness Consultant (Owner)Commented:
UEFI is a BIOS structure not a main file system structure. You should be able to see the disk with Disk Management and then the partition with Windows Explorer.
"File system that is EFI"? EFI is no file system. We can browse the file system from any windows setup dvd as described before. Shift F10 and there you go.
remedinaAuthor Commented:
I can get to the registry now, but not sure how to disable the service or prevent it from running.
Ok, look at this, it tells you how to disable a service by regedit:
But first, we need to mount that offline registry, see:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
remedinaAuthor Commented:
I've requested that this question be deleted for the following reason:

no longer required
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.