fleet/docs/solutions/windows/scripts
Adam Baali f2f1f66d11
Add Windows MDM migration troubleshooting scripts and guide (#39548)
Closes #38916
Related: #34993, #33985, fleetdm/confidential#13228

## Changes

**Article update** (`articles/windows-mdm-setup.md`)
- Adds "Migrating from another MDM solution" subsection under **Manual
enrollment** with overview of common migration issues and links to
remediation scripts

**New scripts** (`docs/solutions/windows/scripts/`)
- `reset-mdm-enrollment-flag.ps1` — Resets MmpcEnrollmentFlag blocking
MDM status after migration
- `remove-stale-mdm-enrollment-records.ps1` — Clears orphaned enrollment
GUIDs, AAD discovery cache, and MS DM Server cache
- `fix-workplace-join-configuration.ps1` — Re-enables
Automatic-Device-Join task and configures Workplace Join policies
- `remove-unreachable-wsus-configuration.ps1` — Removes unreachable WSUS
server config that breaks Windows Update

## Context

Customers migrating Windows hosts from Intune to Fleet have been hitting
recurring enrollment issues, MDM status stuck on "Off," enrollment
errors (`0x80190190`, `0x8018000a`), and Windows Update breakage from
leftover RMM agents. These scripts consolidate the workarounds from
multiple customer engagements into self-serve remediation that can be
deployed via **Controls > Scripts**.

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
2026-02-11 15:20:26 +01:00
..
download-cloudflare-warp.ps1 Solutions folder script name cleanup (#38951) 2026-01-29 20:39:20 -05:00
fix-workplace-join-configuration.ps1 Add Windows MDM migration troubleshooting scripts and guide (#39548) 2026-02-11 15:20:26 +01:00
hide-windows-insider-settings-page.ps1 Solutions folder script name cleanup (#38951) 2026-01-29 20:39:20 -05:00
prevent-uninstall-or-modification-of-fleet-osquery.ps1 Solutions folder script name cleanup (#38951) 2026-01-29 20:39:20 -05:00
remove-stale-mdm-enrollment-records.ps1 Add Windows MDM migration troubleshooting scripts and guide (#39548) 2026-02-11 15:20:26 +01:00
remove-unreachable-wsus-configuration.ps1 Add Windows MDM migration troubleshooting scripts and guide (#39548) 2026-02-11 15:20:26 +01:00
reset-mdm-enrollment-flag.ps1 Add Windows MDM migration troubleshooting scripts and guide (#39548) 2026-02-11 15:20:26 +01:00
set-screen-saver-grace-period.ps1 Solutions folder script name cleanup (#38951) 2026-01-29 20:39:20 -05:00
trigger-scep-enrollment.ps1 Solutions folder script name cleanup (#38951) 2026-01-29 20:39:20 -05:00
turn-on-mdm-notification.ps1 Improve Windows migrate to Fleet notification (#37310) 2025-12-17 15:35:44 -06:00