BitLocker: Migrated Windows device with device encryption cannot verify OS settings
Fleet versions
- Discovered: Fleet 4.89.0-rc.2607141436
- Reproduced: Fleet 4.89.0-rc.2607141436
Web browser and operating system: Windows 11
💥 Actual behavior
When migrating a Windows 11 device from JumpCloud (which has disk encryption enabled) to a Fleet instance that enforces the OS Setting for Disk Encryption, OS Settings continues to show "Enforcing..." and does not end up Verified unless the device is rebooted after Fleet has taken over from JumpCloud.
🛠️ Expected behavior
Because disk encryption is active (and shows as such on the Host page), the disk encryption OS Settings validation should return verified.
🧑💻 Steps to reproduce
These steps:
- [x] Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
- [ ] Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
- Start with a fresh Windows 11 machine with no MDM installed
- Download the JumpCloud installer from an existing JumpCloud account and install it
- Verify that the Windows device appears in the JumpCloud instance and is enrolled in MDM
- (you may have to check the MDM settings to make sure JumpCloud auto-enrolls new devices in MDM)
- Verify that the JumpCloud instance has a policy enforcing disk encryption
- Install the latest version of Fleet from a fleet that enforces disk encryption
- Watch the new Host's page for settings to change (MDM server URL, OS Settings, etc)
- Confirm the issue by checking the OS Settings and seeing the Disk Encryption status sticks at Enforcing...
- Reboot the Host and verify that the Disk Encryption status now Verifies correctly
⚙️ Functional workaround
After migration, reboot the host.
Confirmed migrating from an MDM with encryption enabled is handled correctly now.
Encryption already works Fleet just needs to see what's true Reboot shows the way