On a Dell XPS-15-9500, I had a dual boot installation of Windows 10 and Ubuntu 20.04 that worked well for a long time. Then something strange happened (I think after a Windows update) and neither Windows 10 nor Ubuntu still booted. I managed to restore access to Ubuntu by repairing GRUB but windows still can't boot. When I boot to windows I get a black screen and hear a single beep. I can go to support assist to try to recover Windows 10. However, this just gets stuck on either a white or a black screen (with a cursor that can be moved) the first time it also gave a warning about a critical error.
The windows partition is still accessible from Ubuntu (encryption is turned off). There is clearly no hardware issue since Ubuntu still functions perfectly well. I have no recovery medium to boot from.
I downloaded and put the installation medium for windows 10 on an USB stick in the hope that I could use it to repair windows.
I did not try to install it again as I figured that would likely wipe the windows partition and I would prefer it if I could keep my files (really important things are already backed up it is more a matter of convenience). There were additional options to try and repair windows of which I tried startup repair. This just resulted in a reboot (which did not reboot back into my installation USB but instead into Ubuntu which is on top of the bootsequence). Trying it again it seems it did run. It said it could not repair my pc. It produced a log in which the most notable thing is:
"Root cause found: --------------------------- Boot status indicates that the OS booted successfully."
Is there a way to repair/restore Windows 10 without wiping any of my data (on either Ubuntu or Windows)?
After selecting "uninstall last quality update" from troubleshoot using the USB installation medium windows 10 successfully booted. Of course the first thing it did after starting up was perform new updates so fingers crossed it will not immediately make the system unbootable again.