• Log inStart now

Zip assisted install of the infrastructure agent for Windows

With the assisted install of the infrastructure agent for Windows, you can make the changes you need to the installation script we provide so you can adapt it to your environment. Before installation, make sure to check the compatibility and requirements.

Install the agent

To install the agent:

  1. Download the packaged agent file or use the following command that automatically fetches a specific version of the agent, its checksum and verifies it after download. Replace $arch=amd64 with desired architecture (amd64, 386) and $v=1.27.4 with latest or specific version.

    $v="1.27.4"; $arch="amd64"; $url="http://download.newrelic.com/infrastructure_agent/binaries/windows/$arch/newrelic-infra-$arch.$v.zip";@("$url", "$url.sum") | ForEach-Object { Invoke-WebRequest -Uri $_ -OutFile $_.Split('/')[-1] }; write-host 'Checksum:' $(If (Select-String -Path "$url.sum".Split('/')[-1] -Pattern (Get-FileHash $url.Split('/')[-1]).Hash -Quiet) {"Ok"} Else {"Fail"})
  2. Unpack the file.

  3. Make sure the file unpacks with the following structure:

  4. Once it's unpacked, access and edit the installation PowerShell script installer.ps1.

  5. Update your license key.

  6. Optional: Update any other parameters.

  7. Execute installer.ps1 with admin rights.

While you wait for your data to come in...

Did this doc help you install?

Configure your installation


Make sure any custom folder defined in the installation settings has permissions limitations properly defined. The infrastructure agent might execute any integration defined in the NRIA_PLUGIN_DIR directory with Administrator permissions.

You can configure the following parameters during the assisted install for Windows:




Required at agent startup.

The agent home directory.


C:\Program Files\New Relic\newrelic-infra


This configures the data directory to store inventory and other agent files.


C:\%ProgramData%\New Relic\newrelic-infra


Required at installation.

The agent configuration file's location.


C:\Program Files\New Relic\newrelic-infra\newrelic-infra.yml


Only configuration option required at startup.

The New Relic license key.


Required at agent startup.

The location where the agent will log.


C:\Program Files\New Relic\newrelic-infra\newrelic-infra.log


By default and for security reasons, Windows does not install a service if there's another service with the same name already installed. To bypass this check, make sure this setting NRIA_OVERWRITE is TRUE.




Required at agent startup.

The directory containing the configuration files of the integrations.


C:\Program Files\NewRelic\newrelic-infra\inregrations.d


This provides the name for the Windows service.

What's next?

You may also want to:

Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.