Event ID 4010 — Performance Counter Status
Applies To: Windows Server 2008 R2
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.
|Product:||Windows Operating System|
|Message:||Unable to get the local computer name. The data in the data section contains the error code.|
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:
- Click Start, right-click Computer, and then click Properties.
- In Computer name, domain, and workgroup settings, click Change settings.
- On the Computer Name tab, click Change.
- Type a name of fewer than 15 characters in the Computer name text box.
- Click OK to close the Computer Name/Domain Changes dialog box.
- Click OK to close the System Properties property page.
- Close any open applications and restart the computer.
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.