Pass the user Password by Command line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I pass the user name, Password & domain from command line to connect to remote desktop in XP
 
If you start the Remote Desktop connection applet you have the option to save login information
including the user name, password and domain in a file with a .rdp extension. Using the command line
command 'mstsc' you can then specify the saved .rdp file as one of the parameters. Example...

mstsc connectionfilename.rdp

Open "Start -> Help and Support" and search on the string mstsc for the proper command line syntax.

--
Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights...
 
I checked the help using "mstsc /?" it is of no help ,
Actualy I am trying to get the user name, password , & the domain from an excell file and and need to automate the process of login to n number of remote connections. so I was planning to put he commant line in a while loop and loop through the file
Further is there a way to know if the connectioon is established or not
 
Back
Top