Search code examples
c++windows-7createprocesslocal-system-account

Windows 7 or Windows 2008 how to launch a process in Local System Account or System Context (from desktop aplication)


In C++ I want to launch a process from my Desktop Application in "Local System account" or "System Context". My application executes with admin privileges.

Is it possible? How?

Thanks in advance.


Solution

  • You can do what SysRun does: install a system service and launch the app from the service.