Reputation: 327
I have a regular program running as an Administrator process. But it doesn't quite have all the privileges I need. How do I elevate this process to run as the Local System account ?
I don't want to use any externals tools to achieve this elevation. It would be ideal if I could call some Win32 functions to achieve it. I am also willing to write and run a Windows service in order to pass its privileges onto the process in question.
Someone please give me a clue. My searches are just sending me round and round in circles.
Upvotes: 1
Views: 2721
Reputation: 327
The program will have at least one thread with Local System privileges. This will be adequate for my purpose.
Upvotes: 1