I have developed a
Windows Service to prevent user from using the camera on group of computers. However, I am trying to find a way to ensure the service is never deleted. I tried
CanStop in .NET property but the service was still deletable
sc delete , not to mention that registery is another way of doing so.
I know it is not correct to have an aggressive application/service. However, I would like to know how to control bunch of PCs in such that there is a master and client PCs.
so far the solution I have as follow:
- set CanStop = false
- Monitor the service status of the clients from a master PC
- Start the service if it's stopped remotely
FYI: I am not looking into domain solution.