Skip to main content

Find Which Mac Users Can Unlock FileVault With a Secure Token and Volume Owner Audit

Which Mac users can unlock FileVault? Read-only fdesetup, diskutil apfs listUsers and profiles checks for secure token, volume owner and bootstrap token.

KBY Technologies10 min readTier L115 min
Find Which Mac Users Can Unlock FileVault With a Secure Token and Volume Owner Audit

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

To see which accounts can unlock on a Mac, run sudo fdesetup list -extended. To see who owns the volume on an Apple silicon Mac, run sudo diskutil apfs listUsers /. Both commands only read. Apple documents that unlocking FileVault needs a secure token and, on Apple silicon, volume ownership, so a user missing from either list is the one at risk of a lockout. The bootstrap token decides whether the next user gets a token automatically.

The audit changes nothing. That matters because the fixes do change things, and they are far easier to plan once you know exactly which users and which Macs are affected. The steps below were checked against Apple’s documentation on 27 November 2026.

#How it usually goes at the moment

Many teams discover the gap through a ticket. A user types the right password at the FileVault screen and the Mac refuses it, or a standard user cannot approve a update. The first response is often to reset a password or hand out a recovery key, which clears the symptom but leaves the cause in place.

The cause is often how the account was created. Apple explains that on APFS volumes the encryption keys are generated at enrolment, at user creation, when the first password is set, or at the first login. A secure token is a wrapped version of a key encryption key, protected by the user’s password. An account created by a script, or one added after the first user, may never have received one.

One documented setting can hide this. Apple notes that a programmatically created user can be given ;DisabledTags;SecureToken in its AuthenticationAuthority attribute to stop the token being granted at login. That is a deliberate choice in some workflows. It also means a missing token is sometimes intended, so the audit has to record what you expected as well as what it found.

#What to do instead of waiting for a ticket

Audit every Mac on a schedule and compare three things: who can unlock FileVault, who owns the volume, and whether the Mac has a bootstrap token. Each answer comes from one read-only command, and together they explain many unlock and update failures before a user notices.

Volume ownership deserves a short explanation, because it is the least familiar of the three. Apple describes the owner as the user who first claimed the Mac, plus any user granted ownership later. An owner is not necessarily an administrator. Changing startup security needs both roles, while approving a software update needs ownership only, so a standard user who owns the volume can approve one.

The bootstrap token closes the loop. When your device management service supports it, macOS escrows the token the first time a secure token user logs in. It can then grant a secure token to accounts created later, including and mobile accounts, without a separate administrator login. It also becomes a volume owner and passes ownership on as it grants tokens. On macOS 26 or later, Apple says the token is created at enrolment instead.

Rendering diagram...

#How to run the audit, step by step

Run these commands on a pilot Mac first, signed in as an administrator, in Terminal or through your management tool’s script runner. Each one needs sudo and none changes a setting. Keep the output with the Mac’s name so you can compare it with your list of expected users.

  1. Confirm FileVault is on with sudo fdesetup status. If it is off, the rest of the audit does not apply yet, so stop and record the Mac.

  2. List the users who can unlock the disk with sudo fdesetup list -extended. Apple’s man page says the plain command shows short names and UUIDs, and the extended form adds user types and whether the recovery key was escrowed.

  3. On an Apple silicon Mac, list the volume owners with sudo diskutil apfs listUsers /. Apple says the GUIDs of type Local Open Directory User map back to the GeneratedUID attribute of a user record.

  4. Turn a GUID into a name with dscl . -search /Users GeneratedUID <GUID>, replacing the placeholder with the GUID from step 3. Apple also notes that the extended fdesetup list output shows names and GUIDs together.

  5. Check the bootstrap token with sudo profiles status -type bootstraptoken. Apple says it reports whether your service supports the feature and the current state of the token on the Mac.

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

Compare the results with the people who should be able to unlock that Mac. Anyone expected but absent from step 2 is the first thing to investigate. An empty list from step 3 on an Apple silicon Mac is a reason to escalate before touching anything.

Close-up of hands typing on a laptop with a USB device on a white background. Ideal for tech and cybersecurity themes.
Photo by cottonbro studio on Pexels

#Who can run it and what stays read-only

Only administrators who already manage the fleet should run the audit, and the script should stay read-only. It needs root to read these lists, so keep it in your management tool’s signed script store and limit who can edit it. Never put an administrator password into it, even for a later fix.

That last point comes from how Apple documents the fix. Changing a user’s secure token with sysadminctl always needs the name and password of an existing secure token administrator. Apple advises doing this only when necessary. A script that carries that password turns a one-Mac repair into a fleet-wide credential, so keep repairs manual until you have a safer route.

Apple also gives two protections you should not work around. Both sysadminctl and System Settings refuse to delete the last administrator or the last secure token user on a Mac. If your audit finds only one such account, the safe next step is to add a second, not to remove anything.

#Checking it worked

Run the audit on a Mac you understand well, such as your own pilot device, and make sure the output matches what you know. Your own account should appear in the FileVault list. On an Apple silicon Mac it should also appear as a volume owner once you map its GUID to a name.

Next, test a failure on purpose using a spare Mac you can wipe. Create an account with the ;DisabledTags;SecureToken setting Apple describes, then run the audit. Apple documents that a user who was never granted a token cannot be enabled for FileVault, so the account should be missing from the list. That proves the audit catches the case you care about.

Finally, run the same commands twice and diff the saved output. The lists should be identical when nothing has changed. If they differ between runs, you have a timing or logging problem to fix before you trust the results across the fleet.

#What goes wrong

  • Treating a clean fdesetup list as proof of volume ownership. They are separate: a user can appear in one and not the other, and the unlock requirement for Apple silicon includes both.
  • Reading the escrow answer as proof the key arrived. The man page warns the extended list shows “Yes” even if the information has not yet reached the server.
  • Running the volume owner check on an Intel Mac. Apple describes volume ownership for Apple silicon, so take that step only where it applies.
  • Fixing a missing token by sharing an administrator password in a script, which spreads one credential across every Mac the script touches.
  • Assuming the bootstrap token exists. Apple says it needs a service that supports it, so check the status command rather than trusting a console label.
Close-up of a laptop displaying cybersecurity text, emphasizing digital security themes.
Photo by cottonbro studio on Pexels

#Backing out and recovering a locked-out Mac

The audit itself needs no rollback because it changes nothing. A repair does, and before any repair you should confirm that a personal recovery key is escrowed for the Mac. Our guide on fixing a FileVault personal recovery key not escrowed to Jamf Pro covers that check.

If a user is already locked out, Apple documents two ways to use the personal recovery key. At the FileVault screen, press Option-Shift-Return to reveal the key field, enter it and press Return to start directly into macOS. In recoveryOS, the Forgot All Passwords option accepts the key and unlocks the volume. Apple notes there is only one key per encrypted volume, and a service can rotate it afterwards.

On an Apple silicon Mac with macOS 26 or later, Apple also describes unlocking FileVault over SSH after a restart when Remote Login is on and the network is available. Our walkthrough of restarting FileVault Macs remotely shows how to use it without stranding the Mac.

Apple documents sudo profiles remove -type bootstraptoken as removing the token from both the Mac and your service. Treat that as an escalation to a second administrator, not a rollback, because it takes away the way new accounts receive tokens.

#How to tell it worked

Track three numbers from the audit output each week: Macs where an expected user is missing from the FileVault list, Apple silicon Macs with no readable volume owner, and Macs where the bootstrap token status is not healthy. All three should trend down as you fix accounts, and the first should reach zero for named users.

Watch the tickets as well. Unlock failures and update approval requests that trace back to a missing token should stop once the Mac is clean. Record how many each month, but do not claim a percentage until you have a baseline from before you started auditing.

Pair this with a check on local administrator drift. Our piece on auto-remediating stale local admin group membership drift covers the neighbouring problem of accounts that have more rights than they should.

#Before you roll this out to the fleet

  • You tested the commands on a pilot Mac and the output matched what you knew.
  • You have a list of the users who should unlock each Mac.
  • The audit script is read-only, signed, and editable by a small group.
  • No administrator password appears in the script or the output.
  • A personal recovery key is escrowed for each Mac you plan to repair.
  • You have a named person who decides what to do with a flagged Mac.
  • You know the bootstrap token status your service reports.
  • You have a baseline of unlock and update tickets before the first run.

The next safe decision is small. Run the audit on ten Macs, review the flagged ones by hand, and fix them one at a time before you widen the scope. Apple’s FileVault pages are the place to confirm any 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 Find Which Mac Users Can Unlock FileVault With a Secure Token and Volume Owner Audit. 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.