I get the following error every 12 hours:
ProviderName : Microsoft-Windows-TerminalServices-RemoteConnectionManager Id : 1067 Message : The RD Session Host server cannot register 'TERMSRV' Service Principal Name to be used for server authentication.
The following error occured: The specified domain either does not exist or could not be contacted.
This message appears only on Win 2019 Core servers but not on Win 2019 GUI, nor Win 2016 GUI, or Win 2016 Core.
I have checked the SPN and it already exists:
PS> (Get-ADComputer -Identity MyComputer -Properties ServicePrincipalNames).ServicePrincipalNames WSMAN/MyComputer.mydomain.com WSMAN/MyComputerTERMSRV/MyComputer TERMSRV/MyComputer.mydomain.com RestrictedKrbHost/MyComputer HOST/MyComputer RestrictedKrbHost/MyComputer.mydomain.com HOST/MyComputer.mydomain.com
The error message also says:
The specified domain either does not exist or could not be contacted.
But, I am logged on with a domain account, which means that the domain is available.