I want to write a simple background service that can kill all instances of a certain process for all users on demand. The process will always be the same (Microsoft Access). The idea is that users without administrative rights are able to execute a script, which tells the background service to kill the processes before moving on with other tasks. I do have a small program written in C which is able to kill all processes when executed from the Local System account, but I'm not sure how to tu it into a service that can be triggered on demand. Any suggestions are welcome. Also, I'm open for any other way of killing all instances of a process for all users without administrative rights.
