I have tried TerminateProcess and cannot get it to work on a background process.
Seems to work fine for applications running within the current user context but not background processes.
Information:
My project is set for "Run as Administrator"
The background process is started by a scheduled task in windows.
I have tried to detect the process right before and then terminate process, still not work.
I have also tried close application, also not work.
Any help would be greatly appreciated.
Thanks