Bat file for RDP session and entering username and password

Stevemcmillan

Honorable
Dec 12, 2013
5
0
10,510
Hi
I am a complete novice so apologies in advance

I need to connect via remote desktop to an I.P address regularly and maybe having a bat file to do this would save so much time

Thanks in advance!
 

Wolfshadw

Titan
Moderator
mstsc /v:<IP Address<: port>>

Where <IP Address> is the IP address of the computer you're attempting to connect to and <: port> is the port number if required. As an example:

Code:
mstsc /v:192.168.0.1:8080

Open Notepad, type in the correct command, and then save the file as a .bat file to your desktop.

-Wolf sends