If your Event Viewer’s log says that dwm.exe is the faulting application ... such as a Windows Update error, you can try unregistering and reregistering this process using the following commands.
Microsoft has fixed a known issue causing "boot device inaccessible" errors during startup on some Windows Server 2025 ...