habbotha
asked on
Script to Automate a Remote Desktop connection with Username and Password
Good-day,
I would like to create a script that allows me to automatically logon to a server (via RDC) with the username and password already specified in the script. Is this possible, if so how?
Thank you
Heather
I would like to create a script that allows me to automatically logon to a server (via RDC) with the username and password already specified in the script. Is this possible, if so how?
Thank you
Heather
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Why do you need it to be a script?
Otherwise for auto logon using RDP,
create a new management console,
(Run: mmc)
add the "Remote Desktop" module,
add the machines adress you need including logon info,
(especially handy if you have more machines you want to "auto-logon" to)
Otherwise for auto logon using RDP,
create a new management console,
(Run: mmc)
add the "Remote Desktop" module,
add the machines adress you need including logon info,
(especially handy if you have more machines you want to "auto-logon" to)
Could you tell us please why you accepted only that answer? IMHO the first one from iSeek (http:#a34941752) should be accepted in addition, and optionally mine and/or Tominov's.
i have found these two:
http://www.techrepublic.com/article/launching-remote-desktop-from-the-command-line-in-windows-xp-pro/6134548
http://msmvps.com/blogs/ad/archive/2006/07/28/enable-remote-desktop-through-a-script.aspx
But dont think that password can be sent with a script... but maybe i am wrong..