IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Windows service spawns another process ...
is that process automatically run as a service as well? If not, is there a way to do it?
New Re: Windows service spawns another process ...
A process spawned by a service runs with system privilege but is not a service, in that it is not registered. If a non-admin user is logged on, the process spawned by the service will still be able to muck with drivers and protected registry that the user would not be allowed to access.
New Is there a way for the spawning service ...
to register the child process as a service?
Expand Edited by bluke May 4, 2004, 12:10:42 PM EDT
New Not exactly.
If you want your secondary process to run as a service, you would have to use the service control manager api to define interface, register, and start the process. It's not as simple as spawning a process. It can be a little tricky to set up. Further, MS is allegedly doing away with user interfaces for services in the near future, but I have no details.
     keeping server process alive after logout - (bluke) - (9)
         I don't think you do. - (inthane-chan) - (3)
             Isn't there a way to detach the process - (bluke) - (2)
                 Not that I know of. Peter? - (inthane-chan) - (1)
                     RUN/DETACHED PATH_TO_PROGRAM.EXE /OUTPUT=MYLOGFILE.TXT - (pwhysall)
         Log in via RDP - (imric)
         Windows service spawns another process ... - (bluke) - (3)
             Re: Windows service spawns another process ... - (hnick) - (2)
                 Is there a way for the spawning service ... - (bluke) - (1)
                     Not exactly. - (hnick)

I'm gonna grab you by your Supercut and shake you like a fresh glowstick!
73 ms