i need to login to multiple windows servers. can anyone post me a Windows bat file sample for remote login instead of invoking mstsc and typing user id and password?
Asked
Active
Viewed 1.1k times
3 Answers
0
Did you even attempt to look for an answer before asking the question? I already know the answer to my question.
I did a search on google for mstsc command line options
and came up with Use command line parameters with Remote Desktop Connection

Erik Philips
- 53,428
- 11
- 128
- 150
-
sorry, i got the answer from http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Remote-Desktop-command-line.html after i posted this qn.. thanks – user1169877 Jan 25 '12 at 19:32
-
1updated doc: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mstsc – Andrzej Martyna Oct 28 '20 at 10:11