PC Review


Reply
Thread Tools Rate Thread

Pass the user Password by Command line

 
 
=?Utf-8?B?UmFqZXNo?=
Guest
Posts: n/a
 
      5th May 2004
How can I pass the user name, Password & domain from command line to connect to remote desktop in XP
 
Reply With Quote
 
 
 
 
Sooner Al
Guest
Posts: n/a
 
      5th May 2004
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...

"Rajesh" <(E-Mail Removed)> wrote in message
newsB2908A5-6110-4788-AFBC-(E-Mail Removed)...
> How can I pass the user name, Password & domain from command line to connect to remote desktop in
> XP


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UmFqZXNo?=
Guest
Posts: n/a
 
      8th May 2004
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
 
Reply With Quote
 
Jeffrey Randow (MVP)
Guest
Posts: n/a
 
      9th May 2004
You would need to create a .rdp file, though...


Jeffrey Randow (Windows Net. & Smart Display MVP)
jeffreyr-(E-Mail Removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone

On Fri, 7 May 2004 23:51:03 -0700, Rajesh
<(E-Mail Removed)> wrote:

>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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
after a ftp put command it just says "200 PORT command successful." and hangs forever. What could be wrong? when i test the ftp server using IE in "passive" mode it works fine. but ftp at command line hangs on "200 PORT comma Daniel Microsoft Windows 2000 Security 6 1st May 2006 02:51 PM
after a ftp put command it just says "200 PORT command successful." and hangs forever. What could be wrong? when i test the ftp server using IE in "passive" mode it works fine. but ftp at command line hangs on "200 PORT comma Daniel Microsoft Windows 2000 Networking 1 29th Apr 2006 02:42 AM
after a ftp put command it just says "200 PORT command successful." and hangs forever. What could be wrong? when i test the ftp server using IE in "passive" mode it works fine. but ftp at command line hangs on "200 PORT comma Daniel Microsoft Windows 2000 1 29th Apr 2006 02:05 AM
Pass PPT password to viewer via command line Troy @ TLC Microsoft Powerpoint 5 21st May 2004 10:40 PM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft Dot NET Framework 1 15th Oct 2003 09:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:50 PM.