2
votes

We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service. Can anyone point me in the right direction for making the exe run under the network account?

1
If you don't know how this miraculous feat occurred, there's little you can do to override it reliably.Hans Passant
@Hans Passant Yeah but thats what SO is for :prook

1 Answers

1
votes

You want to use the function call CreateProcessAsUser().