I'm sitting on a Win XP Pro workstation. I need to connect to a number of remote systems (generally Win Server 2003).
Ideally I would like to fire off RDC by a command line string:
C:\Windows\system32\mstsc.exe "parameters"
and on that parameter list I need to specify the machine to connect to, a username, password, and perhaps a domain. Basically I want to connect right to the remote and not worry with the login screen.
But it doesn't look like you can pass that kind of information on a command line. Looks like the next best thing is a file containing the information - an RDF file.
So with a connection file, I can say:
mstsc.exe "connectionfilename"
and off we go. OK, that's basically OK except that the password to access the remote system changes periodically. Since I don't want the user to have to know how to work with a connection file (RDF) and I don't want the user to get a login screen, what I'm looking for is a way to get that silly login information into MSTSC. The RDF file holds the password as an encrypted string so I don't know how to construct that.
Any ideas?
Ideally I would like to fire off RDC by a command line string:
C:\Windows\system32\mstsc.exe "parameters"
and on that parameter list I need to specify the machine to connect to, a username, password, and perhaps a domain. Basically I want to connect right to the remote and not worry with the login screen.
But it doesn't look like you can pass that kind of information on a command line. Looks like the next best thing is a file containing the information - an RDF file.
So with a connection file, I can say:
mstsc.exe "connectionfilename"
and off we go. OK, that's basically OK except that the password to access the remote system changes periodically. Since I don't want the user to have to know how to work with a connection file (RDF) and I don't want the user to get a login screen, what I'm looking for is a way to get that silly login information into MSTSC. The RDF file holds the password as an encrypted string so I don't know how to construct that.
Any ideas?