Win10性能计数器缺失恢复

本文详细指导如何在Windows Server上手动重建所有性能计数器,包括扩展性和第三方计数器,涉及lodctr/R命令、WMI同步、服务重启及创建新数据收集器集的操作步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Manually rebuild performance counters - Windows Server | Microsoft Docs

Rebuild all performance counters including extensible and third-party counters

To rebuild all performance counters including extensible and third-party counters, type the following commands at an Administrative command prompt. Press ENTER after each command.

  1. Rebuild the counters:

    ConsoleCopy

    cd c:\windows\system32
    lodctr /R
    cd c:\windows\sysWOW64
    lodctr /R
    
  2. Resync the counters with Windows Management Instrumentation (WMI):

    ConsoleCopy

    WINMGMT.EXE /RESYNCPERF
    
  3. Stop and restart the Performance Logs and Alerts service.

    PowerShellCopy

    Get-Service -Name "pla" | Restart-Service -Verbose
    
  4. Stop and restart the Windows Management Instrumentation service.

    PowerShellCopy

    Get-Service -Name "winmgmt" | Restart-Service -Force -Verbose
    
  5. Create a new Data Collector Set (don't use an existing Data Collector Set).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值