winmgmt.exe在Win2000中100%使用cpu [英] winmgmt.exe 100% cpu usage in win2000

查看:104
本文介绍了winmgmt.exe在Win2000中100%使用cpu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将ddk示例"diskperf"修改为一个卷过滤器驱动程序,并删除了所有wmi代码.该驱动程序在Windows 2000以外的几乎所有Windows版本上均可正常运行.

问题是当我安装驱动程序并重新启动时,Winmgmt.exe以100%的CPU使用率运行,并且Windows挂起.

以下情况是可以的:
1.从系统中删除diskperf.sys.
2.禁用wmi服务.

有什么建议吗?

非常感谢!

好吧,我尝试了第三种情况:
3.使用diskperf.exe -N禁用物理和逻辑驱动器"性能计数器.我在线上查看过.
我正在看这两页.
http://code.msdn.microsoft.com/windowshardware/DiskPerf-Storage-Filter-80cb5feb [^ ]
http://msdn.microsoft.com/zh-CN /library/windows/hardware/ff552575(v=vs.85).aspx [
The problem is when I install the driver and restart, Winmgmt.exe runs at a 100% cpu usage, and windows hungs.

The following situations will be ok:
1. remove the diskperf.sys from system.
2. disable the wmi services.

Any advice?

thanks a lot!

well, I tried out the 3rd situation:
3. use diskperf.exe -N to disable the "physical and logical drives" performance counters

There does not seem to be allot of code for that. I viewed it on line.
I was looking at these 2 pages.
http://code.msdn.microsoft.com/windowshardware/DiskPerf-Storage-Filter-80cb5feb[^]
http://msdn.microsoft.com/en-us/library/windows/hardware/ff552575(v=vs.85).aspx[^]

You may try and build a version that has everything in it and see if that makes a difference. It may require some WMI calls.

Also verify the Bit version.

There may be one with that name already on the system.

Your version may make function calls that was not supported till after Windows 2000.

With out seeing the code and trying it on a Windows 2000 system( which I have no access to.) I can only make a some what educated guess.


这篇关于winmgmt.exe在Win2000中100%使用cpu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆