![](/img/trans.png)
[英]How to detect antivirus installed on windows 2003 server and 2008 server 2003 server R2and 2008 server R2 using WMI or other then WMI in C++
[英]WMI Error in Windows Server 2008 (WMI Provider)
我已經實現了WMI提供程序(窗口服務,實例,方法和屬性提供程序)。 它在Windows Server 2003上可以正常工作,但是當它以非本地管理員用戶在Windows Server 2008上運行時,我無法查詢它。
我得到的錯誤是0x8004101d - unexpected error
。
如果服務用戶是本地管理員,則一切正常。
會是什么呢???
謝謝!
好的,問題是我沒有指定HostingModel
,所以它默認為NetworkServiceHost
。 所需的一個是LocalSystemHostOrSelfHost
(這是Vista操作系統之前的默認設置)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.