How can I connect to RDP without having to enter credentials through Microsoft Access

Hi

I am using Access 2010 and I would like to connect to Remote Desktop when the user presses a button without the user having to enter credentials.  When the user presses the button I am creating an RDP file which contains full address, UserName and password.  As these credentials have previously not been saved the first time the user presses the button the windows security box is shown onscreen with the username selected and prompting for a password.  When I manually enter the password and click remember my credentials then the next time I press the button from my database I can log straight into the RDP without entering any credentials.

My question is - is there anyway that I can pass the password so that I am not asked for any credentials the first time I try to log in?

Thanks in advance
Lisa BAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can try creating an RDP file and use that when connecting. To do that, open the RDS client and click the Options dropdown. Clear the "Always ask for credentials" box, and then make sure that your connection information is entered correctly. You can generally save the credentials, but I'm not sure if those will work from other machines.
0
 
Gustav BrockCIOCommented:
Not that I know of. This information is saved "elsewhere" on your machine, not in the RDP file.

/gustav
0
 
Lisa BAuthor Commented:
Hey

Thanks for the reply - I presume when I am ticking the save credentials that password is being saved elsewhere for the next time.  Is there anyway I can save the password on the fly behind the access button so that the RDP connection thinks the credentials have already been saved?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Gustav BrockCIOCommented:
Yes, it should work from the second time. But how to get around saving them the first time, I have no idea.

We are touching fundamental security of Windows here, so I would be surprised if a shortcut was to be found.

/gustav
0
 
Lisa BAuthor Commented:
Thanks for the replies guys - at least now I know that what I would like to do is not possible
0
 
Gustav BrockCIOCommented:
You are welcome!

/gustav
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.

All Courses

From novice to tech pro — start learning today.