Hi,
On my windows 20012 server system WMI provider is using a library which perform operation on attached storage devices(perhaps this library need administrative privileges).
Now there are two cases:
case 1: when HostingModel is set to LocalSystemHost, the library used by the provider is able to return number of attached storage devices properly(probably the library is reading some registry to get the number of devices).
Case 2: when HostingModel is set to NetworkServiceHost , on the same system the library used by the provider is returning 0 number of devices attached. However another utility using the same library returns two devices which is correct.
Note: I am using administrator account to login.
Please respond with your input asap.
Thanks & Regards,
Ashwini