I have a process A launched as a windows service (user = System). I also have a process B that I launch under my own account (in group Administrators).
I have observed several behaviours :
1- process A is launched as windows service (user System) first. Then process B will NOT run (user is admin) : it can be started but it closes immediately without error, even in windows events.
2- process B is launched (user is admin) first, it runs OK. Then process A is started as windows service (user System) and everything works fine.
3- process A is launched as windows service (run as admin) first. Then process B is launched (user is admin) and everything works fine.
4- process A is launchd as windows service (user System) first. Then process B is launched as windows service too (user System). Everything works fine.
It seems to me that there is a problem in the configuration of some rights but I can't find which one. Also, process A and process B use some DLLs in common so maybe the problem can be there but again I can't find which is the faulty dll.
I hope some of you guys can help me to figure it out ! The usecase I want to run is the number 1.
Frederic