Hi all,

How can I kill a process that is running by a different windows user.
OpenProcess and TerminateProcess APIs only kill processes running by current user. My application is running under administrator privileges.

Windows TaskManager can kill any processes even executer by other users (SYSTEM or other)

TASKLIST and TASKKILL commands also do the same, but I'm searching for API functions to do this directly from my application.

Thanks a lot