How can a program tell if another process is running as a service?
- by quietdragon
I have a Win32 program which I can direct to monitor another Win32 process.
I want to find a way for the monitoring program to determine if the monitored process is running as a Win32 service.
Not all services run as SYSTEM and not all services have services.exe as a direct parent, so I don't regard these obvious techniques as being robust enough.