windows不能显示此连接属性。windows management instrumentation (WMI) 信息可能损坏 (转,经测试成功)
2017-11-25 19:15
381 查看
Windows Management Instrumentation (WMI)信息可能损坏错误修复
在 查看“本地连接”的属性,并切换到“高级”选项卡后,提示:“Windows不能显示此连接的属性。Windows Management Instrumentation(Windows管理体系结构组件WMI)信息可能损坏。要更正此问题,请使用系统还原将Windows还原到一个较早的 时间点……
解决方法:
具体操作如下:第一步:右击“我的电脑”,选择“管理”菜单,依次定位到“计算机管理(本地)→服务和应用程序→服务”项,在右边窗口中找到“Windows Management Instrumentation”一项,双击打开,在弹出的窗口中单击“停止”按钮。
第二步:进入本地磁盘的C:\Windows\System32\Wbem\Repository目录,删除该目录下的所有文件后,重新启动计算机。登录后,系统会重新在该目录拷贝建立所需要的文件,并且自动启动刚才停止的WMI服务。
小提示.
该 故障是由于C:\Windows\System32\Wbem\Repository目录下的文件损坏引起的,WMI会在每30~60秒之间调用该目录下 的文件,所以会收到上述错误提示信息。该故障还能引起的其他连锁反应有:无法查看“本地连接”的属性、运行msinfo32(查看系统信息)命令时系统无 响应、运行wmimgmt.msc命令打开WMI管理单元时系统提示“Failed to connect to local computer due to WMI:Generic failure”错误。
如果还是不行或者服务里根本没有WMI这个的话:
打开记事本,将以下代码保存为*.bat(文件名任意,后缀名固定)文件,在安全模式下打开运行。
程序代码如下:
```
@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (.mof,.mfl) do Mofcomp %%i
net start winmgmt
goto End
:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer
:SkipSrv
goto End
:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End
```
运行后,系统开始自动修复、修复完成后重新启动计算机,问题解决。
在 查看“本地连接”的属性,并切换到“高级”选项卡后,提示:“Windows不能显示此连接的属性。Windows Management Instrumentation(Windows管理体系结构组件WMI)信息可能损坏。要更正此问题,请使用系统还原将Windows还原到一个较早的 时间点……
解决方法:
具体操作如下:第一步:右击“我的电脑”,选择“管理”菜单,依次定位到“计算机管理(本地)→服务和应用程序→服务”项,在右边窗口中找到“Windows Management Instrumentation”一项,双击打开,在弹出的窗口中单击“停止”按钮。
第二步:进入本地磁盘的C:\Windows\System32\Wbem\Repository目录,删除该目录下的所有文件后,重新启动计算机。登录后,系统会重新在该目录拷贝建立所需要的文件,并且自动启动刚才停止的WMI服务。
小提示.
该 故障是由于C:\Windows\System32\Wbem\Repository目录下的文件损坏引起的,WMI会在每30~60秒之间调用该目录下 的文件,所以会收到上述错误提示信息。该故障还能引起的其他连锁反应有:无法查看“本地连接”的属性、运行msinfo32(查看系统信息)命令时系统无 响应、运行wmimgmt.msc命令打开WMI管理单元时系统提示“Failed to connect to local computer due to WMI:Generic failure”错误。
如果还是不行或者服务里根本没有WMI这个的话:
打开记事本,将以下代码保存为*.bat(文件名任意,后缀名固定)文件,在安全模式下打开运行。
程序代码如下:
```
@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (.mof,.mfl) do Mofcomp %%i
net start winmgmt
goto End
:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer
:SkipSrv
goto End
:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End
```
运行后,系统开始自动修复、修复完成后重新启动计算机,问题解决。
相关文章推荐
- windows不能显示此连接属性。windows management instrumentation (WMI) 信息可能损坏
- windows不能显示此连接属性。windows management instrumentation (WMI) 信息可能损坏
- 解决【Windows Management Instrumentation(WMI)信息可能损坏】
- Windows Management Instrumentation (WMI)信息可能损坏错误修复
- C#中如何用Windows Management Instrumentation (WMI)得到系统信息
- [转]重建损坏的Windows Management Instrumentation(WMI)服务
- 用windows media player打开mp3文件时提示,找不到指定模块;并且鼠标指向音乐文件时不能显示详细的文件信息,如位速等
- c# - 使用WMI(Windows Management Instrument)取得硬件信息
- Microsoft Windows Management Instrumentation (WMI)简介
- 使用PushMeBaby测试推送,log显示成功但设备没有收到信息的同学来看!
- 在action中,数据添加、修改成功后,向页面显示提示信息,包括可能出现的问题。
- Windows Management Instrumentation(WMI) 之 Win32 类
- windows不能在本地计算机启动dbconsole//Environment variable ORACLE_SID not defined. Please define it错误//启动OEM时--选择连接到Management Server 后,在O
- Windows Management Instrumentation WMI Security Technology Learning
- (WMI)信息可能损坏"错误的修复
- C#用Windows Management Instrumentation获取本机各种信息
- WMI 编程 (Windows Management Instrumentation)
- WMI (Windows Management Instrumentation) - Secrets
- 安装SqlServer2008 遇到错误: Windows Management Instrumentation (WMI) service failed
- 在局域网络内的某台主机用ping命令测试网络连接时发现网络内部的主机都可以连同,而不能与公网连通,问题可能是