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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.