I am looking into building a Windows service (with which I have very little experience).
The service will need to contain code to:
1. call an external script/exe, ie: "C:\Myprogram\myscript.exe"
2. read (but not write) from the registry.
3. write an update to a log file, ie: "C:\Myprogram\mylog.txt"
My question is:
If the computer is rebooted but nobody logs on and the machine is sitting on the login box (CTRL+ALT+DEL), will my service still be able to perform the 3 tasks above?
It may seem obvious, but I am concerned about how the system will know that my service has permission to read/write files and access the Registry.
Will it "just do it", or do I need to somehow program the service to have administrative permissions?