Need to keep a program running 24/7

Posted on 2012-09-09
Last Modified: 2012-09-15
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?
Question by:jimbecher
    LVL 55

    Accepted Solution

    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.
    LVL 82

    Expert Comment

    by:Dave Baldwin
    Just curious.  What are you going to do with the people that turn their computers off each night?
    LVL 9

    Assisted Solution

    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.
    LVL 11

    Author Comment

    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?
    LVL 9

    Expert Comment

    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.?
    LVL 11

    Author Comment

    I am not at liberty to go in to further detail. When it happens and what happens is not relitive to the question.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    This video discusses moving either the default database or any database to a new volume.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now