The difference between the 'Local System' account and the 'Network Service' account?

Posted by jmatthias on Stack Overflow See other posts from Stack Overflow or by jmatthias
Published on 2009-02-04T05:30:33Z Indexed on 2010/04/07 16:13 UTC
Read the original article Hit count: 244

Filed under:
|

I have written a Windows service that spawns a separate process. This process creates a COM object. If the service runs under the 'Local System' account everything works fine, but if the service runs under the 'Network Service' account, the external process starts up but it fails to create the COM object. The error returned from the COM object creation is not a standard COM error (I think it's specific to the COM object being created).

So, how do I determine how the two accounts, 'Local System' and 'Network Service' differ? These built-in accounts seem very mysterious and nobody seems to know much about them.

© Stack Overflow or respective owner

Related posts about security

Related posts about Windows