Deploy CyberFOX DNS Filtering Client Using Microsoft Intune
Learn to deploy the CyberFOX DNS Filtering Client through Microsoft Intune.
Using the PowerShell Script
Overview
The provided PowerShell script:
- Downloads the latest CyberFOX DNS Filteringing installer script
- Installs it silently using your Company ID
- Verifies installation by checking the CyberFOX service
- Cleans up installer files
- Logs installation details for troubleshooting
This deployment method is ideal for:
- Entra ID–joined or Hybrid Azure AD–joined devices
- Automated, silent installs
- Large‑scale deployments with no user interaction
What This Script Does (Plain English)
When run on a device, the script performs the following actions:
-
Validates configuration
- Ensures a valid CyberFOX Company ID is set
-
Downloads the installer
- Retrieves the latest DNS Filtering installer from CyberFOX CDN
-
Installs silently
- Runs the installer with no prompts or reboots
-
Verifies success
- Confirms the CyberFOX DNS over HTTPS Service exists
-
Cleans up
- Removes the installer file from the temp directory
-
Logs results
- Writes an install log to the device’s temp directory
If any step fails, the script exits with a non‑zero code so Intune can report failure.
Prerequisites
Before deploying:
- Microsoft Intune tenant
- Windows 10 or Windows 11 devices
- CyberFOX DNS Filtering tenant
- Your CyberFOX Company ID
- Devices must have internet access during install
Required Script Modification
Before uploading the script to Intune, edit the following line:
Replace it with your actual CyberFOX Company ID, for example:
Recommended Deployment Method
Intune Platform Scripts (PowerShell)
This script is designed to run as a one‑time install using Intune’s PowerShell script deployment.
Proactive Remediations are not recommended for this script because it performs a full install rather than detection/remediation logic.
Step‑by‑Step Intune Deployment Instructions
1. Prepare the Script
- Save the script as:
DNS_Deploy.ps1 - Confirm the Company ID is populated
- Do not wrap or repackage the script
2. Upload Script to Intune
- Open Microsoft Intune Admin Center
- Go to:
Devices > Windows > Scripts > Add - Select Windows 10 and later
- Click Add
3. Script Settings
| Setting | Value |
|---|---|
| Script location | Upload DNS_Deploy.ps1
|
| Run this script using the logged-on credentials | No |
| Enforce script signature check | No |
| Run script in 64-bit PowerShell | Yes |
Important:
The installer requires SYSTEM context, which is why user credentials must be disabled.
4. Assign the Script
- Assign to:
- Device groups (recommended), or
- All Windows devices
- Avoid assigning to user groups unless necessary
5. Review and Create
- Review settings
- Click Add
- The script will run automatically on targeted devices
Installation Verification
On the Endpoint
Confirm the following service exists:
CyberFOX DNS over HTTPS Service
You can verify via:
- Services.msc
- PowerShell:
Intune Reporting
In Intune:
Devices > Windows > Scripts > DNS_Deploy
Look for:
- ✅ Succeeded = installation completed
- ❌ Failed = review error output
Log File Location
The installer creates a timestamped log file in:
C:\Users\<context>\AppData\Local\Temp\
Example:
DNSFilterInstall_2026-02-26_143015.log
Use this log when troubleshooting failed installs.
Common Failure Scenarios
| Issue | Cause | Resolution |
|---|---|---|
| Script exits immediately | Company ID not set | Verify Company ID in script |
| Installer not downloaded | Network or CDN blocked | Confirm internet access |
| Service not found | Install failed | Review install log |
| Script reports success but app missing | Device reboot pending | Restart device |
Uninstall / Removal (Manual)
This script does not include an uninstall routine.
To remove manually:
- Use Apps & Features, or
- Use CyberFOX‑provided uninstall guidance, or
- Deploy a separate uninstall script via Intune
Security & Compliance Notes
- Runs fully silent
- No user interaction required
- No credentials stored
- Installer is downloaded directly from CyberFOX CDN
- Suitable for SOC 2 / ISO 27001 environments
Summary
This Intune deployment method provides:
Automated installation
Silent execution
Reliable validation
Clean logging
Enterprise‑ready deployment
Using the Agent Installer
To install the Cyber Fox DNS roaming client executable via Intune, follow these steps:
Step 1: Prepare the Installation Package
- Download the latest client-specific installer that you downloaded from the location on the portal, which should look like:
dns_client_[companyIDhere].exe - Ensure that the executable is downloaded per client site. Do not change the name of the executable.
Step 2: Convert the Executable to .intunewin Format
- Download the Intune Win32 Content Prep Tool from Microsoft and follow the instructions.
- Use the tool to convert the executable file to
.intunewinformat. Run the following command:
IntuneWinAppUtil.exe -c <source_folder> -s dns_client_[Company ID Here].exe -o <output_folder>
- The tool will generate a
.intunewinfile in the specified output folder.
Step 3: Create a Win32 App in Intune
- Open the Microsoft Endpoint Manager admin center.
- Navigate to Apps > Windows > Add.
- Select App type as Windows app (Win32).
Step 4: Configure App Information
- Upload the
.intunewinfile. - In the App information section, provide the necessary details such as name, description, publisher, etc.
Step 5: Configure Program
- In the Program section, enter the following install command:
Using the Location Specific installer:
dns_client_[locationkeyhere].exe /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART
Using the Generic Installer
dns-latest.exe /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /COMPANY_ID=[company id]
- Enter the uninstall command if needed (e.g.,
dns_client_[companyidhere].exe /uninstall).
- The rest of the options, the default options, are fine, adjust as needed for your environment.
Step 6: Configure Requirements
- Specify the requirements for app installation, including operating system architecture and the minimum OS version.
Step 7: Configure Detection Rules
- Set up detection rules to ensure the app is installed correctly. You can use the file detection method with the following:
- Rule type: File
- Path: C:\Program Files\CyberFOX DNS Client
- File or folder: client.exe
- Detection Method: File or Folder exists
- Associated with a 32-bit app on a 64-bit Client: No
Step 8: Assign the App
- Assign the app to the required groups or devices.
Step 9: Review and Create
- Review the configuration and create the app.