lunedì 26 gennaio 2015

UAC control and dll registration.

Recently I installed on a user pc an application with many Ocx and Dll registrations, after that for user friendliness, I disabled the UAC. This office does not have IT staff so the user should install software without help. I know this is not a goog behaviour but nothing else should be done, the user has to be autonomous.

So after disabling UAC the software installed stopped to work, dll or ocs missing. I presume this is due to the virtual directories where uac store files when install a software. So I want to try this:
 "
Disable only the VirtualStore feature not the entire UAC. A possibly better choice if you feel this feature is not important to the way you use your computer. This can be done by going to Local Security Policy -> Local Policies -> Security Options and Disabling User Account Control: Virtualize file and registry write failures to per-user locations "

Another test is to make the application trusted, this should be done by assign full access right to users group at application directory level.

Some useful links:


Inside Windows 7 User Account Control



http://www.sevenforums.com/news/19426-user-account-control-data-redirection.html


LUA Buglight

http://blogs.msdn.com/b/aaron_margosis/archive/2012/11/28/lua-buglight-2-2-with-support-for-windows-8.aspx

Windows Process Monitor

https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

https://decibel.ni.com/content/groups/windows-7/blog/2009/10/02/uac-virtualization-and-how-it-affects-your-installers