Windows 2012 R2 VM's Event Id 1008

Thomas Grassi
Thomas Grassi used Ask the Experts™
on
Windows 2012 R2 VMs on ESXI Hosts.

Every Saturday I run a task scheduled job

Runs these three commands

systeminfo >>c:\util\uptimex.txt
net statistics workstation >>c:\util\uptimex.txt
c:\util\pstools\psinfo  >>c:\util\uptimex.txt

The all work fine but I get this event on every Windows 2012 R2 VM

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/9/2017 6:41:04 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

My search found these instructions

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:
1.Click Start, click All Programs, and click Accessories.
2.Right-click Command Prompt, and then click Run as administrator.
3.At the command prompt, type cd %SYSTEMROOT%\System32 and then press ENTER.
4.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:
1.On the computer where you want to view counters, click Start. In the Start Search text box, type perfmon.exe, and then press ENTER.
2.In the navigation pane, expand Monitoring Tools, and then click Performance Monitor.
3.Click the Add button to open a list of available performance counters.
4.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.
5.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:
1.Click Start, click All Programs, and click Accessories. Right-click Command Prompt, and click Run as administrator.
2.At the command prompt, type typeperf -qx and press ENTER.
3.Verify that the performance counter list contains expected values.



On STEP 4
4.At the command prompt, type lodctr:\<ini file>, where <ini file> is the .ini file for the library

I need to find the ini file associated with BITSPERF.DLL  


SO I try to run this command
findstr bitsperf*.ini

But it never finishes     just sits there in the command prompt tried run as administrator also no change

I even tried this on two Physical Windows 2012 R2 boxes.

What is the ini file that I need to reload?

Thanks

Tom
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Systems Admin
Top Expert 2010
Commented:
https://partnersupport.microsoft.com/en-us/par_servplat/forum/par_winserv/top-issue-error-1008-from-perflib-open-procedure/2104e9f9-62c3-40e1-9bfe-a04027149f04?auth=1 explains how to resolve this error specifically, and is specific to the BITS performance library itself, rather than being generic for all performance libraries.
Thomas GrassiSystems Administrator

Author

Commented:
Thanks

I followed the steps in the article method 1.

C:\Windows\system32>lodctr bitsperf.dll

C:\Windows\system32>lodctr /R:bitsperf.dll

Error: Unable to restore performance counter setting from backup file C:\Windows
\system32\bitsperf.dll, error code is 1006
C:\Windows\system32>

So I tried method 2.

PS C:\Users\administrator.MYVM> unlodctr bits

Counters for bits have not been installed yet
PS C:\Users\administrator.MYVM> lodctr "c:\windows\inf\bits\0409\bitsctrs.ini"


Now when I run the script I get 9 other 1008 errors a 1023 error and 2001 error

here are the other errors

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "usbhub" in DLL "C:\Windows\system32\usbperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.


Log Name:      Application
Source:        usbperf
Date:          9/10/2017 11:56:40 PM
Event ID:      2001
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     SERV004.net.com
Description:
Unable to read the "First Counter" value under the usbperf\Performance Key. Status codes returned in data.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1023
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     SERV004.net.com
Description:
Windows cannot load the extensible counter DLL TermService. The first four bytes (DWORD) of the Data section contains the Windows error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Serv004.net.com
Description:
The Open Procedure for service "RemoteAccess" in DLL "C:\Windows\System32\rasctrs.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "NTDS" in DLL "C:\Windows\system32\ntdsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "MSDTC" in DLL "C:\Windows\system32\msdtcuiu.DLL" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "ESENT" in DLL "C:\Windows\system32\esentprf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "DNS" in DLL "C:\Windows\system32\dnsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "DirectoryServices" in DLL "C:\Windows\system32\ntdsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-Perflib
Date:          9/10/2017 11:56:40 PM
Event ID:      1008
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERV004.net.com
Description:
The Open Procedure for service ".NETFramework" in DLL "C:\Windows\system32\mscoree.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Log Name:      Application
Source:        Microsoft-Windows-LoadPerf
Date:          9/10/2017 11:55:11 PM
Event ID:      1000
Task Category: None
Level:         Information
Keywords:      
User:          MYVM\Administrator
Computer:      SERV004.net.com
Description:
Performance counters for the BITS (Background Intelligent Transfer Service) service were loaded successfully. The Record Data in the data section contains the new index values assigned to this service.


AS you can see many more events 1008 than before method two

What am I missing here?

Also you can see the BITSPERF still had event 1008 after method two

also above I posted results of both methods they both had a issue could that be the meaning of this problem?

If so what should I do next?

Thanks

Tom
Thomas GrassiSystems Administrator

Author

Commented:
Thanks for the link it lead me to a solution I had to lodctr the other dll files
Also had to disable one of them  usbperf was getting the 2001 event


Thanks

Tom

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial