New
#1
Remote Desktop Connection from CMD
I created a file with the .bat extension, in which I wrote the following script:$Hostname = "MyHostname"$User = "MyUser"$Password = "ZZZ"cmdkey / generic: $Hostname / user: $User / pass: $Passwordmstsc / v: $Hostname /f
But I get the following error: The remote computer name ($Hostname) is not a valid name