locked
How to create an un-elevated process from an elevated process RRS feed

  • Question

  • Hi, 

    I'm implementing an automatic update mechanism in my application for Windows 7. In some cases the updater must be executed with high privileges through UAC. I managed to elevate the process, but after the updater is done, it should relaunch the updated application un-elevated.

    I just can't find how to make the latter part work, I tried various manipulations on the token, I managed to lower the integrity level but still the relaunched application is running elevated.

    Any hints on how I can make this happen ? How to create an unelevated process from an elevated one ?

    Thanks

    Maki

    Monday, May 27, 2013 9:15 AM

Answers