Read from registry when UAC set to Always Notify
My program fails to connect to sql anywhere db in run time when UAC level is set to the highest level. The db is connected using rteng10.exe. The program is written in PB 11.2.
When UAC is set to a lower level, there is no such problem.
We suspect the UAC level is preventing reading from registry (ODBC.INI key)
Reproduced both in Win7 32 bit and Win7 64 bit
Any solution for such problem?
July 8th, 2010 9:37am
Hi,
You may manually adjust the UAC Group Policy settings, disable the
User Account Control: Switch to the secure desktop when prompting for elevation policy setting and disable the
User Account Control: Run all administrators in Admin Approval Mode policy setting. Please refer to:
UAC Group Policy Settings and Registry Key Settings
Best Regards
DalePlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2010 5:33am
Instead of modifying your UAC settings, you can leverage through the use of shims for your application requiring elevated rights:
Understanding Shims
http://technet.microsoft.com/en-us/library/dd837644(WS.10).aspx
Regards,
Salvador Manaois III
C|EH MCSE MCSA MCTS MCITP(x4)
----------------------------------------------------------------------------
Bytes & Badz:
http://badzmanaois.blogspot.com
My Passion:
http://www.flickr.com/photos/badzmanaois
My Scripting Blog: http://sgwindowsgroup.org/blogs/badz
July 13th, 2010 8:54am