Link to home
Avatar of maharlika

asked on

How to determine when a process terminated and why?

I have a process that keeps failing, a client that runs our lab interfaces, and I need to know when it fails and if possible, why (what caused it to stop). They are windows 10 pc's, I have set up group policy Computer Configuration\Windows Settings\Security Settings\Local Policies\Audit Policy to audit this, but I don't know where to look for it in the event viewer.
Avatar of arnold
Flag of United States of America image

Logging has to be part of the application where it reports out what it is doing.
Application errors would commonly be in the application log if Windows is the one who termed the process.
Your question is extremely vague.
In a circumstance such as this I would try to get information from the user if that is how the process works what they were doing. High is commonly difficult to ....... Get an exact info. So I would get what the regular process is. Then ask the user to see whether issues occur when something out of the ordinary is being added..

The optimal source is the logging capacity, capability of the process itself.

The logging options and then possibly using powershell to go through the log and then trigger based on error/crash events.
Avatar of McKnife
Flag of Germany image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial