Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

How can i connect to 10+ Machines at the same time through Mstsc entering the user Name and Password automatically.

Hi,

How can i connect to 10+ Machines at the same time through Mstsc entering the user Name and Password automatically.
I have the machine names in a txt file...
Can have the credentials in a script that can insert each machine name in the mstsc box. Any help with this would be useful. Each time the machine names change...

Regards
Sharath
Avatar of tbkconsulting
tbkconsulting

I am sure this is possible, not thru command line, but maybe thru another scripting language ... personally I'd setup each RDP file with the usernames and passwords already saved and then script opening the shortcuts ... perhaps looking from a simpler point of view (MINE!) may lead you to finding something else that will help you get it done the way you want it done, but in the meantime this is at least a way you can do what you want to do ...
Are you trying to remote desktop to 10+ machines in one console? If so, have you tried the "Remote Desktops" that comes with Windows Server 2003 or it also can be downloaded from Microsoft site.
Avatar of bsharath

ASKER

Yes i have but this is going to change each time . each time the names will change.credentials will be same always...
si_shamil

How can i get a file that has the machine names into the console and where can i mention the credentials in one place to get them used from all sessions
In the connection container select tools -> import/export, you will have several import options. I don't think it will work for plaint txt file.

To set single credentials, go to options -> connections -> and choose credentials for empty Username,Password, domain
start>run>mmc.exe>file>add/remove snapin>remote desktops>add...
ASKER CERTIFIED SOLUTION
Avatar of AmazingTech
AmazingTech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I get this

[Window Title]
Remote Desktop Connection

[Content]
An error occurred while loading from file Dev-c1.rdp

[OK]

I get this

[Window Title]
Remote Desktop Connection

[Content]
An error occurred while loading from file Dev-c1.rdp

[OK]

Did you encrypt you password with RDP Password Hasher by Remko Weihnen?

http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/

Here's my sample machines.txt
machines.txt
Ok AT shall check and let you know....
AT i dont know why the link does not work any more for me to download...
AT i dont know why the link does not work any more for me to download...
AT i dont know why the link does not work any more for me to download...
You know what AT. This worked great....
You are a real Genuius.... :-))
This is an Awesome help for me....