How to fix Service 'Azure Hybrid Instance Metadata Service' (himds) failed to start' during Azure Connected Machine Agent installation

CAMARA Mohamed 25 Reputation points

I was trying to manage my On-premises servers with Azure ARC and to do this I generated the script with Azure ARC but I have a problem during the installation with Win Server 2008 R2.

The 'Azure Hybrid Instance Metadata Service' service fails to start.

Here is the error generated in powershell:

Details: MSI (s) (88:B4) [10:14:47:402]: Product: Azure Connected Machine Agent -- Error 1920. Service 'Azure Hybrid Instance Metadata Service' (himds) failed to start. Verify that you have sufficient privileges to start system services.

MSI (s) (88:B4) [10:14:49:278]: Product: Azure Connected Machine Agent -- Installation failed.

Capture d'écran 2024-05-27 105214

I made sure I had the necessary prerequisites:

Capture d'écran 2024-05-27 105047

I only have this problem on my 2008 R2 SP1 servers.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
363 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,460 questions
{count} vote

Accepted answer
  1. asdf11lx 80 Reputation points

    I also encountered the same issue and make sure that all the prerequisites are installed on my 2008 server properly. I have retried with different method found on internet and none of it is work in my case.

    Then i starting to do some troubleshoot and eventually found that when deploy Azure Connected Machine agent version higher or equal than 1.40 will have the same error. So, to deploy the 2008 server to azure arc, you can either download version 1.39 from

    Official release notes

    Direct download link from release notes

    Then connect the 2008 server to your azure resources through azcmagent cli


    Rewrite the ps1 script to download version 1.39 instead of latest version Azure Connected Machine agent

    Have already opened a support ticket on this issue and reported to Microsoft, and from their reply seems that version 1.39 is the last planned version to support 2008 server.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful