Having some issues figuring out automation for RDP on win10. Would appreciate any tips you guys got.
What I am trying to accomplish:
Use an AutoIt script to:
Open a remote desktop connection
Check 'Don't ask me again for connections to this computer', click connect
Allow for remote desktop to load
Disconnect
Attempted to run the remote desktop connection with mstsc.exe, but got the error
The shortcut name is
My code so far
Have also tried Run("C:\Users\Public\Desktop\RDP Consoles\administrator@windows-1")
to no avail.
Anyone know why I am getting this error? Or of a better way to perform this task?