Skip to content
Documentation
Updated 14 minutes to read
Markdown

Prerequisites for the Nodinite Windows Server Monitoring Agent

Section titled “ Prerequisites for the Nodinite Windows Server Monitoring Agent”

Nodinite Windows Server Monitoring Agent delivers robust, secure, and scalable monitoring for your entire Windows Server landscape. This page details all prerequisites to ensure a seamless installation, optimal connectivity, and compliance with best practices.

  • ✅ Secure and scalable monitoring for on-premises and cloud environments
  • ✅ All software, user rights, and firewall requirements in one place
  • ✅ Expert guidance for PowerShell, WinRM, and Service Bus setup
  • ✅ Avoid common pitfalls with clear troubleshooting and FAQ links

This page outlines the prerequisites for installing and running the Nodinite Windows Server Monitoring Agent. In Nodinite v7, the agent is hosted as an IIS web site, which is the recommended model for enabling HTTPS/TLS transport.

graph LR subgraph "Nodinite Instance" roNI(fal:fa-monitor-waveform Windows Server Monitoring agent) end subgraph "Windows Servers" roWS(fab:fa-windows Windows Server) roNI --- roWS roWS -.-> | Custom PowerShell scripts | roAzureAPI(fab:fa-windows Remote Windows Server) end subgraph "Any pingable device/server" roDevice(fal:fa-router Device) roNI -.- | Ping | roDevice end

This diagram shows how the agent connects to Windows Servers and pingable devices, supporting both local and remote PowerShell scripts.

You can install this agent on-premises using TCP/IP for local network access, or in the cloud/off-site using Service Bus Relaying. For more details, see the external link 'Azure Relay FAQs'.

We recommend keeping this agent close to Nodinite Core Services. This documentation covers local network setup (usually on the Nodinite application server)

Verified Topic
Software Requirements
What Windows User Rights does the Windows Server Monitoring agent require?
What Firewall settings do the Nodinite Windows Server Monitoring agent require?
WinRM must be enabled for remote PowerShell. Some IIS Monitoring features rely on remote PowerShell

The Windows Server Monitoring Agent is a Windows Service and is usually installed on the Nodinite application server.

Product
Windows Server Windows 2025
Windows 2022
Windows 2019
Windows 2016
Windows 2012 R2*
Windows 2012*
.NET Framework .NET Framework 4.8 or later New 6.0
Our recommendation is .NET Framework 4.8.1 or later
Powershell WMF 5.1 or later If you are using Windows 2012/2012 R2, you must install WMF 5.1 or later to make use of the PowerShell Monitoring feature. Also, some IIS Monitoring features rely on PowerShell.
IIS Monitoring (Agent Host) Remote PowerShell must be enabled for some IIS Monitoring features; follow the WinRM instructions.
IIS Monitoring (Target Host) IIS Management Console
IIS 6 Metabase Compatibility
IIS 6 Management Compatibility
IIS 6 WMI Compatibility
Management Service (Please review the additional heading)
Troubleshooting IIS Monitoring on Windows Server 2012 R2 and earlier
Target server must have Web Scripting Tools installed. Use the following PowerShell command to install the feature: 'Install-WindowsFeature Web-Scripting-Tools'
Remote PowerShell must be enabled for some IIS Monitoring features; follow the WinRM instructions

Versions 6.2 and later do no longer require the Microsoft.Web.Administration assembly on Agent Host.
Versions 6.0 and later make use of the .NET Framework 4.8 or later.
Versions 5.4 and later make use of the .NET Framework 4.6.2 or later.
Versions prior to 5.4 make use of the .NET Framework 4.5.2 or later.

Remote Windows Servers with IIS to monitor must have these Windows features installed.
IIS 6 Features
IIS 6 roles and features required for remote monitoring.

If you have three servers with IIS to monitor, you must install this feature on three servers
If you see entries in the Windows event log like while activating CLSID {2B72133B-3F5B-4602-8952-803546CE3344}, please review the prereqs, restart, and make sure the following settings have been applied: Setting DCOM Security to Allow a User to Access a Computer Remotely

If the IIS is a remote server to the Monitoring Agent; You must also enable remote connections and make sure the WMSVC service is operational. Please review the Remote Administration for IIS Manager for additional details.

  1. Enable remote connections
  2. Make sure to auto-start the VMSVC service
    Management Service
    Ensure to allow remote connections and set the 'WMSVC' service to start automatically.
  1. In the IIS MMC, click on the node, then, on Management Service.
  2. Check the Enable remote connections checkbox.

Click the Apply to persist the changes.

Apply changes
Click Apply to persist the changes.

The WMSVC service installs with Startup Type set to Manual, which means that the service has to be manually restarted each time the server reboots or if HTTP.sys is stopped (WMSVC depends on HTTP.sys). Set the Startup Type to Automatic if you want WMSVC to start on system boot. Do this in the Services MMC console, or using this command line in an administrative command prompt:

Terminal window
sc.exe config WMSVC start= auto

Windows Server is ever-evolving, and Microsoft sometimes adds new functionality and/or deprecates older SDKs, methods and adjust policies. For Nodinite, this means you need to update Nodinite and our Windows Server Monitoring Agent from time to time.

Make sure to subscribe to our Release Notes.

What Windows User Rights does the Windows Server Monitoring agent require?

Section titled “ What Windows User Rights does the Windows Server Monitoring agent require?”

In Nodinite v7, the Windows Server Monitoring Agent is hosted as an IIS web site on a Windows Server (physical or virtual machine), typically on the same server as the Nodinite application. That hosting model allows you to use TLS for the agent endpoint.

You must configure the IIS application pool identity used by the monitoring agent web site. That identity needs specific permissions:

Choose one of the following account types:

  • Domain account (recommended) - A user account from your Active Directory domain (e.g., DOMAIN\NodiniteAgent)
  • Local named account - A local user account on the server where the agent is installed (e.g., .\NodiniteAgent)

The IIS identity needs two sets of permissions:

a) On the Agent Server (where the IIS web site is hosted):

  • Log on as a service right - Only relevant to older service-hosted deployments, not the recommended v7 IIS-hosted model. Follow the 'How to set logon as a Windows service right' guide only if you are maintaining a legacy deployment.

b) On all Servers to monitor (Agent host and remote targets):

  • Local Administrator membership - The IIS identity must be a member of the local Administrators group on every Windows Server the agent will monitor. This includes the Agent Server when the agent also monitors its host.

3. UAC Remote Token Filtering (Remote Servers Only)

Section titled “3. UAC Remote Token Filtering (Remote Servers Only)”

When monitoring remote Windows Servers, User Access Control (UAC) may filter administrative tokens, causing "Access Denied" errors even when the service account is in the local Administrators group.

Symptoms:

  • Error: Access is denied. (HRESULT: 0x80070005 E_ACCESSDENIED)
  • Error: System.UnauthorizedAccessException: Access is denied
  • Service account is in Administrators group but monitoring fails

Solution - Use Domain Administrator Account (Recommended):

Use an IIS identity that is a member of Domain Admins or Enterprise Admins if your security model allows it. Domain admin accounts bypass UAC token filtering on domain-joined servers.

Alternative Solution - Disable UAC Token Filtering:

If you cannot use a domain admin account, disable UAC token filtering on each remote server being monitored:

Terminal window
# Run on the remote server being monitored
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" `
-Name "LocalAccountTokenFilterPolicy" -Value 1 -PropertyType DWord -Force

If you're using domain account DOMAIN\NodiniteAgent to monitor 5 Windows Servers:

  1. ✅ Grant "Log on as a service" right on the Agent Server
  2. ✅ Add DOMAIN\NodiniteAgent to the local Administrators group on all 5 remote servers
  3. ✅ Configure the Windows Server Monitoring Agent service to run as DOMAIN\NodiniteAgent

What Firewall settings do the Nodinite Windows Server Monitoring agent require?

Section titled “ What Firewall settings do the Nodinite Windows Server Monitoring agent require?”

Where you install the Nodinite Windows Server Monitoring Agent in relation to the Nodinite Monitoring Service and the servers you monitor determines your firewall configuration. Monitoring the agent's own host needs no ports. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

graph LR subgraph "Nodinite Core Services Server" roMonitoringService(fa:fa-watch-fitness Monitoring Service) end subgraph "Nodinite Agent Server" roNI(fa:fa-monitor-waveform Windows Server Monitoring Agent) end subgraph "Target: Remote Windows Server" roWS(fab:fa-windows WMI, services, tasks, event logs, IIS) end subgraph "Target: Any network device" roDevice(fa:fa-router Ping target) end subgraph "Domain Controller" roDC(fa:fa-building Active Directory) end subgraph "DNS Server" roDNS(fa:fa-signs-post DNS) end subgraph "Azure Service Bus Relay (optional)" roRelay(fa:fa-cloud Relay namespace) end roMonitoringService --> |"Agent site port (v7) / 8000 (v6)"| roNI roNI --> |"135, 445, RPC 49152-65535"| roWS roNI -.-> |"WinRM 5985/5986, WMSVC 8172"| roWS roNI -.-> |"ICMP"| roDevice roNI --> |"88, 389, 636, 445"| roDC roNI --> |"53"| roDNS roMonitoringService -.-> |"443"| roRelay roNI -.-> |"443"| roRelay

Network diagram: the Monitoring Service calls the agent, and the agent uses WMI/RPC, SMB, and optionally WinRM and the IIS Management Service against each remote Windows Server. Dashed arrows are optional hops.

Between the Monitoring Service and the Windows Server Monitoring Agent

Section titled “Between the Monitoring Service and the Windows Server Monitoring Agent”

The Monitoring Service opens every connection; the agent never calls it. On Windows Server, Nodinite v7 hosts the agent as its own IIS web site, on a port you set per environment in the Nodinite Portal (Servers step).

Direction Source Destination Protocol Port(s) Purpose Notes
Inbound Core Services Server Agent Server TCP (HTTPS/HTTP) Agent site port Poll the agent, send configuration, run Remote Actions v7. No fixed default; use the port set in the Portal. Only when the agent is on a remote server
Inbound Core Services Server Agent Server TCP 8000 Same, for Windows Service agents ⚠️ v6 and earlier only (legacy MSI installer on remote servers)

Option: Service Bus Relaying (cloud or hybrid)

Section titled “Option: Service Bus Relaying (cloud or hybrid)”

Use Service Bus Relayed connections when Nodinite and the agent are on different networks. Both sides connect outbound to the Azure Relay namespace, so neither server needs an inbound rule. Nodinite uses the same principle as the on-premises data gateway; see 'Adjust communication settings for the on-premises data gateway' and the 'Azure Relay FAQs'.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Agent Server Azure Relay (*.servicebus.windows.net) TCP 443 HTTPS (WebSockets): the agent's relay listener All versions. Allow the relay host by DNS name, not by IP address: the relay gateway addresses change
Outbound Core Services Server Azure Relay (*.servicebus.windows.net) TCP 443 The Monitoring Service and the Web API call the agent through the relay HTTPS only, direct (no proxy)

Between the Windows Server Monitoring Agent and remote Windows Servers

Section titled “Between the Windows Server Monitoring Agent and remote Windows Servers”

Required for WMI, performance counters, services, scheduled tasks, event logs, PowerShell, and IIS on remote servers.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Agent Server Target (Windows Server) TCP 135 RPC Endpoint Mapper Opens WMI/DCOM, Task Scheduler, and event log sessions
Outbound Agent Server Target (Windows Server) TCP 49152–65535 Dynamic RPC (WMI, DCOM, Task Scheduler, event log, IIS via dllhost.exe) Windows Server 2008 and later (1024–5000 on older versions). Can be reduced, for example to 49152–49162, based on expected concurrency. See 'How to configure RPC dynamic port allocation'
Outbound Agent Server Target (Windows Server) TCP 445 SMB / RPC over Named Pipes Performance counters, Remote Registry, task folders, and event log access
Outbound Agent Server Target (Windows Server) TCP/UDP 139 (TCP), 137-138 (UDP) NetBIOS Legacy only: older name lookups and SMB over NetBIOS for DCOM authentication
Outbound Agent Server Target (Windows Server) TCP 5985 WinRM (HTTP) PowerShell Remoting; required by the PowerShell feature and some IIS monitoring features. See WinRM
Outbound Agent Server Target (Windows Server) TCP 5986 WinRM (HTTPS) PowerShell Remoting over TLS (recommended)
Outbound Agent Server Target (IIS Server) TCP 8172 IIS Management Service (WMSVC) Default port; change it in IIS Manager under Management Service. See Management Service and 'Remote Administration for IIS Manager'
Inbound Target (Windows Server) Agent Server TCP Same as outbound Response traffic Automatically allowed by stateful firewall inspection

For scheduled tasks and event logs, the remote server must run the Remote Registry (RemoteRegistry), Task Scheduler (Schedule, Automatic), and Windows Event Log (EventLog) services, have File and Printer Sharing enabled, and allow these firewall rule groups. Remote Event Log Management covers event log monitoring and the scheduled task "View History" Remote Action; Remote Scheduled Tasks Management covers monitoring, enabling, disabling, and running tasks.

Terminal window
Enable-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management"
Enable-NetFirewallRule -DisplayGroup "Remote Event Log Management"
# Verify rules are enabled
Get-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management", "Remote Event Log Management" |
Select-Object DisplayName, Enabled, Direction

To monitor IIS on a remote Windows Server, add a rule on that server that lets dllhost.exe accept incoming requests from the Nodinite Windows Server Monitoring Agent.

Setting Value
Rule type Inbound
Rule type Custom
Program %systemroot%\system32\dllhost.exe
Protocol TCP
Local port RPC Dynamic Ports
Remote port All Ports
Action Allow connection
Profile Domain
netsh advfirewall firewall add rule name="Remote IIS inetinfo" dir=in action=allow description="Remote IIS Service Managment" program="%systemroot%\System32\inetsrv\inetinfo.exe" enable=yes
netsh advfirewall firewall add rule name="COM+ Remote Administration (All Programs)" dir=in action=allow description="" program="%windir%\system32\dllhost.exe" enable=yes localport=RPC protocol=tcp

Between the Windows Server Monitoring Agent and any network device

Section titled “Between the Windows Server Monitoring Agent and any network device”
Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Agent Server Target (any device) ICMP - Ping availability checks Allow ICMP echo on each device to ping. See 'New-NetFirewallRule'

Between the Windows Server Monitoring Agent and the Domain Controller

Section titled “Between the Windows Server Monitoring Agent and the Domain Controller”

Required when the agent authenticates with domain credentials or queries certificates from Active Directory.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Agent Server Domain Controller TCP/UDP 88 Kerberos authentication Required for domain authentication
Outbound Agent Server Domain Controller TCP/UDP 389 LDAP Standard LDAP queries
Outbound Agent Server Domain Controller TCP 636 LDAPS (Secure LDAP) Required for LDAPS authentication or querying certificates from AD
Outbound Agent Server Domain Controller TCP 445 SMB Used if Group Policy or file-based certificate access is needed
Inbound Domain Controller Agent Server TCP/UDP Same as outbound Response to Kerberos / LDAP Usually allowed by stateful firewall inspection

See 'How DNS works on TCP and UDP'.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Agent Server DNS Server TCP/UDP 53 Name resolution Resolve the monitored servers and devices, the Domain Controller, and (with relaying) *.servicebus.windows.net. A local hosts file can replace DNS
Outbound Core Services Server DNS Server TCP/UDP 53 Name resolution Resolve the Agent Server

Run the scripts below on the remote server to enable WinRM:

The user must have administrator rights on the remote server.

Terminal window
Enable-PSRemoting -Force

Firewall rules must allow PowerShell Remoting (TCP 5985 for HTTP, TCP 5986 for HTTPS).

Terminal window
New-NetFirewallRule -Name "Allow WinRM" -DisplayName "Allow WinRM" -Enabled True -Profile Any -Direction Inbound -Action Allow -Protocol TCP -LocalPort 5985

Additional solutions to common problems and the FAQ for the Nodinite Windows Server Monitoring Agent exist in the Troubleshooting user guide.

Install Windows Server Monitoring Agent

Add or manage a Monitoring Agent Configuration
Monitoring
Administration

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...