Skip to content

Disk encryption and recovery keys

Oneleet MDM can require disk encryption on managed Macs and Windows PCs, and it saves each device’s recovery key so an admin can get someone back into a locked device.

FileVault (macOS) BitLocker (Windows)
Require it Configuration Profiles > macOS > FileVault Configuration Profiles > Windows > BitLocker
See the recovery key Encryption key on the device’s page Encryption key on the device’s page
Replace the recovery key FileVault recovery key on the device’s page Manage device > Rotate BitLocker recovery key…

Admins can reveal recovery keys, and each reveal is recorded in your workspace’s audit log.

In the macOS policy, turn on Enable FileVault. A Mac that isn’t encrypted prompts the person using it to turn FileVault on at their next logout or restart, and the Mac sends its recovery key to Oneleet.

Turn on Rotate the recovery key after it’s revealed to have Oneleet replace a Mac’s key a few hours after someone in your workspace reveals it. See Reset a forgotten password with the key. The secure defaults turn it on.

Open the Mac’s page and click the eye icon next to Encryption key.

A person who forgot their password can reset it with the recovery key. At the login window, they enter a wrong password three times and select Restart and show password reset options. The Mac restarts into Recovery Assistant, which asks for the recovery key. After they set a new password, the Mac restarts and unlocks with it.

With Rotate the recovery key after it’s revealed on, viewing a key makes Oneleet rotate it on Macs that qualify (see Rotate the key from Oneleet), two to three hours after the first view. Until then, the key you read out still works, so the person has time to enter it. Viewing the key again doesn’t postpone the rotation, unless the rotation is already due and hasn’t been sent yet. Then it runs two to three hours after that view, so the key you just read out isn’t rotated right away. A Mac that’s in Recovery Assistant when the rotation is due rotates once it has restarted and the person has logged in. After the rotation, reveal the key again to see the new one. If the rotation can’t be scheduled, the key is still shown and Encryption key says why. A rotation that’s already scheduled still runs if you turn the setting off.

A Mac sends its recovery key only when the key is created. If FileVault was already on before the Mac enrolled, Encryption key shows Not escrowed and the page asks you to rotate the key. The FileVault recovery key section on the Mac’s page offers the fix that applies to the Mac.

On macOS 26 or later, a Mac that has escrowed its bootstrap token creates a new recovery key when it receives a new FileVault escrow configuration, and sends the new key to Oneleet. The person using the Mac isn’t involved. When a Mac qualifies, the FileVault recovery key section shows Rotate recovery key. Select it to request the rotation; the section shows Rotation in progress until the Mac answers. If the Mac doesn’t answer within 24 hours, you can request the rotation again. Any saved key stops working once the Mac rotates. Once Oneleet saves the new key, Encryption key hides any key revealed earlier; reveal it again to see the new key.

Oneleet also requests this rotation on its own, once, for a Mac that can’t send its current key. With Rotate the recovery key after it’s revealed on, it also requests one after an admin views a Mac’s saved key, since a viewed key counts as exposed. The rotation after a view runs two to three hours after the first view, so the viewed key can still unlock the Mac in the meantime. For a Mac that can’t send its current key, the saved key is from before the Mac last enrolled and may no longer unlock it. Until it runs, the section shows Rotation scheduled and the time after which the key is rotated. Rotate recovery key still rotates the key right away.

If the Mac doesn’t qualify, the section says why: it runs a macOS version older than 26, or Oneleet hasn’t received its bootstrap token.

In the Mac’s Activity tab, filter for FileVault recovery key rotation requested, FileVault recovery key rotated, or FileVault recovery key couldn’t be rotated to follow these rotations.

If Encryption key says that the recovery key isn’t escrowed, or that Oneleet can’t reconfirm a key saved before re-enrollment, and the Mac doesn’t qualify for a rotation from Oneleet, the FileVault recovery key section asks you to run this on the Mac:

Terminal window
sudo fdesetup changerecovery -personal

Enter the password of an account that can unlock FileVault. The old recovery key stops working. Oneleet can take up to three days to receive the new one.

Don’t run the command on a Mac whose saved key is confirmed. Oneleet doesn’t check that Mac for a new key, so the saved key stops working and nothing replaces it.

The Oneleet Agent shows the same request on the Mac under Needs your attention. For an administrator, its Open Terminal button runs the command. For the next three days, the agent shows Waiting for Oneleet to receive your new key instead of the button, since running the command again would replace the key just saved.

On a standard account, the agent asks the person to contact their IT team, since the command needs an administrator account.

On the Mac’s Activity tab, filter for FileVault recovery key saved or FileVault recovery key couldn’t be saved. A Mac whose key has to be rotated produces neither, because it doesn’t send a key until it’s rotated. If saving keeps failing, keep the Mac online and contact Oneleet support. Activity entries never include the recovery key.

Oneleet keeps the key it saved before and labels it Saved before re-enrollment; not yet reconfirmed. The key usually still works. If the Mac was wiped or its key was rotated, it doesn’t. Rotate the key as above to save a current one. If the key stays unconfirmed, contact Oneleet support.

BitLocker management is in early access. Ask your Oneleet contact to turn it on. A device needs Oneleet Agent 2.6.0 or later and Windows Pro, Enterprise, or Education. It also needs a TPM, unless its drive already unlocks with a PIN, startup key, or password. Devices that don’t meet these aren’t encrypted, and their disk encryption check keeps failing. Encryption key on the device’s page says why.

In the Windows policy, turn on Require BitLocker on the system drive. On each managed device, the agent saves the recovery key to Oneleet first and then encrypts the drive in the background. Nobody has to restart or do anything.

Setting What it does
Encryption method XTS-AES 256 by default, or XTS-AES 128
Encrypt used space only Faster. Data deleted before encryption stays recoverable.
Resume suspended protection Turns protection back on an hour after someone suspends it indefinitely
Rotate the recovery key after it’s revealed Asks the device to replace the key each time someone reveals it. See below.
Block writes to removable drives BitLocker doesn’t protect Makes unprotected USB drives read-only

A drive that’s already encrypted stays encrypted with the method it has. Oneleet saves its recovery key.

While your policy requires BitLocker on a device and its drive isn’t protected, Encryption key on the device’s page says why. It goes by the device’s latest report, which the agent sends within about 5 minutes of a change while the device is online.

  • Waiting for the device to turn BitLocker on: the agent hasn’t turned BitLocker on yet. It usually does the next time it checks the drive, or when the device is next online. If a device stays here for more than an hour while it’s online, contact Oneleet support.
  • Waiting to save the recovery key: the drive has a recovery password whose key we don’t hold yet. The agent keeps trying to send it, and doesn’t start encrypting or turn protection on until we’ve saved the key. A drive that Windows or another tool is already encrypting keeps encrypting in the meantime. If a device stays here for more than an hour while it’s online, contact Oneleet support.
  • Encrypting: protection turns on when encryption finishes. For a few minutes after the device reports that encryption started, the line also shows how far it had got. Encryption paused means someone paused it on the device, and the agent resumes it at its next check.
  • Protection suspended, with the restarts left when Windows will resume it on its own: the drive is encrypted, but its key is readable from the disk until protection resumes. Windows Update can suspend protection for a restart. A suspension with no restart count lasts until someone runs Resume-BitLocker -MountPoint C: on the device, or until the agent resumes it when Resume suspended protection is on.
  • No TPM is ready, so we can’t turn BitLocker on: Windows reports no TPM, or one that isn’t ready. Turn the TPM on in the device’s firmware settings, or run tpm.msc on the device to see what Windows needs.
  • Windows Home doesn’t include BitLocker: upgrade the device to Windows Pro to manage its encryption.
  • The drive is being decrypted: someone turned BitLocker off on the device. The agent encrypts the drive again once decryption finishes. Decryption paused means someone paused it, and it doesn’t finish by itself. Run manage-bde -resume C: in an elevated prompt on the device to let it finish.
  • BitLocker needs agent version 2.6.0 or later: update the Oneleet Agent on the device.

Open the device’s page and click the eye icon next to Encryption key.

With Rotate the recovery key after it’s revealed on, revealing the key also asks the device to replace it, even when the person revealing it can’t rotate keys. Encryption key says the device hasn’t rotated the key yet. The key you revealed keeps working until it does, so a device at its recovery screen can still be unlocked with it. If the device is back online within 24 hours and the rotation succeeds, the key you revealed stops working. If the device stays offline longer, the request lapses, so reveal the key again or rotate it by hand. If the rotation can’t start, for example because the device has saved too many new keys today, the key is still shown and Encryption key says why. The device’s activity log shows the rotation as requested by revealing the key.

  • Uses XTS-AES 128, not the XTS-AES 256 the policy asks for: the drive was encrypted before the policy reached it, often by Windows itself during setup. To move it to the policy’s method, run manage-bde -off C: in an elevated prompt on the device. Once the drive is decrypted, the agent encrypts it again with the policy’s method and saves a new recovery key. The drive isn’t protected until encryption finishes, which can take hours. If Group Policy requires a method, Windows uses that one.
  • Secure Boot is off, so a firmware update can ask for the recovery key: shown for a drive that unlocks with its TPM. Windows Update and many vendor updaters suspend BitLocker for that restart themselves. For one that doesn’t, run Suspend-BitLocker -MountPoint C: -RebootCount 1 in an elevated PowerShell before updating. Windows resumes protection after the restart, and Resume suspended protection leaves that kind of suspension alone.
  • Saved from a recovery password Oneleet didn’t create: the person using the device or another system may hold this key too. Rotate it so only Oneleet holds the key.
  • Not the current key: the device’s latest report doesn’t include the saved key, so it may not unlock the drive. Right after a rotation, this shows until the device next reports in.
  1. Reveal the key on the device’s page before the person starts typing it. The BitLocker recovery screen may turn the device off after about a minute without input. Turning it back on brings the screen back.
  2. Check that the Recovery key ID on the device’s screen matches the first 8 characters of the key ID under Encryption key.
  3. Type the 48 digits on the device. The screen adds the dashes.

With Rotate the recovery key after it’s revealed on, revealing the key asked the device to replace it. If the device is back online within 24 hours and the rotation succeeds, the key you typed can’t unlock the drive again.

Once Oneleet holds a key for the device, open it and choose Manage device > Rotate BitLocker recovery key…. The agent creates a new key, saves it to Oneleet, and removes every other recovery key from the drive, so copies saved to Active Directory or Microsoft Entra ID stop working.

  • Only the system drive (C:) is managed.
  • Turning the requirement off, or excluding a device from MDM, doesn’t decrypt anything.
  • A startup PIN can’t be set remotely.