Upgrade to SCOM 2012 Agent - 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameters is incorrect)

I have seen this behavior on multiple servers. I receive this error when upgrading from a 2007 Agent to SCOM 2012.
Event ID: 10005
Product: System Center 2012 - Operations Manager Agent -- Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.).
Event ID: 1008
The Open Procedure for service "HealthService" in DLL "C:\Program Files\System Center Operations Manager 2007\HealthServicePerformance.dll" failed. Performance data for this service will not be available. The Status code returned is the
first DWORD in the attached data.
Any idea why I receive this error?
Thanks
Mike

Hi,
Please refer to this article:
SCOM 2012 – Unable to upgrade agent after upgrade from SCOM 2007
http://www.phits.nl/wordpress/2013/02/01/scom-2012-unable-to-update-agent-after-upgrade-from-scom-2007/
Alex Zhao
TechNet Community Support

Similar Messages

  • SCOM 2012 R2 Agent Issue: Error 25211.Failed to install performance counters.. Error Code: -2147024809

    Hi All,
    I'm trying to deploy SCOM 2012 R2 agent onto a domain controller and I get the following error "Product: Microsoft Monitoring Agent -- Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.)."
    I've installed the agent successfully onto 4 other domain controllers with out any issues.</p><p>The domain controllers are all VM's running on VMWare and are Windows Server 2012 R2.
    I've rebuilt the Perfmon Counters based on this article:&nbsp;https://support.microsoft.com/en-us/kb/2554336?a=wsignin1.0
    I've also enabled verbose logging on the msi installation:
    InstallHSPerfCounters: Custom Action Data. C:\Program Files\Microsoft Monitoring Agent\Agent\
    InstallHSPerfCounters: Installing agent perf counters. 
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft Monitoring Agent\Agent\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057. 
    InstallPerfCountersLib: Retry Count : . 
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft Monitoring Agent\Agent\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057. 
    Any help on this would be great.

    Hi Stefan,
    I've successfully installed the agent. The server needed a reboot after fixing the corrupt perfmon counters.
    I know have a issue with the agent on the domain controller. It kkeeps on greying out and have used hslockdown to allow the local system access by using the following command.
    HSLockdown.exe "ManagementGroupName" /A "NT AUTHORITY\Authenticated Users"
    Further digging into the issue I see in the SCOM Management Server the following error "The entity servername is not heartbeating"
    Written a SQL query to gather more information. SQL query I used is:
    SELECT
    ME.FullName,
    HSO.StartDateTime AS OutageStartDateTime,
    DATEDIFF (DD, hso.StartDateTime, GETDATE()) AS OutageDays,
    HSO.ReasonCode,
    DS.Name AS ReasonString
    FROM  vManagedEntity AS ME
    INNER JOIN     vHealthServiceOutage AS HSO ON HSO.ManagedEntityRowId = ME.ManagedEntityRowId
    INNER JOIN     vStringResource AS SR ON HSO.ReasonCode =
    REPLACE(LEFT(SR.StringResourceSystemName, LEN(SR.StringResourceSystemName)
    – CHARINDEX(‘.’, REVERSE(SR.StringResourceSystemName))), ‘System.Availability.StateData.Reasons.’, ”)
    INNER JOIN     vDisplayString AS DS ON DS.ElementGuid = SR.StringResourceGuid
    WHERE (SR.StringResourceSystemName LIKE ‘System.Availability.StateData.Reasons.[0-9]%’)
    AND DS.LanguageCode = ‘ENU’
    AND ME.FullName like ‘%SERVER NAME%’   –Change name here or leave %% for ALL SERVERS
    ORDER BY OutageStartDateTime
    This gives me the following reason behind the failure : "The heartbeat from System Center Management Service is missing."
    Have I missed anything? The agent is running fine, however SCOM is reporting that the heartbeat is missing.
    Any help on this would be great.

  • Error 25211. Failed to install performance counters while trying to remove a 2012 SP1 agent from system.

    I have a system that has the "Repair and Uninstall" options grayed out from the Management Server (2012 SP-1) and if I go to the system itself, I have tried repairing the Agent Installation (Does not work successfully) and I now am trying to "uninstall"
    the agent from the system.   I keep getting about 1/2 way through the uninstall and an error opens that "Cannot install performance counters".    The system is Windows 2003 Standard Edition SP2.   The system also
    has a SCOM 2007 directory locally that cannot be deleted because a log file is in use.  There are no other agents locally on the system through "Add / Remove Programs" within Control Panel.
    A little history. 
    We have two Environments (2012 R2 and the other 2012-SP1).  Some system were "Dual-Homed".   This one was not.  I am trying to uninstall the SP-1 agent so we can move it to the R2 environment.   It previously had MOM
    2005 agent tha was uninstalled and it appears to have had a 2007 agent installed at some point, but only the trace directory that I can find.
    I have tried rebuild commands for performance counter and it appears to be functioning correctly.

    Hi,
    Can you see the agent under pending management? You may upgrade the agent through the console.  
    When you upgrade an agent, the Operations Manager installer service runs and is not removed until after the completion of the upgrade. If the agent upgrade fails, you might have to re-install the agent because the installer service was not properly removed.
    If you attempt to upgrade the agent again and it fails, you should re-install the agent after you have completed upgrading all features of Operations Manager.
    After rebuilding performance counter by following the link below, you may try to uninstall the agent and check the result:
    http://support.microsoft.com/kb/300956/en-us
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • SCOM 2012 SP1 is failing to install - SQL not compatible

    I'm getting an error when installing SCOM 2012 SP1 stating the SQL is not supported. I have seen a few posts on the forum about this error message but so far none of the resolutions resolved my issue.
    Using named instance on port 2433.  Entering SQL\instance and port 2433 yields same message as seen in another post:
    "The installed version of SQL server is not supported.  Verify that the computer and installed version of SQL Server meet the minimum requirements for installation.  Please see the Supported Configurations document for further information."
    I noticed I get this in my OpsMgrSetupWizard.log
    [15:03:28]: Error: :StackTrace:   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at System.Management.ManagementObjectSearcher.Initialize()
       at System.Management.ManagementObjectSearcher.Get()
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupValidationHelpers.GetRemoteOSVersion(String remoteComputer)
    [15:03:28]: Debug: :IsSQLOnAValidComputer: remote OS version string was null or empty.
    Notice the last line - IsSQLOnAValidComputer is null/empty.  The solutions I found are to open the ports between these servers but the SQL server and SCOM server are on the same network - no firewall between them.  The registry key for domain firewall
    policy to 'EnableFirewall' is 0.  The firewall service is disabled on both machines.
    I am running the installation as a domain service account - for the DAA.  It has local admin on the SQL and SCOM server.  It has sysadmin DB access to the instance.
    SCOM Server:
    Server 2008 R2 Standard SP1
    SQL Server:
    Server 2008 R2 Enterprise SP1 | SQL 2012 RM 64-bit version 11.0.2100.60
    Any help is greatly appreciated.

    Glad to hear the issue has been resolved. Thanks for the update.
    Niki Han
    TechNet Community Support

  • Windows 8 fails to install EVERY update, error code 0x800f0922

    So I had to do a System Repair thing where Windows would repair itself and removing all my apps but keep my documents, photos and music etc. So I was reinstalling every program again and also wanted to install the updates.
    But I ran into 0x800f0922 error code and I couldnt install them. (I run Windows 8.1 Pro) I was trying to install Adobe Photoshop but couldnt continue cuz .NET framework 3.5 was required. But after trying to manually download + install I got
    the same error (0x800f0922). I've tried almost every cmd command but couldnt fix it. (im a kinda noob on it anyways)
    Any help would be appreciated!

    I did that and it told me it succeeded, but I also tried to manually install net framework with DISM but gave me the same error.. And I reinstalled Windows trying the repair, refresh and reset options, nothing helped. I did not yet tried a clean installation.
    CBS Log:
    https://www.dropbox.com/s/qgzhhmlr0nqd7es/CBS.log
    Windows Update Log:
    https://www.dropbox.com/s/hpakr5t2290pbpy/WindowsUpdate.log
    If the links dont work, try these:
    CBS Log:
    https://paste.ee/p/6aALS
    Windows Update Log:
    https://paste.ee/p/KzbIq

  • Problem upgrading from SCOM 2012 SP1 to R2 (near impossible to uninstall SCOM agent from Management Server)

    I'm trying to upgrade our SCOM 2012 SP1 environment to R2, but I have a heck of a problem getting there.
    We currently have an test installation with SCOM 2012 SP1 with Management Server and Console on a single 2012 Standard server. The database are located on a remote server. The R2 setup stopped mid way through the setup, because the SCOM 2012 SP1 agent is
    installed. And I could NOT remove it my any normal means. I've tried "misexec.exe /x productcode", the setup, powershell uninstall and so on. Nothing works, because the management server installation is blocking the uninstall. The uninstall says
    I have to remove the management installation first. And that's not gonna happen.
    I had to follow this guide to finally getting through the setup: http://www.opsman.co.za/forcibly-removing-a-scom-agent-that-cannot-be-uninstalled-by-normal-means/
    In addition to searching for the agent msi install key in registry, and deleting everything. After I did this, the setup is working, and the SCOM management server, console and DB are up to date. However, the Microsoft Monitoring Agent are STILL there in
    Control Panel. And this can NOT be the most healthy way of getting through the setup.
    I'm about to upgrade to R2 in our production environment with 3 management servers, and I would hate to go through this sketchy process there as well. Just for the record, I have no idea why the agents are installed on our management servers.
    Any of you have tips as to how I can get rid of the agents more gracefully?

    Hi
    Thanks for the replay guys!
    None of those links touch my problem I'm afraid. I have followed the Upgrade guides you pointed to, step by step. But the setup does not Complete. There's problems during the actual software Upgrade of the management servers (3'rd step in the Upgrade page).
    I've dived into the Application logs and installation logs, and as far as I can tell, it stops because it has trouble upgrading while the server has the 2012 SP1 Agent installed. I do not remember the actual error text right now, but I can get it in a few
    days.
    Anyhow, the setup DID move on once I removed most of the registry information of the agent installation. So. that leaves me to the conclusion that the agent IS in fact stopping the setup. Either the agent are malfunctioning, or the setup do not expect the
    agent to be present on the management servers. I suspect the latter to be the the most plausible. At least until Yan Li told me this was normal.
    So, I'm not sure what to think. I'm pretty much forced to remove this agents, as this is the only thing allowing me to continue the setup. At least untill I'm told otherwise. But I hate to do it this way. It's so dirty. The registry is pretty much cleaned,
    but there's still Application files present, and the agent is still in the Control panel and can be started. It's not something I would like to do in our prodution environment.

  • Does the SCOM 2012 agent "look back" in the logs before the service was started?

    Does the SCOM 2012 agent "look back" in the logs before the service was started?<o:p></o:p>
    We raised this question to our Microsoft rep back when we migrated to SCOM 2007. We wanted to know if SCOM would alert on errors generated before the Heath Service started. For example, errors
    logged before the service is started on reboot (which is when some critical errors are logged). We also wondered what happens when the service is restarted...would errors during the same window be missed?
    If I remember correctly the MS response was that the agent looks back on startup/restart based on a timestamp of some kind. We did some testing that seemed to confirm this information. I've
    recently encountered several instances of errors generated while the service was stopped (primarily during boot up) where SCOM failed to alert on the error.
    Can anyone confirm how the SCOM 2012 agent deals with errors generated before the service starts on boot and during service restarts?

    I would suspect it's with watermarks as it has been in the past.  What you should look into is if these alerts you were expecting are event based, and if there are rules set to alert for these conditions.  If so, and you don't get an alert,
    then you can bring that up with your msft rep.  However, they should be caught.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.
    There is a watermark. If the agent has been down for a significant period of time, the watermark may not apply, as the log would have rolled - but the entire log will still be processed regardless of what has already been discarded in the log. This may cause
    some problems if a monitor picks up an unhealthy state, and the healthy state log entry has already been flushed. In this case, you need to reset health on that particular monitor, or just flush the cache on the agent to start anew.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • Scom 2007 and scom 2012 agent multi home

    is there version limit for the agent multihom for scom 2007 and scom 2012?
    In technet i found it for SCOM upgrade it mentioned need scom 2007 CU4 and above, how about for multihome approach for SCOM agent?
    Besides that, instead of agent upgrade, could we perform agent uninstallation scom 2007 and reinstall scom 2012?
    Thanks for your advice.

    Hi Cylim,
    You can upgrade your agents to SCOM 2012 only from SCOM 2007 R2 CU4. Please look at these helpful links:
    http://blogs.technet.com/b/kevinholman/archive/2014/01/20/do-i-need-a-specific-cumulative-update-release-ur-in-order-to-upgrade-to-scom-2012-or-2012-sp1-or-2012-r2.aspx
    http://blogs.catapultsystems.com/cfuller/archive/2012/05/31/quicktricks-multi-homing-an-agent-to-opsmgr-2012-scom-sysctr.aspx
    http://blogs.catapultsystems.com/cfuller/archive/2014/04/02/multihomed-migrations-in-operations-manager-lessons-from-the-field.aspx
    As Scott mentioned, you can uninstall SCOM 2007 agent and install SCOM 2012 agent on one or a few servers, and see if they report properly to both management groups SCOM 2007 and SCOM 2012:
    http://dynamicdatacenter.wordpress.com/2012/10/15/om-2012-agent-report-to-scom-2007-not-r2-scom-2012/
    Natalya

  • SCOM 2012 Agent - Best Practices with Base Images

    I've read through the
    SCOM 2012 agent installation methods technet article, as well as how to
    install the SCOM 2012 agent via command line, but don't see any best practices in regards to how to include the SCOM 2012 agent in a base workstation image. My understanding is that the SCOM agent's unique identifier is created at the time of client installation,
    is this correct? I need to ensure that this is a supported configuration before I can recommend it. 
    If it is supported, and it does work the way I think it does, I'm trying to find out a way to strip out the unique information so that a new client GUID will be created after the machine is sysprepped, similar to how the SCCM client should be stripped of
    unique data when preparing a base image. 
    Has anyone successfully included a SCOM 2012 (or 2007 for that matter) agent in their base image?
    Thanks, 
    Joe

    Hi
    It is fine to build the agent into a base image but you then need to have a way to assign the agent to a management group. SCOM does this via AD Integration:
    http://technet.microsoft.com/en-us/library/cc950514.aspx
    http://blogs.msdn.com/b/steverac/archive/2008/03/20/opsmgr-ad-integration-how-it-works.aspx
    http://blogs.technet.com/b/jonathanalmquist/archive/2010/06/14/ad-integration-considerations.aspx
    http://thoughtsonopsmgr.blogspot.co.uk/2010/07/active-directory-ad-integration-when-to.html
    http://technet.microsoft.com/en-us/library/hh212922.aspx
    http://blogs.technet.com/b/momteam/archive/2008/01/02/understanding-how-active-directory-integration-feature-works-in-opsmgr-2007.aspx
    You have to be careful in environments with multiple forests if no trust exists.
    http://blogs.technet.com/b/smsandmom/archive/2008/05/21/opsmgr-2007-how-to-enable-ad-integration-for-an-untrusted-domain.aspx
    http://rburri.wordpress.com/2008/12/03/untrusted-ad-integration-suppress-misleading-runas-alerts/
    You might also want to consider group policy or SCCM as methods for installing agents.
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Deploying SCOM 2012 Agents to untrusted Forests/Domain

    Can we deploy SCOM 2012 agents to untrusted forest/domain? I don't want to use SCCM 2012 for installing agents via package deployment. Pls suggest.
    Regards,
    Ravi

    Yes, You can deploy SCOM Agent to untrusted domain manually and using Certificate.
    For deployment scom Agent, you can refer below links
    http://www.toolzz.com/?p=279
    http://jimmoldenhauer.blogspot.com/2012/11/scom-2012-deploying-agents-to-untrusted.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Upgrade from SCOM 2012 R2 directly to UR4

    Is it possible to Upgrade from SCOM 2012 R2 RTM to Update rollup 4 ?
    I alreday upgraded but I could not find new dashboard and widgets ?

    It's a cumulative upgrade so you don't need to install all of the release sequential. Latest is enough.
    Did you also import the management packs as mentioned in the guide?
    https://support.microsoft.com/kb/2992020/en-us
    Import the following management packs:
    Microsoft.SystemCenter.TFSWISynchronization.mpb, which has the following dependency:
    Microsoft.SystemCenter.AlertAttachment.mpb, which should be installed from the System Center Operations Manager 2012 R2 media.
    Microsoft.SystemCenter.Visualization.Library.mpb
    Microsoft.SystemCenter.Visualization.Component.Library.mpb
    Microsoft.SystemCenter.Advisor.mpb
    Microsoft.SystemCenter.Advisor.Internal.mpb
    Microsoft.SystemCenter.2007.mp
    Also don't forget to update the console!

  • Question on upgrading to SCOM 2012 R2 form SCOM 2012 SP1

    Hello!
    I planned upgrade to SCOM 2012 R2 form SCOM 2012 SP1.
    Should I install any or last update rollup package to my SCOM 2012 SP1, before upgrading to SCOM 2012 R2 ?

    It is highly recommend that you has install most updated CU before upgrade SCOM 2012 sp1 1 to SCOm 2012 R2 but it is not necessary.  You should view NEPA PFE Team blog that demostrate how to upgrade SCOM 2012 SP1 with CU4 to SCOM 2012 R2.
    http://blogs.technet.com/b/nepapfe/archive/2013/11/26/upgrading-scom-2012-sp1-to-scom-2012-r2.aspx
    Roger

  • Upgrading from SCOM 2012 SP1 to SCOM 2012 R2 what CU do i install? CU5?

    Hi,
    I just upgraded from SCOM 2012 SP1 to SCOM 2012 R2. What CU version should I install? CU5?
    Thanks
    K

    The most current CU version os SCOM 2012R2 is CU4
    You can download it from
    https://support.microsoft.com/kb/2906925?wa=wsignin1.0
    For detail description of SCOM 2012 R2 CU4, you may refer to
    http://support.microsoft.com/kb/2992020
    and
    http://syscentercldman.blogspot.hk/2014/12/update-of-scom-2012-r2-ur4.html
    Roger

  • TS3694 itunes error (-42404) -- Okay, getting a little frustrated (but then again, who isn't a little frustrated?). I recently tried to upgrade iTunes software a few days ago but it failed. What is (-42404) error code mean?

    itunes error (-42404) -- Okay, getting a little frustrated (but then again, who isn't a little frustrated?). I recently tried to upgrade iTunes software a few days ago but it failed. What is (-42404) error code mean?
    I get the following:
      (1) iTunes - The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you? Yes/No
      (2) iTunes - The software required for communicating with iPods and mobile phones could not be repaired. Please reinstall iTunes if you wish to use these devices. OK
      (3) iTunes error message - A required iTunes component is not installed. Please repair or reinstall iTunes. (-42404) OK
      (4) iTunes error message - We could not complete your iTunes Store request. A required iTunes component is not installed. Please repair or reinstall iTunes. (-42404) There is an error in the iTunes Store. Please try again later. OK
    Okay, so I decided to uninstall and reinstall. Funny, iTunes can be found in a program folder, but it does not show up in the programs list. I tried to look for it using the command prompt ("wmic" --> "product get name") but iTunes is not there either. Doesn't even show up in the registry to try to uninstall.
    I just want to "properly" uninstall and reinstall iTunes (plus the other usual suspects, Apple Software Update, Apple Mobile Device Support, Bonjour, & Apple Application Support). If anyone out there has any suggestions, please help! (I'm running Windows Vista -- don't judge/laugh) :-)

    Okay, feeling like an idiot, but will share so others don't have to. I rebooted my computer and that enabled iTunes to reappear in the programs list. Don't appear to be having the same problems as before (no error messages now). Problem solved!

  • Failed to install updates. Error = 0x8007066a.

    Hi,
    FEP definition is 1.191.3578.0 in the machine. Receiving the below error from WUAhandler.log.  
    1. Update (Missing): Definition Update for Microsoft Endpoint Protection - KB2461484 (Definition 1.191.3619.0) (d8b489fa-c598-4e31-996f-ea37c1fc44ec, 200)
    A top-level update (d8b489fa-c598-4e31-996f-ea37c1fc44ec) was not fully downloaded.
    Failed to install updates. Error = 0x8007066a.
    Please help to solve the issue. 
    Regards,
    Boopathi S

    Hi,
    The error translates to:The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your
    computer and that you have the correct upgrade.
    Could be a number of reasons, are you running the latest update of the client?
    http://support.microsoft.com/kb/2998627
    Regards,
    jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

Maybe you are looking for

  • Edge - Change font size in the code menu?

    This has been a little annoying when trying to work on my edge animate projects. As I am using an old 4:3 ratio as my monitor - I don't have a lot of space on my desktop. Whenever I want to insert or edit code in Edge, the code menu pratically takes

  • Special Characters in KM Names

    Hello Experts, are there any restrictions regarding special characters in KM Properties or any other Km Objects? I have in mind i read somewhere about restrictions for search result set names / ids, are there are also in any other areas restrictions?

  • Hi i am getting error in xml form builder

    hi i created edit,renderlistitem,show  i haveadded buttons from extras-buttons i am getting error as Error:Edit form doenot contain save button or link what could be the reason how to solve it pls reply

  • How can I find currently installed security software?

    Recently someone donated an iMac to our organization. I have not worked on a Mac in a couple of years, and do not have extensive experience. I downloaded out standard Antivirus and am getting an error message that "The selected drive already has secu

  • Massiv installation prob LAStudio on a Macmin

    hey, I want to install a logicstudio 2 on a new macmini(4GB RAM ). I upgrade this from a studio 1 when I insert the update serial startet with Fxxx.... the Installation quits without any massages. any hint ?