設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 2162|回復: 0
打印 上一主題 下一主題

C:\Windows\system32\bitsperf.dll" failed

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2017-11-7 03:44:32 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
DLL "C:\Windows\System32\bitsperf.dll" 的服務 "BITS" 的開啟程序失敗。這個服務的效能資料將無法使用。Data 區段的前四個位元組 (DWORD) 包含錯誤碼。

Below are some steps to be followed.
Steps:
We have to rebuild Performance Counters with LODCTR from an elevated command prompt.

1. Launch Command Prompt as Administrator (right click Runs As Administrator).
2. Drop into the C:\WINDOWS\System32 directory by typing CD\ then CD Windows\System32
3. To rebuild your resource counters type the following command:

lodctr /r
This will rebuild your counter values and may take a few moments so please be patient.

4. If you wish to query the counters to make sure they were correctly set, use:

lodctr /q

This will give you something like the following:
Performance Counter ID Queries [PERFLIB]:

    Base Index: 0x00000737 (1847)
    Last Counter Text ID: 0x000031D2 (12754)
    Last Help Text ID: 0x000031D3 (12755)

[.NET CLR Data] Performance Counters (Enabled)

    DLL Name: %systemroot%\system32\netfxperf.dll
    Open Procedure: OpenPerformanceData
    Collect Procedure: CollectPerformanceData
    Close Procedure: ClosePerformanceData

[.NET CLR Networking] Performance Counters (Enabled)

    DLL Name: %systemroot%\system32\netfxperf.dll
    Open Procedure: OpenPerformanceData
    Collect Procedure: CollectPerformanceData
    Close Procedure: ClosePerformanceData
and etc

5.Now reopen the Performance Monitor and check it. You will see that the error was fixed.

Note 1:
In the query if you have provider name that is Disabled, Use this Cmdlet to enable it.lodctr /e : < provider name>
for example (think in above query Performance Counters is disable ) :lodctr /e : Performance Counters

Note 2:
If you perform this step and it doesn't work, please see the event log and search for if there is Event ID = 3006 in it? if yes,
please go to registry and change Disable Performance Counters from "1" to "0".
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

Event ID 1008 — Performance Library Availability


Resolve      Resolve the installation issue      

If a performance library file was not properly initialized during installation, you can reload it.

      

Membership in the local Administrators group is required to complete this procedure.

      

To reload a performance library:

      

            
  • Click Start, click All Programs, and click Accessories.
            
  • Right-click Command Prompt, and then click Run as administrator.
            
  • At the command prompt, type cd %SYSTEMROOT%\System32 and then press ENTER.
            
  • At the command prompt, type lodctr:\<ini file>, where <ini file> is the .ini file for the library that you want to reload.
          
      Verify      

You can use Windows Reliability and Performance Monitor to verify that netowkr performance counters are properly collected and displayed in a Performance Monitor graph. In addition, you can use the typeperf command to get a list of the available counters on the local system.

      

Membership in the local Administrators group is required to complete these procedures.

      View counters in Performance Monitor      

To view counters in Performance Monitor:

      

            
  • On the computer where you want to view counters, click Start. In the Start Search text box, type perfmon.exe, and then press ENTER.
            
  • In the navigation pane, expand Monitoring Tools, and then click Performance Monitor.
            
  • Click the Add button to open a list of available performance counters.
            
  • In the Add Counters dialog box, you can click Help for more information on adding counters. When you have finished adding counters to the list, click OK.
            
  • Verify that the performance counters you selected are displayed in the Performance Monitor graph.
          
      

        View a list of counters using the typeperf command      

      

To view a list of counters at the command prompt:

      

            
  • Click Start, click All Programs, and click Accessories. Right-click Command Prompt, and click Run as administrator.
            
  • At the command prompt, type typeperf -qx and press ENTER.
            
  • Verify that the performance counter list contains expected values.



分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-6-1 13:22 , Processed in 0.250530 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表