Skip to content

Replace Windows SyncML profile with PowerShell script for Firefox DoH#41238

Open
kilo-code-bot[bot] wants to merge 1 commit intosession/agent_01a6aac4-6dd1-4630-852b-c69d6c8cad0dfrom
windows-firefox-doh-script
Open

Replace Windows SyncML profile with PowerShell script for Firefox DoH#41238
kilo-code-bot[bot] wants to merge 1 commit intosession/agent_01a6aac4-6dd1-4630-852b-c69d6c8cad0dfrom
windows-firefox-doh-script

Conversation

@kilo-code-bot
Copy link
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 9, 2026

Summary

Changes

Removed

  • it-and-security/lib/windows/configuration-profiles/Firefox DNS over HTTPS.xml — the SyncML/OMA-URI profile that relied on Firefox ADMX policy paths via MDM

Added

  • it-and-security/lib/windows/scripts/deploy-firefox-doh-policy.ps1 — PowerShell script that:

    • Detects Firefox installation in both Program Files (x64) and Program Files (x86) paths
    • Creates the distribution folder if it doesn't exist
    • Writes/overwrites policies.json with DoH enabled, fallback enabled, and the setting locked
    • Is idempotent (safe to run multiple times)
  • it-and-security/lib/windows/policies/firefox-doh-check.yml — Fleet policy (osquery SQL) that:

    • Checks that policies.json exists in at least one Firefox installation directory
    • Validates the file contains "Enabled": true, "Fallback": true, and "Locked": true

Modified

  • it-and-security/teams/workstations.yml — Removed the Windows SyncML profile reference, added the new script and policy references

Built for Allen Houchins by Kilo for Slack

Remove the Windows SyncML/OMA-URI configuration profile for Firefox DNS
over HTTPS and replace it with a PowerShell script that deploys a
policies.json file directly to Firefox's distribution directory. This
approach is more reliable as it does not depend on Firefox ADMX policies
being available via MDM.

Changes:
- Remove: Firefox DNS over HTTPS.xml (Windows SyncML profile)
- Add: deploy-firefox-doh-policy.ps1 (writes policies.json to Firefox
  installation directories with DoH enabled, fallback on, and locked)
- Add: firefox-doh-check.yml (Fleet policy that verifies policies.json
  is present and contains correct DoH settings)
- Update workstations.yml to reference the new script and policy
- macOS mobileconfig profile remains unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants