https://serverfault.com/questions/70028/pausing-a-not-pausable-service-pausing-a-not-pausable-service-from-the-command talks about pausing a NOT_PAUSABLE service. How do I indicate my service is not pausable to begin with? I want my service to only support the start/stop operations.
https://serverfault.com/questions/70028/pausing-a-not-pausable-service-pausing-a-not-pausable-service-from-the-command talks about pausing a NOT_PAUSABLE service. How do I indicate my service is
Share
When you create your service, you filled out a
SERVICE_STATUSstructure. One of the fields in the structure is calleddwControlsAccepted. One of the options fordwControlsAcceptedisSERVICE_ACCEPT_PAUSE_CONTINUE. If you don’t say you support pause/continue, then it will be reported by SCM as not supporting pause/continue.