Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 444
  • Last Modified:

Need to keep a program running 24/7

We are developing a commercial application that needs to be running 24/7. The problem is that the customers, as a rule, give the users full administrative rights to the computers.

We install it by making a folder under Program Files, copying our software to it and making a registry entry in the Run section to run the application. Sooner or later the users are going to figure out a way to disable the program.

1) Delete the registry entry
2) Delete the Program Files folder
3) Ctrl-alt-del in to Task manager and kill the process

Those are just a few off the top of my head. Are there any benefits running the program as a service? Are there any simple solutions to keep the users from terminating the program?
0
jimbecher
Asked:
jimbecher
2 Solutions
 
Jaime OlivaresSoftware ArchitectCommented:
If the user has administrator rights, there is no way to prevent him/her to stop it. But I would suggest to install it as a service with a name that will cause confusion, like "WinCore" or similar. Although services can be killed too, they will be harder to find.
0
 
Dave BaldwinFixer of ProblemsCommented:
Just curious.  What are you going to do with the people that turn their computers off each night?
0
 
OrcbighterCommented:
What kind of program needs to run 24/7 on a user's desktop?

1. If the software is on the user's machine, there is no way you can prevent him/her from turning off the machine.
Indeed, some organisations are implementing procedures to remotely turn off computers after hours in order to save costs.

2. You can set up the program as a Windows Service so that it starts whenever Windows starts.
But again, I refer you back to point 1.

3. The user is only going to bother tracking down a way of disabling your program if it has an impact on the computer's performance, from their point of view. In which case they are fully justified, and you need to rethink how your program works.
If it is resource transparent, from the user's point of view, they will just not bother trying to disable it.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
jimbecherAuthor Commented:
The obvious is there is nothing you can do if the user shuts down the computer. That is a given. This particular program must be running whenever the computer is running.

   The program does not slow their computer down but is does, in certain instances, disables their keyboard and mouse hence limiting what they are alloed to do. As is always the case if users have enough time they will figure out what is limiting them and try and overcome it.

   I have seen cases, primarily Anti-virus programs, that when you go in to services, the ability to stop or alter the service is not there. I have seen this even though I have administrative right. Any idea how that is done?
0
 
OrcbighterCommented:
but is does, in certain instances, disables their keyboard and mouse hence limiting what they are alloed to do
That would be grounds for damnation if it was on my PC.

In what instances would you disable the mouse and keyboard of a user's PC.?
0
 
jimbecherAuthor Commented:
I am not at liberty to go in to further detail. When it happens and what happens is not relitive to the question.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now