Pass the user Password by Command line

G

Guest

How can I pass the user name, Password & domain from command line to connect to remote desktop in XP
 
S

Sooner Al

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...
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top