Skip to main content

Install DNSFilter Agent And Certificate - Windows

Overview​

Automates the deployment of the DNSFilter Agent via NinjaRMM. This script performs a secure, automated installation of the DNSFilter Agent using NinjaRMM custom fields for configuration. It ensures a clean environment, retrieves the required DNSFilter Key, downloads the latest agent installer, and executes the installation with appropriate parameters, with optional installation of the DNSFilter root certificate.

Requirements​

  • Windows
  • Run As: System

Sample Run​

Image1

Parameters​

NameRequiredAccepted ValuesDefaultTypeDescription
DNS Filter KeyTrueTextDNSFilter Network Key used to register the device with the DNSFilter organization.
Install DNSFilter Root CertificateTrueCheckboxSelect to download the DNSFilter root certificate (NetAlerts.cer) and import it into the Enterprise Trusted Root Certification Authorities.

Custom Fields​

Custom FieldScopeTypeDescription
cPVAL DNSFilter KeyDeviceTextCustom Fields to enter the DNSFilter Network Key required to register the device with the appropriate DNSFilter organization.

Dependencies​

Automation Setup/Import​

Automation Configuration

Output​

  • Activity Details

Changelog​

2026-10-29​

  • Updated the powershell for Error Handling
  • Introduced parameter Install DNSFilter Root Certificate for optional certificate installation
  • Updated the documents as per ProVal's new Standard

2025-07-17​

  • Initial version of the document