murrayju / CreateProcessAsUser

Creates a process in a different Windows session
MIT License
369 stars 114 forks source link

Bypass UAC ( "Run as Administrator") #9

Closed dudul closed 8 years ago

dudul commented 8 years ago

Hi, Can you add an option to run the file with highest privileges (like "Run as Administrator")?

like in here: http://www.codeproject.com/Articles/35773/Subverting-Vista-UAC-in-Both-and-bit-Archite

Thank you in advance

AndrewSav commented 8 years ago

The article you linked runs the process with security token of winlogon. This project is about running the process with security token of an interactive user. You cannot have both tokens at the same time. If you need whatever that article does, I suggest download the code given on the page you linked and use that instead of this project.