Some of our customers have requested that we try to take steps to prevent users from stopping the BESClient service. In general, our response is that any determined user with LocalAdmin privileges will be able to figure out how to stop the service no matter what we do… However, we have come up with a relatively simple way to make it a little harder to stop the BESClient service.
The trick we use is to change the permissions on the BESClient service to DENY Administrators from changing the service and only allow the SYSTEM to change the state. This means that if a user on the computer tries to stop the BESClient service, they will get an error “Access is Denied”.
See the Task to enable/disable this (right-click to save and then import to your server):
Note that this has the potential to make some of your users very angry/frustrated if they have a legitimate need to shut the BESClient off (for instance: troubleshooting) so make sure you are comfortable with this approach.