After performing a Bare Metal restore with Veeam for a 2012 R2 server OS you may find logging in remotely via Remote Desktop taking longer than usual. You may experience a delay at the logon screen for about 10-20 seconds before logging in and the following three errors may be found in the Windows System Event log, all logged as Event ID 7011 with the source Service Control Manager:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the ScDeviceEnum service.
The Smart Card Device Enumeration Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
The reason for this is the RDP service is attempting to use Smart Cards for authentication when a client attempts to connect. It seems that the Windows Server OS enables the Smart Card service after a restore to new hardware (partial OOBE). To fix this, change the Startup Type of the the Smart Card Device Enumeration Service from Manual (Trigger Start)
to Disabled
. After doing so the unwanted delay on remote logon will be resolved.