Saar
Saar

Reputation: 1803

How to disallow a windows service stop

I have some security related service running on my machine (start type = automatic) In the service control manager, the stop/restart commands are grayed out.

I was wondering how can I develop such service for which the stop operation is disallowed.

Note that I am logged in as an administrator

Upvotes: 2

Views: 1167

Answers (1)

Denis K
Denis K

Reputation: 1468

All you need is to disallow your service to recieve stop requests.

Upvotes: 4

Related Questions