ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

安装软件时出现错误提示:无效类

2020-06-06 14:03:40  阅读:645  来源: 互联网

标签:提示 无效 Here MOF will WMI 软件 click Once


VirtuallyBoring VirtuallyBoring  

Microsoft WMI – Invalid Class Error [0x80041010]

November 19, 2015 by 

You can receive error 0x80041010 from multiple applications that call WMI. For my example it was received in SCCM while patches were being applied.

WMI - Configuration Manager Trace Log Error

No matter where you got the error the underlying issue is probably with WMI. Here is how to check!

Confirm WMI is Broken:

Launch the WMI MMC snapin by Start -> Run -> then enter WMIMGMT.MSC

Right click WMI Control (Local) and click Properties

WMI 1 - wmimgmt.msc

If WMI is working properly then it will show that Good Properties. If you see Invalid class then your WMI is not working correctly.

Bad Good

Troubleshooting:

The first step is to download the Microsoft WMIDiag Tool. It will analyze WMI and give you a report with any issues it finds.

When you run the downloaded .EXE it will ask you where to extract the files. Once extracted right click the WMIDiag VBScript and click Open with Command Prompt

WMI 3 - WMIDiag Tool

Here is what the script looks like while it runs:

WMIDiag - Script Running

Once complete you will get a text file of the results. Here you should be able to narrow down the cause of your WMI issue. In my case there are issues with .MOF registrations.

WMI 4 - WMIDiag Results

Resolve MOF Registration Errors:

To resolve MOF Registration errors the following commands need to be ran from an elevated command prompt. It will reregister all .MOF files with WMI.

CD C:\Windows\System32\WBEM
dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s

Here is what the command looks like while it runs:

WMI 5 - MOF Registration

Once finished check WMIMGMT.MSC to see if it is populating the Properties correctly.

Good

Share this, be sociable!!

 

标签:提示,无效,Here,MOF,will,WMI,软件,click,Once
来源: https://www.cnblogs.com/caicaizi/p/13054469.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有