Vista: UAC elevation reportedly occurs at some point during execution of the tool


User lalkin reports:
"First, this tool seems to require admin access in Vista (it activates the UAC). That prevents a non-admin from using the tool."
Firstly, I should add additional trace logging to the portions of the code where the elevation is likely to occur.
Second, I should release a Debug build of the tool and ask lalkin if he'd be willing to report any Stack Traces that may occur (though this isn't an exception, there may be an exception that leads to an elevation event - I don't know, just thinking of any way to isolate this issue).


lalkin wrote Dec 4, 2008 at 6:38 PM

The reason why the UAC elevation prevents a nonadmin from running the tool is that they have to authenticate as an admin which then would cause the tool to affect the admin user (since it is running with their token). At least that is what I think would happen.

Thought I'd elaborate.

I'd be fine with running a debug build.

wrote Feb 12, 2013 at 9:59 PM