大网数据广告活动
启动与系统组件

Error 25211 installing the Operations Manager agent

· 52CE 我爱测

Fixes an issue in which you receive an Error 25211-The parameter is incorrect message when you try to install the Operations Manager agent on Windows Server 2008 SP2.

This article helps you fix an issue in which you can't install Microsoft System Center Operations Manager agent on Windows Server 2008 Service Pack 2 and receive error 25211.

Original product version:   System Center 2016 Operations Manager, System Center 2012 R2 Operations Manager, Microsoft System Center 2012 Operations Manager
Original KB number:   4036329

Symptoms

When you try to install the System Center Operations Manager agent on Windows Server 2008 Service Pack 2, the installation fails, and you receive the following error message:

Error 25211. Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.).

You may receive a different error code, such as the following:

Error Code: -2147024894 (The system cannot find the file specified.).

Additionally, the event log displays the following event:

Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 10005
User: <USER_NAME>
Computer: <COMPUTER_NAME>
Description:
Product: System Center Operations Manager <VERSION> Agent -- Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.).

Cause

This issue occurs for any of the following reasons:

  • Some registry keys are missing.
  • The Perfh009.dat file is locked by another process.
  • Some performance counters are corrupted.

Resolution

To fix this issue, try the following steps in the given order:

  1. Install the Operations Manager agent by running the following command at an elevated command prompt:

    msiexec.exe /i MOMAgent.msi NOAPM=1
    

    If the issue persists, go to step 2.

  2. Determine whether the following full registry subkeys exist:

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Performance

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MOMConnector\Performance

    Create the indicated Performance keys if they don't exist, and then reinstall the Operations Manager agent.

    [!NOTE] You don't have to create values for the new registry keys.

    If the issue persists, go to step 3.

  3. Use a tool such as Process Monitor or Process Explorer to determine whether Perfh009.dat is locked by another process. If Perfh009.dat is locked, stop the other process, and then reinstall the Operations Manager agent.

    If Perfh009.dat isn't locked or if the issue persists, go to step 4.

  4. Rebuild the performance counter library, and then reinstall the Operations Manager agent.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/15/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。