Changing ownership and deleting files under WindowsApps can break Windows startup. Since Startup Repair already failed and access to Repair your computer from the Windows 10 USB is working, the supported next path is to use WinRE Command Prompt and try offline repair steps in this order.
Important: some recovery actions can cause data loss. Back up important files first if possible. If BitLocker is enabled, the recovery key is required for most WinRE options.
- In the Windows setup USB, select Repair your computer > Troubleshoot > Advanced options > Command Prompt.
- Run an offline system file check:
SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows
- If disk corruption is involved, run Check Disk:
chkdsk /f /r
- If the problem is in the boot loader phase, repair boot records:
BOOTREC /FIXMBR
BOOTREC /FIXBOOT
- If boot configuration data is damaged, run:
Bootrec /ScanOS
If Windows still does not start, continue with:
bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -r -s -h
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd
Then restart the PC.
- If startup still fails and the issue is related to corrupted system registry hives, from Command Prompt:
- Open a text editor such as Notepad.
- Go to
C:\Windows\System32\Config\
- Rename the five registry hives by appending
.old
- Copy the hives from the RegBack folder into Config
- Restart and test
Warning: registry hive replacement is a higher-risk step. Incorrect changes can prevent Windows from starting. Also, on Windows 10 version 1803 and later, Windows no longer automatically backs up the registry to RegBack, so this method may not be available.
- If none of the above works, use other WinRE recovery options. Start with the least disruptive option first.
Because Startup Repair already reported it could not help, the most relevant manual steps are the offline SFC, CHKDSK, and BOOTREC/BCD repairs above.