当我们遇到Win7旗舰版系统文件%SystemRoot%System32WbemRepository损坏时,系统就会每隔30秒给我们弹出提示“Winmgmt.exe has generated errors and will be closed by Windows.You will need to restart the program.An error log is being created”。

具体步骤:

1、右击“我的电脑”-“管理”,在“服务和应用程序”下单击“服务”,停止Windows Management Instrumentation 服务;

2、然后删除 %SystemRoot%System32WbemRepository 文件夹中的全部文件;

3、再打开“服务和应用程序”,选择服务,打开并启动 Windows Management Instrumentation 服务;

4、当服务重新启动时,把基于以下注册表项中所提供的信息重建这些文件:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWBEMCIMOMAutorecover MOFs。

反复弹出“WinMgmt.exe产生错误”如何解决

WinMgmt.exe是Windows管理服务。用于系统管理员创建WIndows管理脚本。

打开“控制面板 → 管理工具 → 服务”,找到 Windows Management Instrumentation,它对应的文件就是 winmgmt.exe;

第二步,停止 Windows Management Instrumentation 服务,删除 C:\WINNT\system32\wbem\Repository 目录下的所有文件;

最后,启动 Windows Management Instrumentation 服务即可。

Winmgmt.exe频繁出错

在“运行”中执行services.msc,打开“服务”窗口,把其中的Windows Management Instrumentation服务停止;然后进入系统分区的WINDOWS\system32\wbem\Repository目录下,删除该目录下的所有文件(WIN2000系统的在WINNT\system32\wbem\Repository下);最后再进入“服务”窗口把indows Management Instrumentation服务启动。