Solved

Using bat file to automatically log into 2003 server using RDP

Posted on 2011-02-18
5
728 Views
Last Modified: 2012-05-11
Does anyone know if it possible to put username and password into the bat file?
0
Comment
Question by:fairtech
5 Comments
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 166 total points
ID: 34928813
At this point there is not a way to use RDP with a batch file to automatically load username and password
0
 
LVL 9

Assisted Solution

by:michaelaknight
michaelaknight earned 166 total points
ID: 34928941
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
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 168 total points
ID: 34928943
0
 

Author Comment

by:fairtech
ID: 34929107
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
 
LVL 9

Expert Comment

by:michaelaknight
ID: 34929120
Jinx, you owe me a coke.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now