WMI provider is not behaving properly when HostingModel set to NetworkServiceHost.
hi,
on windows 20012 server system wmi provider is using library perform operation on attached storage devices(perhaps library need administrative privileges).
now there 2 cases:
case 1: when hostingmodel is set to localsystemhost, the library used provider able return number of attached storage devices properly(probably library reading some registry to number of devices).
case 2: when hostingmodel is set to networkservicehost , on same system the library used provider returning 0 number of devices attached. utility using same library returns 2 devices correct.
note: using administrator account login.
please respond input asap.
thanks & regards,
ashwini
hi ashwini,
thanks post.
networkservicehost account services not require extensive privileges, need to communicate remotely other systems.
https://technet.microsoft.com/en-us/learning/aa392783(v=vs.60).aspx
in senairo, value turns 0 when setting networkservicehost. may ask there other message?
and if wmi provider lacks definition hosting model , executes if running under localsystem level, not run properly.
https://msdn.microsoft.com/en-us/library/bb757016.aspx
best regards,
mary dong
please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > File Services and Storage
Comments
Post a Comment