Avoiding UAC but launching an elevated process using a windows service

If you have a filtered token for the interactive user – for example, one retrieved via WTSQueryUserToken() – you can retrieve the unfiltered (“elevated”) token by using the GetTokenInformation function with the TokenLinkedToken option.

Leave a Comment