Azure Intune: Single-User VDI

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: Azure VDI - Intune

💡
Note: This solution is designed for an Azure Virtual Desktop (AVD) deployment using a 1:1 user-to-VM model with persistent storage.
notion image
 

Generate PAC Token & Download Files

  1. As a User with Admin Role or above, log into the WitnessAI Console.
  2. Click on the Settings menu item (1), then click on Proxy Configuration in the sub-menu (2).
  3. Enter a name in the Key Name field (3).
  4. Choose an Expiration Date (4).
  5. Click the Generate PAC Token button (5).
notion image
  1. Locate the row in the list with the Key Name and Expiration Date of the PAC Token you created (6), and click the Download Symbol.
  2. Click on Microsoft Intune (Windows) (7) from the dropdown, and a zip file will be downloaded to your Downloads folder.
The downloaded file will have a name similar to: 1227db3823fcc1c7cd1db6cc3ed0c5cc1c7cd1da15c5b50a5b.zip.
It will uncompress to a folder of the same name, containing another folder called azure_vdi with two files:
register_device.ps1: A powershell script to register the user device with Witness Anywhere.
flush.ps1: A powershell script to deregister the user device from Witness Anywhere.
 

Configure The Device Group

  1. Log in to Intune Admin Console
  2. Navigate to Groups and click on New group
  3. Enter the following information:
    • Group type: Security
    • Group name: Azure-VDI-Hosts
    • Under Members, click on No members selected and add all the Azure VDI Hosts.
  4. Finally Click on Create
notion image
 

Registration Script Deployment

  1. In the Microsoft Intune Admin Center, navigate to Devices > Scripts and Remediations > Platform Scripts, click Add, and select Windows 10 and later as the platform.
notion image
 
  1. Enter the name of the script as Witness-Anywhere-Registration, then click Next to proceed
  2. In the Script settings section, enter the following details and click Next:
    • 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
notion image
 
  1. In the Assignments section, click Add groups under Included groups, select the previously created device group Azure-VDI-Hosts, and then click Next.
notion image
 
  1. Finally, review the configuration summary and click Create to complete the script deployment.
  2. At this point, the script will be pushed to all VDI hosts that are members of the selected device group, and a scheduled task named "Witness-Anywhere-Registration" will be created on each host to run automatically at user logon.
  3. Note: The registration script will be stored in the location specified below. Please ensure that this path is included in the persistent storage configuration.
    C:\Users\Default\AppData\Local\WitnessAI
  4. When a user logs on to a VDI host, the registration script executes, enrolling the user into Witness Anywhere and applying the configured Proxy PAC URL. From that point forward, all LLM traffic initiated by the user will be automatically routed through WitnessAI for policy enforcement and monitoring.
 

Flush Script Deployment

  1. To flush the Witness Anywhere configuration from a VDI host, follow the same steps as when deploying the registration script. However, instead of selecting the register_device.ps1 file, use the flush.ps1 file to remove the configuration.
  2. When the script is executed on the host, the currently logged-in user is de-enrolled from Witness Anywhere. Additionally, the scheduled task created for Witness Anywhere registration is removed, and old log files are cleaned up.
  3. Logs: C:\Windows\Temp\pac-flush-log.txt
notion image