Install Infrastructure for Windows Server

With Infrastructure for Windows, you can monitor not only individual servers, but understand how your service performs as a whole. The Windows agent can run on your own hardware, or in cloud systems such as Amazon EC2 or Windows Azure. Infrastructure supports Windows Server and many Linux distributions. Before installation, review the Compatibility and requirements.

You can also install the Windows agent with Chef.

Install for Windows Server

To install the Infrastructure agent on Windows Server:

Do not double-click the installer. This will not fully install the local agent and can result in permissions issues.

  1. Review the agent requirements and supported operating systems. The agent is only compatible with 64-bit architectures.

  2. Download the latest .MSI installer image from:

    https://download.newrelic.com/infrastructure_agent/windows/newrelic-infra.msi
  3. In an admin account, run the install script using an absolute path. To install from the Windows command prompt, run:

    msiexec.exe /qn /i PATH\TO\newrelic-infra.msi

    For a scripted installation, you can also pass in configuration parameters. The following example sets the license key and configures a proxy server for outbound communication:

    msiexec.exe /qn /i PATH\TO\newrelic-infra.msi GENERATE_CONFIG=true LICENSE_KEY="YOUR_LICENSE_KEY" PROXY="http://YOUR_PROXY_SERVER:PROXY_PORT"
  4. Add your New Relic license key to the license_key attribute in newrelic-infra.yml, located in C:\Program Files\New Relic\newrelic-infra\. When finished, the contents of newrelic-infra.yml should resemble the following:

    license_key: YOUR_LICENSE_KEY
  5. Start the newrelic-infra service. To start from the Windows command prompt, run:

    net start newrelic-infra

Wait a few minutes, then view your server in the Infrastructure UI. If no data appears after waiting a few minutes, follow the troubleshooting steps.

What's next?

The only required configuration option is the license_key setting, which is created as part of the installation procedures. You may also want to:

Update the agent

To upgrade to the latest version, see Update the Infrastructure agent.

For more help

Recommendations for learning more: