• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 738
  • Last Modified:

Using bat file to automatically log into 2003 server using RDP

Does anyone know if it possible to put username and password into the bat file?
0
fairtech
Asked:
fairtech
3 Solutions
 
Darius GhassemCommented:
At this point there is not a way to use RDP with a batch file to automatically load username and password
0
 
Michael KnightCommented:
you could certainly save the user credentials in the rdp 'shortcut' and just call it from a batch file.

Create a rdp file, save it as foo.rdp

make a batch file with the following in it:

"C:\Path\to\file\foo.rdp"

save it as run_foo.bat

0
 
DonNetwork AdministratorCommented:
0
 
fairtechAuthor Commented:
I can't believe I didn't think of saving the credentials in the rdp file. I knew about that, but I was so focused on using a bat file that I forgot about it.
0
 
Michael KnightCommented:
Jinx, you owe me a coke.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now