Hi,
I had experience error with event ID 5538 before and here what we did:
- Taking ownership of "ahadmin" registry key HKCR\SOFTWARE\Classes\AppID{9fa5c497-f46d-447f-8011-05d03d7d7ddc}
- Grant WSS_WPG group launch and execution permission to the "ahadmin" DCOM component in component services.
- Grant WSS_WPG group read access to IIS config folder %SYSTEM32%\inetsrv\config
- IISRESET
Let me know if it helps.