Azure Intune: Windows

WAI Docs Wed Aug 19 13:22:37 EDT 2026
List
Quick Start
Welcome
Supported Applications & LLMs
Release Notes
August 18, 2026 WitnessAI Release
August 4, 2026 WitnessAI Release
July 21, 2026 WitnessAI Release
July 14, 2026 WitnessAI Release
July 9, 2026 WitnessAI Release
June 30, 2026 WitnessAI Hotfix
June 23, 2026 WitnessAI Release
June 16, 2026 WitnessAI Release
June 11, 2026 WitnessAI Release
June 4, 2026 WitnessAI Hotfix
June 2, 2026 WitnessAI Update
May 19, 2026 WitnessAI Update
April 30, 2026 WitnessAI Update
April 28, 2026 WitnessAI Update
April 23, 2026 WitnessAI Update
April 16, 2026 WitnessAI Update
April 14, 2026 WitnessAI Update
April 9, 2026 WitnessAI Update
April 9, 2026 WitnessAI Update
April 7, 2026 WitnessAI Update
April 2, 2026 WitnessAI Update
March 31, 2026 WitnessAI Update
March 24, 2026 WitnessAI Update
March 19, 2026 WitnessAI Update
March 17, 2026 WitnessAI Update
March 12, 2026 WitnessAI Update
March 5, 2026 WitnessAI Update
February 26, 2026 WitnessAI Update
February 24, 2026 WitnessAI Update
February 10, 2026 WitnessAI Update
January 27, 2026 WitnessAI Update
January 20, 2026 WitnessAI Update
January 13, 2026 WitnessAI Update
December 18, 2025 WitnessAI Update
December 9, 2025 WitnessAI Update
November 25, 2025 WitnessAI Update
November 18, 2025 WitnessAI Update
November 11, 2025 WitnessAI Update
October 28, 2025 WitnessAI Update
October 23, 2025 WitnessAI Update
October 9, 2025 WitnessAI Update
October 2, 2025 WitnessAI Update
September 30, 2025: WitnessAI Update
September 23, 2025: WitnessAI Update
August 12, 2025: WitnessAI Update
July 31, 2025: WitnessAI Update
July 18, 2025: WitnessAI Update
April 11, 2025: WitnessAI Release v2.0
June 9, 2025: WitnessAI Update
June 23, 2025: WitnessAI Update
TOC Left Sidebar: not active
TOC Left Sidebar: ORIGINAL
User Guide
Policies - GuardRails
Witness Anywhere: Remote Device Security
Witness Attack
Administrator Guide
404

Witness Anywhere – Intune Admin Guide (Windows Physical devices)

Witness Anywhere – Intune Admin Guide (Windows Physical devices)
This guide describes how to deploy WitnessAI Witness Anywhere to Windows devices using Intune.
 

Lifecycle Overview

The deployment follows below lifecycle:
  1. The registration script runs on a device, installs the WitnessAI Root CA certificate to the Local Machine trusted root store, generates a device fingerprint, registers with WitnessAI, writes the configuration to the user's registry (`HKEY_USERS\<SID>\Software\WitnessAI`), applies the PAC URL to the system proxy settings, and deploys STunnel for encrypted proxy communication.
  2. The flush script can be assigned on-demand to revert all proxy settings, remove the Root CA certificate, uninstall STunnel, and delete the local configuration.
 

Generate Witness Anywhere Registration Scripts

To register devices with Witness Anywhere you must create a PAC Token.
  • On your WitnessAI console, click Settings in the left-side menu, then select Proxy Configuration.
WitnessAI Settings > Proxy Configuration page showing Witness Anywhere PAC token management. The ‘Proxy’ option is highlighted in the left sidebar. The page shows a Key Name field (with ‘Intune’ entered), Expiration Date field, and ‘Generate PAC Token’ button. A table shows previously generated tokens with Name, Expiration (all marked EXPIRED), Actions (edit/delete icons), and Script (download) columns.
  • Type your preferred token name in the Key Name field and select the Expiration Date. The Expiration Date should allow time for you to complete the current deployment.
Once a device has been registered with Witness Anywhere, the token is no longer required. If a token expires, devices that were already deployed and successfully onboarded will continue to function normally. The token is only required during initial deployment.
  • Click the Generate PAC Token

Download the Intune bundle from the Witness console

  1. In the Witness console, open the Download Device Registration Script dialog.
  2. Configure the download options:
    • Platform: select Intune (Windows).
    • Static Domain (Optional): enter the static domain if one is used for your tenant (e.g. witness.ai).
    • STunnel (Optional): this toggle controls what the generated detection script validates:
      • Enabled — the detection script includes stunnel health logic: it verifies that stunnel is installed under the user profile, the process is running, and it is listening as expected, in addition to the PAC/registry checks.
      • Disabled — the detection script contains no stunnel logic and validates only the Witness Anywhere PAC/registry configuration.
  3. Click Download.
notion image
 
  1. Extract the downloaded bundle. It contains two folders: platform_scripts and remediation_scripts.
notion image
  1. For this deployment, use the scripts from the platform_scripts folder: flush.ps1 and register_device.ps1.
notion image
 

Setting Up Intune Scripts

Upload the Registration Script

In the Microsoft Intune admin center console:
  1. Go to Devices  → Manage devices Scripts and remediations Platform Scripts
  2. Click ADD and select Windows 10 and later from the dropdown
Microsoft Intune admin center showing Devices > Scripts and remediations > Platform Scripts page. The interface shows a left sidebar navigation (Home, Dashboard, Devices, Apps, etc.) and the main panel with Platform Scripts tab selected. A dropdown shows ‘Windows 10 and later’ selected, and the Script list shows multiple scripts (both Windows and macOS types) with columns for Name, Platform, Assigned, and Script type.
  1. On the Basics tab:
    • Name: Witness Anywhere - Register Device
    • Click Next
  2. On the Script settings tab:
    • Script location: Browse and select the register_device.ps1 file downloaded from the WitnessAI console
    • Run this script using the logged on credentials: No
    • Enforce script signature check: No
    • Run script in 64 bit PowerShell Host: No
    • Click Next
Microsoft Intune admin center ‘Add PowerShell script’ page on the Script settings tab. Shows Script location field with ‘register_device.ps1’ entered (highlighted in blue), and three toggle options all set to ‘No’: ‘Run this script using the logged on credentials’, ‘Enforce script signature check’, and ‘Run script in 64 bit PowerShell Host’. The wizard tabs show Basics (completed), Script settings (active), Assignments, Review + create.
  1. On the Assignments tab
    • Assign to the relevant device or user groups.
    • Click Next
  2. Click Review + create tab → Create

Upload the Flush Script

In the Microsoft Intune admin center console:
  1. Go to Devices  → Manage devices Scripts and remediations Platform Scripts
  2. Click ADD and select Windows 10 and later from the dropdown
  3. On the Basics tab:
    • Name: Witness Anywhere - Flush Device
    • Click Next
  4. On the Script settings tab:
    • Script location: Browse and select the flush.ps1 file downloaded from the WitnessAI console
    • Run this script using the logged on credentials: No
    • Enforce script signature check: No
    • Run script in 64 bit PowerShell Host: No
    • Click Next
Microsoft Intune admin center ‘Add PowerShell script’ page for the flush script on the Script settings tab. Shows Script location field with ‘flush.ps1’ entered (highlighted in blue), and three toggle options all set to ‘No’: ‘Run this script using the logged on credentials’, ‘Enforce script signature check’, and ‘Run script in 64 bit PowerShell Host’. This script is for Step 2: Upload the Flush Script for deregistering devices.
  1. On the Assignments tab
    • Assign only to the devices you want to offboard.
    • Click Next
  2. Click Review + create tab → Create
 

Logs

All scripts write timestamped logs to C:\Windows\Temp\ on the local device: