I have created an app that needs to run in the backgroud all of the time (it monitors idle time of pc's for usage stats) but I want to stop this app/process from being closed using task manager.
I have tried various packages to wrap the JAR file up (Advanced Installer) so that you can just run the .exe it creates without seeing that Java.exe is running. Advanced Installer also allows you to create a service from a java application but I cannot get this to work as the application does interact with the desktop (shows windows balloon messages).
Has anyone prevented this in the past, if so advice would be appreciated.
I have seen certain programs such as antivirus programs which when you try and terminate the process using task manager it either comes up access denied or it will respawn a new process so it can never be closed and I would like to replicate this.
I have full administrator / domain administrator access over the pcs it will be used on as well as access to group policy.