Search code examples
c++windows-vistauac

Avoiding UAC in vista


im writing an application that downloads and installs addons for programs which needs to save the data to program files (for the programs in question). Now this works fine on xp and vista with uac disabled however it is failing on normal vista due to the virtual folders.

How would one get around this with out needing to request admin rights every time the app started?

P.s. Program is written in c++, vis 2005

Edit: File system virtual folders: http://www.codeproject.com/KB/vista-security/MakingAppsUACAware.aspx


Solution

  • I got around uac by making a windows service that does the work i need and only runs while the app is running.