Before you format that drive, have a quick, honest chat with yourself.
The source of most of the unbootable situations on Windows is caused by a misconfiguration or even corrupted Boot Configuration Data files, otherwise known as BCD. BCD contains boot configuration ...
The Steam Deck was never intended to run Windows, but that hasn't stopped a savvy community from making it work.