Hey everyone, I am working on a program for an Internet Cafe. I want the program to be able to run as a Service under Windows. I would like the service's "User Name" to run as "SYSTEM" instead of the current logged on user. I have tried modifying the registry values but I have failed miserably; not to mention the program ends after about 30 seconds of starting Windows. The method/answer posted here should be practical for installation of my program. If possible, I would also like to make the program uncloseable, like certain Norton programs (NPROTECT.exe). When ending this Norton application, it gives the error "The operation could not be completed. Access is denied." Or... something like various Windows components (Example: csrss.exe) which say "This is a critical system process. Task Manager cannot end this process."
Thanks for the help, I will accept either of those two types of answers, (Unclosable Task) or (SYSTEM Service).