Hi Niccolò,
Thank you for reaching out!
My name is Stefano and it’s my pleasure to assist you today.
It looks like the system restore process might have corrupted the boot configuration, causing the OS to become unbootable. Since bootrec /scanos is showing 0 Windows installations, it suggests that the bootloader is either broken or Windows is no longer being detected correctly.
Follow the following steps to fix the Boot issue:
- Check if the Disk is Detected
- Boot into the Windows Recovery Environment (WinRE) by using a bootable USB with Windows installation media.
- Open Command Prompt (Shift + F10 or via Repair your computer > Advanced Options > Command Prompt).
- Run the following command to check if your drive is present:
diskpart
list disk
If your disk is not listed, it may indicate a hardware issue.
-f the disk is present, check partitions:
list volume
Make sure the partition where Windows is installed is still there.
- Rebuild Boot Configuration
Since bootrec /scanos found 0 installations, the Boot Configuration Data (BCD) might be corrupted. Try these commands:
- Rebuild the BCD completely:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
> If bootrec /rebuildbcd shows 0 Windows installations, proceed with the next step.
- Manually repair BCD:
bcdboot C:\Windows /s C: /f ALL
(Replace C: with your actual Windows partition if needed).
- If you get Access Denied on bootrec /fixboot, try:
bootsect /nt60 sys
- Run CHKDSK on the System Drive
If the boot repair didn’t work, your disk might be corrupted:
chkdsk C: /f /r /x
Replace C: with your Windows drive if necessary.
- If the previous steps don't work Reinstall Windows using a Windows 11 USB installer:
- Boot from the USB.
- Choose Upgrade Windows (this keeps your files but reinstalls the system).
If even that doesn’t work, a full clean reinstall might be the only solution.
_______
Please note that this is a public forum, I will be responding you in short period of time and regret for a delay in response. As I am merely a fellow user trying to provide insight and information that may be helpful to others.