Access /SQL Calls Regedit - how to bypass UAC

We are moving our platform to Windows 7 from XP.  We have many MS Access applications that use SQL for the backend.  Built into these applications are processes for writing new ODBC DSNs to the registry.  These writes are to the key HKEY_CURRENT_USER\Software\ODBC\ODBC.INI.  Corporate policies dictate that I do not use the Current Machine key.  Users are setup as power users no admin privileges.

The shortcuts have the full path to the MDB, no MSAccess.exe in the command line.

What can be done to bypass the UAC pop-up?  How can we elevate the opening of an MDB?
OHISAsked:
Who is Participating?
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.

Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Consider going to a DNS less setup:

http://www.accessmvp.com/DJSteele/DSNLessLinks.html

  Much cleaner and simpler to avoid them.   This assumes that the users don't need access to the data from outside your Access up.

Jim.
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
OHISAuthor Commented:
I will have to modify the code before testing; I have as many as 5 SQL Databases in various applications.  Will follow up when I have tested.
0
OHISAuthor Commented:
I haven't completely resolved the multiple Database issue but the code works (commenting out the attributes line as you suggested).

Good fix.
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
Microsoft Access

From novice to tech pro — start learning today.