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.
|