murrayju / CreateProcessAsUser

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

Run Elevated #25

Open asdf23 opened 5 years ago

asdf23 commented 5 years ago

Great code worked perfectly,

I have need to run a program as Administrator. Here's what I am doing: A windows service running as Local System, launches an application on some event (USB related) which needs to run as admin, this program has a taskbar icon and other dialogs. The user logged in is also admin. I was able to drop in this code and it launched the program, the program was not able to access the admin parts.