开发者

WMI Error in Windows Server 2008 (WMI Provider)

开发者 https://www.devze.com 2022-12-12 07:06 出处:网络
I\'ve implemented a WMI provider (Window service, Instance, Methods and Properties provider). It works fine on Win开发者_运维问答dows Server 2003, but when it run on Windows Server 2008 with non-local

I've implemented a WMI provider (Window service, Instance, Methods and Properties provider). It works fine on Win开发者_运维问答dows Server 2003, but when it run on Windows Server 2008 with non-local administrator user, I cannot query it.

The error I get is 0x8004101d - unexpected error.

When the service user is a local admin everything is OK.

What could it be???

Thanks!


OK, the problem was that I didn't specify the HostingModel, so it defaulted to NetworkServiceHost. The one needed one is LocalSystemHostOrSelfHost (that is the default in prior to Vista OSs).

0

精彩评论

暂无评论...
验证码 换一张
取 消