himselfv / viper

Enhanced Windows Service manager application
29 stars 2 forks source link

QueryServiceDynamicInformation: StartReason #36

Open himselfv opened 5 years ago

himselfv commented 5 years ago

Original report by me.

There's a function to "query service dynamic information" which supports one documented piece of data: START_REASON.

There's no explanation as to what is returned but know why the service has been started is nice for debugging so it would be good to investigate and implement seeing this information (either as a column in the service table, or in some kind of log "Service started because xxx").