Hello!
I'm trying to run elevated process, say, file_copier.exe, from another host process with ShellExecuteEx and lpVerb = "runas" on Vista. It shows UAC dialog and runs elevated, and copies files to "dangerous" folders, but it does not overwrite existing files (exe's).
I've read here: http://www.codeproject.com/KB/vista-security/UAC%5F%5FThe%5FDefinitive%5FGuide.aspx that UAC does not actually overwrite existing files but stores new files in a cache of some sort. But I can't figure out (if it is the case), how to make it actually overwrite existing files. Any help is appreciated.