Permissions issue when publishing to WMI under network service account
问题 I'm adding WMI publishing to a .net framework 3.5 based windows service that is running under the 'network service' account. According to a document I came across on MSDN, the 'network service' account should by default have WMI publishing permissions. (" By default, the following users and groups are allowed to publish data and events: ... Network Service , ... ") However, when the service calls Instrumentation.Publish(myStatusClassInstance), it throws a DirectoryNotFoundException; System.IO