I've found quite a few posts that seem to deal with scenarios along these lines, but I can't find a firm answer.
I have a windows service that runs as Network Service. It runs under this account because it must access the SharePoint API on a stand-alone installation of SharePoint.
I need the windows service to launch another process, using Process.Start, also running as Network Service. This process is a separate program developed by someone else that also interacts with SharePoint. My service needs to bring them up, query them for a bit of data, and shut them down (no UI).
The problem is that for some reason the process gets killed immediately after starting. I've tested this against a full SharePoint install (not stand-alone), where the windows service runs as an AD account, and it works fine.
So, I'm thinking that Network Service is not allowed to create a new process? I see no errors in the event viewer at all.
Any help would be greatly appreciated!
There is nothing (AFAIK) that stops a process running under Network Service from running another process.
I think this is a red herring - I suspect that the problem is not starting the other process but that the other process is trying to do something not permitted by Network Service.
To determine how about starting something else like "time.exe" with arguments of "/t" - if this works then the problem is not starting the process but running the process.