Share via


Event ID 4010 — Performance Counter Status

Applies To: Windows Server 2008

Performance Counters are collected and used by services and applications. If they are installed incorrectly or with improper permissions, or if required files are not enabled on the system, those services or applications cannot collect or interpret the data.

Event Details

Product: Windows Operating System
ID: 4010
Source: Microsoft-Windows-PerfCtrs
Version: 6.0
Symbolic Name: TCP_COMPUTER_NAME
Message: Unable to get the local computer name. The data in the data section contains the error code.

Resolve

Reduce the length of the computer name

The computer name must be fewer than 15 characters for this operation to succeed.

Membership in the target system's local Administrators group is required to complete this procedure.

Note: This procedure requires a reboot.

To rename the computer:

  1. Click Start, right-click Computer, and then click Properties.
  2. In Computer name, domain, and workgroup settings, click Change settings.
  3. On the Computer Name tab, click Change.
  4. Type a name of fewer than 15 characters in the Computer name text box.
  5. Click OK to close the Computer Name/Domain Changes dialog box.
  6. Click OK to close the System Properties property page.
  7. Close any open applications and restart the computer.

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.

Performance Counter Status

Management Infrastructure