I have installed ubuntu as a dual boot alongside an existing Windows 10 installation. Now I cannot boot windows. Windows was first on Drive C: (1TB SSD) and I installed Ubuntu onto D: (also 1TB SSD) where I also removed an old Ubuntu installation in the process. Now Windows won't boot. Apparently I installed it while I put Windows on hibernate instead of shutting it down, which is likely because I am working on a laptop with a broken battery that has a life of only a few minutes.
When I go into the BIOS into boot options, I see a toggle within bootloader where both the windows and Ubuntu bootloaders are shown. When I put Windows first, it tries to boot, shows "SYSTEM RESET" on the attempt and then boots ubuntu, switching the boot order again in the BIOS (ubuntu first).
I tried Ubuntu boot repair as explained in the most upvoted answer here, as well as Windows boot repair in Option 1 here. Interestingly the Windows boot repair showed it detected a Windows installation on D:, not on C: (which is the drives swapped to how they were before installing Ubuntu). I can for sure say they are swapped, because the files are still accessible from Ubuntu when mounting the other drive, so I did install ubuntu on what was D:.
And the second observation: Ubuntu refused to mount the drive in anything else than readonly because it detected windows in hiberation on that partition.
How do I get Windows back?
Update: Bootinfo summary report is here. It seems there's a Windows recognized in the MBR on both physical drives.