Question

I have RequestExecutionLevel user at the start, because usually I install on user level.

But I want to change it afterwards, if some condition is detected, to admin. Is this possible?

Was it helpful?

Solution

The execution level (Integrity Level) of a Windows process is determined when the process starts and cannot be changed after the process has started.

While it might be possible to use the UAC plugin to get around this, I would actually recommend that you use RequestExecutionLevel highest and gray out whatever option that requires admin rights for standard users...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top