This might be due to a conflict issue between the Nvidia GPU and the Aspeed GPU on your board
This issue on all server motherboards from all manufacturers if it with Aspeed GPU. When installing Windows 24H2(not include 23H2 and lower) or Windows Server 2025, a gray screen will appear during the Windows auto installation the Nvidia graphics card driver, and a BSOD (You can't see it) will be triggered, this causing Infinite restart.
Usually, I avoid this by using the following methods: Unplug the Nvidia GPU, installing the Windows in the VGA/IPMI KVM display, installing the Aspeed display driver after entering Windows, and then installing the Nvidia GPU and the driver.