I want to connect my pc to another pc by making .bat file. When i run that file it should connect to the other pc. I wrote \"mstsc /v:192.168.15.102\" command when i execute thi
Best solution I could find was saving an rdp config.
Relatively much simpler than these options.
So open Remote Desktop Connection through start menu or win+r
mstsc.exe
.
Then select advanced options, change everything you want, and Save As.
This will create an .rdp file that can be clicked to run or run in command prompt.
:)