RDP smartcard authentication somehow failing with "the smart card resource manager is not running" but it works if you manually start the service and connect within one minute?

Set-Service -Name SCardSvr -StartupType Automatic

You'll thank me later