Hello Julian Holzenthal,
The behavior you're describing is a known issue in scenarios with RAID enabled (Intel RST/RAID Mode) and completely discharged batteries. When the battery is completely depleted, some systems lose the NVRAM entries for the boot manager, and the RAID configuration is no longer initialized correctly. As a result, the SSD is not recognized in RAID mode, while it remains visible in AHCI mode, albeit without a valid bootloader. The fact that the Windows Boot Manager disappears from the boot menu is a direct symptom that the EFI boot partition is no longer being referenced correctly.
The cause is that the firmware does not properly persist the RAID metadata during power loss, and the UEFI boot order is reset. Windows itself remains intact, but the boot partition entries in the EFI system partition (ESP) need to be recreated. This explains why the solution using bcdboot C:\Windows /s <ESP> /f UEFI or manually recreating the boot partition immediately resolves the issue. It's not a file system error, but rather a loss of the boot configuration due to the combination of RAID on and battery drain.
In the short term, you can recreate the boot partition after each incident. In the long term, you should check if a firmware update is available for the RAID controller or BIOS, as some manufacturers have already addressed this behavior. Alternatively, switching to AHCI can circumvent the problem, but this requires a clean installation, as Windows cannot easily switch between RAID and AHCI.
If my answer is helpful, please click "Accept the answer" to support me.
Thank you,
Domic.