Dear Team,
This is a known problem with ADFS when running on Windows Internal Database (WID): after a reboot, the ADFS service sometimes starts before the WID service is fully up, causing ADFS to fail. That’s why manually starting WID, then ADFS, works.
Permanent fix: Set the ADFS service to depend on the WID service. This forces Windows to wait for WID before starting ADFS.
How to do it:
- Open Command Prompt as Administrator.
- Run this command:
sc config adfssrv depend= "MSSQL$MICROSOFT##WID" - Reboot the server.
Best Regards,