Intune Windows Runbook
Step-by-step Intune deployment runbook for onboarding managed Windows endpoints to thoth governance.
Use this runbook to deploy thoth governance to employee Windows endpoints managed by Intune.
Windows onboarding requires PowerShell 5.1+ for script deployment and endpoint validation commands.
1. Prepare onboarding values
Use onboarding values provided by thoth:
tenant_idapex_domain
2. Deploy config file to endpoints
Deploy:
C:\ProgramData\Thoth\thoth-config.json
Deployment options:
- Intune Win32 app that writes the file
- or custom OMA-URI profile that delivers equivalent content
3. Deploy Windows setup script
Upload and assign your PowerShell setup script (for example: deploy/intune/windows/setup-claude-mcp.ps1) to your Windows device groups.
Recommended Intune script settings:
- Run this script using the logged on credentials: No
- Enforce script signature check: Your organization standard
- Run script in 64-bit PowerShell host: Yes
Expected behavior:
- detect logged-in employee
- wrap Claude config at
$env:APPDATA\Claude\claude_desktop_config.json - restart Claude Desktop process cleanly
4. Assignment order
Use this sequence:
- Baseline dependencies assignment (
thoth,node,npx) - Config assignment (
C:\ProgramData\Thoth\thoth-config.json) - Setup script assignment
Scope to test, then pilot, then full production groups.
5. Execution policy note
If your environment blocks script execution:
- configure Intune script policies to allow signed enterprise scripts
- or deploy script via Win32 packaging flow where execution context is controlled centrally
Do not ask employees to override local execution policy manually.
6. Validate on pilot endpoint
Verify file placement:
Review local setup logging:
Troubleshooting
| Symptom | Likely cause | What to check |
|---|---|---|
| Setup script fails immediately | Execution policy or permissions issue | Check Intune script execution context and endpoint PowerShell policy |
thoth not recognized | Binary not deployed yet | Verify thoth install assignment completed before setup script assignment |
| Config file missing | Config deployment not assigned to endpoint | Confirm C:\ProgramData\Thoth\thoth-config.json exists |
| Claude config not governed | Setup script could not resolve runtime dependencies | Check setup log for node/npx or path resolution errors |
| Claude not restarting | User context mismatch | Verify logged-in user detection and process permissions in setup log |