Sometimes take as long as 45 seconds before your MSTSC connection connects?
here is how to fix it.
Reference: (note quite 100% - but similar to above)
https://support.microsoft.com/en-gb/help/2915774/remote-desktop-connection-is-sometimes-stuck-on-the-securing-remote-co
Example: servername
Reference: https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
FOR /F "TOKENS=2 DELIMS=/" %%A IN (%1) DO SET ADDRESS=%%A start mstsc /v:%ADDRESS%
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\rdp] @="URL:rdp Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\rdp\shell] [HKEY_CLASSES_ROOT\rdp\shell\open] [HKEY_CLASSES_ROOT\rdp\shell\open\command] @="\"C:\\X-Support\\Utilities\\rdp-uri.cmd\" \"%1\""
FOR /F "TOKENS=2 DELIMS=/" %%A IN (%1) DO SET ADDRESS=%%A c:\ cd C:\X-Support\Utilities\ start putty -ssh %ADDRESS%
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\ssh] @="URL:ssh Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\ssh\shell] [HKEY_CLASSES_ROOT\ssh\shell\open] [HKEY_CLASSES_ROOT\ssh\shell\open\command] @="\"C:\\X-Support\\Utilities\\ssh-uri\" \"%1\""