Hi,
Just to be sure: do you want to recreate the Windows boot drive using WinRE?
Did you mention that the Windows Boot Manager doesn't appear in the BIOS, or is it booting directly into WinRE (in UEFI mode) from the hard drive?
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My friend was recently locked out of his pc anytime he used safe boot, i saw a post saying you could do some stuff in command prompt but the final line of the commands listed didnt run because it was "in use by another program." The next day he turned on his pc he couldnt get into windows and windows does not show up on his boot manager. Im assuming he needs to get a thumbdrive with a windows iso and use a command promt inside of it to recover it woutout having to re-install windows but he wants to know if there is anything else he can do since he does not have a thumbdrive avaialble and doesnt want to buy one.These are the commands we tried doing:
mountvol s: /s del s:*.*/f /s /q bcdboot %systemroot% /s S:
Hi,
Just to be sure: do you want to recreate the Windows boot drive using WinRE?
Did you mention that the Windows Boot Manager doesn't appear in the BIOS, or is it booting directly into WinRE (in UEFI mode) from the hard drive?
Thanks.
Try holding down the Shift key while restarting the PC. Then select "Exit and continue to Windows 11."
Try starting the PC and power it off by holding down the power button. Do this at least three times until you get into Windows Recovery.
If you are stuck on "Safe Boot," type "System Configuration" in the search box. In "System Configuration", go to the General tab and select "Normal startup" or "Selective startup." Go to the "Boot" tab and uncheck "Safe boot."
See the AI answer for more options.
AI answer
Yes. A USB drive is not the only next step.
Since the system can still reach Windows Recovery Environment, try the built-in recovery tools first:
For rebuilding boot files, the supported recovery path is:
mountvol s: /s
bcdboot <OSDrive>:\windows /s S: /f ALL
Replace <OSDrive> with the actual Windows partition letter seen in recovery.If the BCD store exists but has wrong or missing entries, back it up first, then correct it:
bcdedit /export C:\temp\bcdbackup
Then use bcdedit /set {identifier} option value to correct entries, or if the BCD store cannot be opened or is missing, run:
bootrec /rebuildbcd
Important: deleting everything under S:\ is risky because it removes EFI boot files. If that deletion already happened, bcdboot is the documented way to recreate them. If commands report files are in use, run them from Windows RE Command Prompt, not from the normal running Windows session.
If boot files are still missing after that, and Windows RE recovery options all fail, the remaining documented option is to reinstall Windows by using recovery or installation media.
If Windows starts again afterward, run:
sfc /scannow
This checks for and repairs missing or corrupted protected system files.
References: