Skip to main content
KBY Technologies Logo

Turn On FileVault Through MDM: Deferred Enablement, Login Bypass Limits and Setup Assistant

Turn on FileVault on enrolled Macs with MDM: deferred enablement, login bypass limits, Setup Assistant and recovery key escrow, checked with fdesetup.

KBY Technologies9 min readTier L115 min
Turn On FileVault Through MDM: Deferred Enablement, Login Bypass Limits and Setup Assistant

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

To turn on on enrolled Macs without handling anyone’s password, send the FileVault payload with Enable set to On and Defer set to true. then asks the designated user to turn FileVault on at a later logout or login. A separate login bypass limit decides how many times they can say no. Apple’s documentation was checked on 29 November 2026.

The choices that matter are small: whether to defer or enforce in Setup Assistant, how many bypasses to allow, and where the personal recovery key goes. Get them wrong and you either leave disks unencrypted for months or lock a user out of a Mac before the key is safe.

#How it usually goes at the moment

Many teams turn FileVault on by asking each user to open System Settings and do it themselves, then chase the ones who did not. Others try to push the profile with a username and password inside it, which means a credential travels in a configuration profile.

Apple documents a cleaner route. Payloads set to On sent through MDM must either include full authentication information or set Defer to true, and with Defer on, the system prompts the user for the authentication information itself. The user keeps their password, and your profile never holds it.

Defer is off by default in Apple’s schema, so a profile that sets only Enable to On, with no credentials, does not describe a complete request. That is the first thing to check when a Mac never prompts.

#What to do instead of asking users to encrypt by hand

Pick one of two paths per Mac, and do not mix them. Deferred enablement suits Macs that already belong to users. Enforcing FileVault in Setup Assistant suits new Macs enrolled through Automated Device Enrollment.

Apple’s guide describes deferred enablement as turning FileVault on after enrolment, and says it needs a logout or login event from the user. You can customise how many times a user can defer, whether to prompt at logout as well as login, whether to show the recovery key, and which certificate encrypts the recovery key for escrow.

For new Macs, the profile can ask Setup Assistant to turn FileVault on before the user reaches the desktop. Apple says to hold the Mac in the awaiting configuration state until FileVault is on and, optionally, the recovery key is escrowed. On macOS 26.4 or later FileVault is on in Setup Assistant by default, and the management option still escrows the key and stops the user turning FileVault off afterwards.

Loading diagram...

#How to turn it on, step by step

Build and test the profile on one pilot Mac first. The payload requires user approval, and Apple lists Device Enrollment and Automated Device Enrollment as the supported enrolment methods.

  1. Decide the recovery key route. Set Show recovery key to false if users should not see the personal key, and supply a certificate through the Payload certificate UUID setting so the key is encrypted for your service. Apple says the service might not be able to decrypt it without extra administrator steps.

  2. For an existing Mac, set Enable to On and Defer to true. Leave Don’t ask at user logout off if you want the logout prompt, or turn it on if you would rather prompt only at login.

  3. Set the login bypass limit. Apple documents a range of -1 to 9999: 0 requires FileVault at the next login, and -1 disables the limit. For a first rollout, a small number such as 3 gives users time to save work without leaving the Mac unencrypted indefinitely. Treat the number as a policy choice, not an Apple recommendation.

  4. For a new Automated Device Enrollment Mac, set Turn on in Setup Assistant. Apple’s schema lists this key as ForceEnableInSetupAssistant, available from macOS 14, and says to enable the Await Device Configured option and send the profile before the DeviceConfigured command.

  5. Make sure an admin account with a secure token exists first. Apple’s schema says an admin SecureToken user is required, otherwise the FileVault pane does not appear.

  6. Assign the profile to the pilot group only, and wait for a user to log out or in.

Following along? Tap a step’s number to tick it off.

Apple lists only one FileVault payload of each kind per device, so merge settings into a single profile rather than layering two.

Close-up of hands typing on a laptop displaying cybersecurity graphics, illuminated by purple light.
Photo by Antoni Shkraba on Pexels

#Who can change the profile and what it must not do

Keep the profile editable by the small group that owns encryption policy. A login bypass value of 0 can stop users in, so it should not be changed casually or pushed to a whole fleet on a Friday afternoon.

Never put a username and password in the payload to avoid the prompt. Apple’s guide says an immediate turn-on with credentials is meant for unattended deployments where management creates the account, and it needs a secure token on that account. A credential in a profile is exposed to anyone who can read the profile.

Apple’s schema says the institutional recovery key certificate is not supported on a Mac with Apple silicon. Do not plan an institutional key for those Macs. Escrow the personal recovery key instead.

#Checking it worked

Three read-only commands on the Mac show what happened. Run them with sudo, as the man page says most fdesetup commands need root; none changes anything.

  • sudo fdesetup status reports whether FileVault is On or Off. Adding -extended shows the time remaining while encrypting, which Apple calls approximate.

  • sudo fdesetup showdeferralinfo shows the current deferral settings when defer mode is set, so you can see that the Mac is waiting for the user.

  • sudo fdesetup list -extended lists the enabled users and whether the recovery key was escrowed.

Do not trust that last answer on its own. Apple’s man page says it shows Yes even if the key has not reached the server, so confirm the key in your management service as well.

Finally, test the lockout path on a spare Mac before the fleet. Set the bypass limit to 0, log in, and confirm you cannot reach the desktop until FileVault is turned on. That proves the limit does what you intend.

#What goes wrong

  • Setting Enable to On with no Defer and no credentials. Apple says the payload then needs full authentication information, so the request is incomplete.
  • Expecting a prompt for an account that cannot enable FileVault. Apple’s schema says only a local user or a mobile account user can.
  • Assuming a cancelled prompt cancels the policy. The man page says if a user does not complete the logout prompt, FileVault is not enabled, but the configuration stays and is used again at the next logout or login.
  • Using a bypass limit of 9999 and believing it enforces anything. The man page says 9999 means the user is prompted at each login but never forced.
  • Removing the profile to disable encryption. Apple’s schema says removing the payload doesn’t disable FileVault; Enable set to Off does.
  • Expecting the old Setup Assistant notice on macOS 26 or later. Apple says that screen is no longer shown, though the requirement still applies.
Close-up of hands typing on a laptop keyboard, ideal for business and technology themes.
Photo by Tima Miroshnichenko on Pexels

#Backing out and recovering a locked-out Mac

Back out by changing the profile, not by removing it. Because removing the payload does not turn FileVault off, the safe step for an unhappy pilot is to raise the bypass limit or set it to -1 and reissue the profile, then check sudo fdesetup showdeferralinfo. Whether a reissued value resets a user’s remaining attempts is not stated on the pages checked, so test it on the pilot Mac.

Before any Mac reaches a forced login, confirm its recovery key reached your service. Our guide to a FileVault personal recovery key not escrowed to Jamf Pro shows what to check when it did not.

If a user is locked out, Apple documents using the personal recovery key at the FileVault screen with Option-Shift-Return, or in recoveryOS through the Forgot All Passwords option. There is only one personal recovery key per encrypted volume, and Apple notes a service can rotate it afterwards, for example after it has been used.

Our walkthrough of restarting FileVault Macs remotely covers restarts that would otherwise strand a Mac at the unlock screen.

#How to tell it worked

Track three counts weekly: Macs where fdesetup status says FileVault is Off, Macs still waiting on a deferred prompt, and Macs where the key escrow is unconfirmed in the service. The first should fall to zero for managed Macs, and the other two should fall with it.

Watch tickets too. Lockout requests in the first weeks show whether your bypass limit was too tight. Record them, but do not claim a percentage until you have a baseline from before the rollout.

For a wider view of encryption evidence across the fleet, see replacing manual compliance work with a verifiable FileVault workflow.

#Before you roll this out to the fleet

  • The pilot Mac turned FileVault on after a logout or login.
  • You tested a bypass limit of 0 on a spare Mac.
  • No username or password appears in the profile.
  • The recovery key is escrowed and confirmed in the service, not only on the Mac.
  • Apple silicon Macs use the personal recovery key, not an institutional certificate.
  • Each Mac has an admin account with a secure token.
  • One FileVault payload is assigned per Mac.
  • A named person owns the bypass limit and the lockout tickets.

The next safe decision is small. Assign the profile to ten Macs with a generous bypass limit, confirm the escrow, then tighten the limit in steps. Apple’s FileVault pages are the place to confirm version-specific behaviour as macOS 26 changes.

About this page

Credited to

Dates

Published

Sources

This page lists no external sources.

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Found this useful? Follow KBY for more like it.

Reader Interaction

Comments

Add a thoughtful note on Turn On FileVault Through MDM: Deferred Enablement, Login Bypass Limits and Setup Assistant. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this article.

Discover more

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Operate smarter, with fewer recurring tickets.

Receive new operational playbooks, incident-prevention guidance, automation scripts and recovery runbooks.