<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #42591 Docs updated here: https://github.com/fleetdm/fleet/pull/42653/changes # Checklist for submitter ## Testing - [x] Added/updated automated tests - [x] Where appropriate, [automated tests simulate multiple hosts and test for host isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing) (updates to one hosts's records do not affect another) - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Enhanced Windows MDM profile deletion and cleanup to properly handle shared configuration settings across multiple profiles, preventing unintended removal of settings required by other profiles. * Improved reliability of profile management when multiple profiles use overlapping configuration settings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->