1

I would like to log entry when some service was started/stopped. For example this post (Last restart/start time of a windows service) explains how to view logs.

The problem is, when I start/stop given service nothing is logged at all.

So probably I miss some option/configuration enabling the logging. Thus the question -- what is required for logging then?

3

You will need to configure auditing on your services. This can be baked into your image or deployed to all computers using Group Policy. From the group policy editor, this is found at Computer Configuration->Policies->Windows Settings->Security Settings->System Services. Source.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.