Restart FileVault Macs Remotely Without Leaving Them Stuck at the Unlock Screen
Stop FileVault Macs waiting at the unlock screen after a remote restart: use fdesetup authrestart, or SSH unlock on Apple silicon with macOS 26, safely.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.
A Mac with FileVault turned on stops at the unlock screen every time it restarts, and most remote tools can’t reach it until someone types a FileVault password. You have two documented ways to restart one from afar without stranding it. Before the restart, sudo fdesetup authrestart restarts the Mac once without asking for the unlock. After a restart, a Mac with Apple silicon running macOS 26 or later can be unlocked over SSH, provided Remote Login is on and the Mac has a network connection. Neither is free: an authenticated restart deliberately keeps an extra copy of the FileVault unlock key in memory (and, on supported systems, the System Management Controller) until the next unlock, and Remote Login opens an SSH door that Apple itself says makes a Mac less secure.
This playbook is for the Mac administrator who restarts lab machines, shared Macs, build hosts or a user’s laptop out of hours and keeps finding them waiting at the unlock screen the next morning.
#How remote restarts are handled today
Apple’s deployment guide puts the constraint plainly: once a user turns on FileVault, their credentials are required during the boot process. Until that happens the data volume stays locked, the user’s session never starts, and Screen Sharing, scripts that run as the user and anything that needs the data volume wait with it.
So the usual pattern is a restart in the evening, a Mac that sits at the unlock screen all night, and a message to the user or a walk to the machine in the morning. For a laptop that is a nuisance. For a Mac mini running builds in a cupboard, or a Mac in a lab nobody visits until Monday, it means the restart has effectively taken the machine offline.
The tempting fix is to turn FileVault off on the machines that cause the most trouble. That removes the protection for the data on that disk, takes a Mac out of compliance with any encryption policy, and is never the answer this playbook recommends. If you already manage FileVault keys, the work in Replacing Manual Compliance Work with a Verifiable FileVault Workflow still applies; this piece only changes how the Mac gets past the unlock screen after a restart.
It is also worth separating two things that are easy to confuse. On a Mac with Apple silicon, Apple says a bootstrap token held by your device management service can authorise the installation of software updates. That is authorisation to install. Apple’s pages don’t say it unlocks FileVault at the restart that follows, so plan as if the Mac will still stop at the unlock screen.
#What to do instead: decide how the Mac gets unlocked before you restart it
The better workflow is a decision made per restart, not a setting made once. If you are about to restart the Mac yourself and want it to come straight back, use an authenticated restart. If the Mac might restart without you (a crash, a power cut, an update you didn’t time) and it qualifies, keep a narrowly scoped Remote Login so an administrator can unlock it over SSH. If neither applies, schedule the restart for when someone can type the password.
Rendering diagram...
The two methods have different costs. An authenticated restart weakens FileVault for a short, known window: from the moment it is armed until the Mac unlocks after the restart. SSH unlock needs nothing armed before the restart, but it relies on a network service that answers before anyone has logged in, so it has to be limited to the accounts that need it.
#Step by step on a test Mac
Work through both methods on a test Mac that matches the hardware and macOS version of the machines you care about, with someone able to reach it physically if the unlock doesn’t happen.
#Read the Mac’s state first
These commands change nothing
fdesetup isactivereturnstruewith exit status 0 when FileVault is on, andfalsewith status 1 when it is off. If it is off, neither method is needed.fdesetup supportsauthrestartreturnstrueif the hardware supports an authenticated restart. The manual page warns thattruedoes not mean the restart will work, because FileVault must also be on.sudo fdesetup listlists the users enabled for FileVault. Only these accounts can unlock the disk, so the administrator who will unlock over SSH must appear here.sw_vers --productVersionprints the macOS version. SSH unlock needs macOS 26 or later, and Apple limits it to Macs with Apple silicon; take the chip from your device management inventory.
Following along? Tap a step’s number to tick it off.

#Method one: an authenticated restart you start yourself
Precondition: FileVault is on, supportsauthrestart returns true, the user has been told and has saved their work, and you know the password of a FileVault-enabled account. There is nothing to back up for this step, because it changes no setting; the risk is the restart itself and the reduced protection while it is armed.
- Run
sudo fdesetup authrestart -delayminutes 5. fdesetup must run as root and prompts for a password to unlock the FileVault volume. The delay gives the user a few minutes; a value of 0, or no option at all, restarts immediately. - Wait for the restart. Once the authenticated restart has been accepted, fdesetup hands over to the system shutdown, and the extra copy of the unlock key is removed when the Mac unlocks on the way back up.
- Reconnect with your usual remote tools and run the checks under “Confirm the Mac came back protected”.
A value of -1 for -delayminutes never restarts automatically; instead the authenticated restart happens whenever the user next restarts. That suits a laptop whose user will restart at a time of their choosing, but it leaves the extra key copy in place until they do, so use it only for a short, known period.
fdesetup can also read the username and password from a property list on standard input (-inputplist). Don’t put that file in a script or a management policy: it is an administrator’s FileVault password in plain text. Typing the password interactively is the safer default.
#Method two: unlock over SSH after the restart
Precondition: a Mac with Apple silicon on macOS 26 or later, FileVault on, an administrator account listed by fdesetup list, and a network path to the Mac that works before anyone logs in. Back up the current state by noting whether Remote Login is already on and who is allowed to use it, so you can put it back exactly.
- On the Mac, choose Apple menu, System Settings, General, then Sharing, and turn on Remote Login.
- Under “Allow access for”, choose “Only these users” and add only the administrator accounts that will unlock Macs. Leave “Allow full disk access for remote users” off unless a remote task needs it.
- Note the SSH command shown under “Remote Login: On”. It has the form
ssh username@hostname. - Restart the Mac and leave it at the unlock screen.
- From another computer, run that
sshcommand and give the password of the FileVault-enabled administrator. Jeff Geerling, who documented the feature on macOS 26, describes connecting to the Mac before any user login, entering an administrator’s password to unlock it, and then using ordinary SSH or Screen Sharing once it has finished starting up.
Rollback: turn Remote Login off again in the same Sharing settings, or restore the “Allow access for” list you noted. Nothing about FileVault itself is changed by this method.
#Who can run a remote unlock
Both methods put an administrator’s FileVault password to work from a distance, so keep them narrow.
- Limit Remote Login to named administrator accounts with “Only these users”. Apple’s own help page says allowing remote login can make a Mac less secure.
- Arm an authenticated restart only when a restart is about to happen. The manual page is explicit that FileVault protections are reduced during authenticated restarts: fdesetup stores at least one more copy of a permanent unlock key in system memory and, on supported systems, the System Management Controller.
- For laptops that might go into standby with a restart armed, the manual page points to
pmset destroyfvkeyonstandby, which destroys the FileVault key on standby so the user is asked for the password when the Mac wakes. Setting it to 1 is a power setting change on every Mac it reaches; test it on one laptop before scoping it wider, and set it back to 0 to undo. - Never store the password used for
-inputplistanywhere a script or an MDM policy can read it. - Don’t use an institutional recovery key as the plan for remote unlock. Apple no longer recommends institutional recovery keys and says they provide no functional value on Apple silicon.
#Confirm the Mac came back protected
After either method, confirm the Mac is reachable and still protected:
fdesetup isactivestill returnstrue. Neither method turns FileVault off, and this proves it.fdesetup statusreports the current FileVault status in more detail.fdesetup usingrecoverykeyreturnsfalse. Atruemeans the disk was unlocked with the personal recovery key, which should be the exception, not the method.- Your management agent checks in and the Mac answers Screen Sharing or SSH, which proves the data volume is unlocked.
- For SSH unlock, a fresh restart followed by a successful unlock from another computer on the network you actually use, not only on the test bench.

#What goes wrong with remote unlocks
The commonest surprise is the network. Apple’s requirement is only that a network connection is available. Jeff Geerling found that a Mac connected only to Wi-Fi couldn’t be reached before login on early macOS 26 while Ethernet worked, and reports that Wi-Fi unlock worked for him from macOS 26.5. Apple’s Platform SSO documentation adds that, because the data volume isn’t available yet, a Mac that needs its identity provider before FileVault unlock must reach it without a VPN, a network relay or 802.1X. Apple doesn’t state the same limit for SSH unlock, but it is a reasonable assumption to test: a Mac that only reaches your network through 802.1X or a VPN may not be reachable at the unlock screen.
Other failures are simpler:
supportsauthrestartreturnedtruebut FileVault was off, so the restart was an ordinary one. Checkisactivefirst.- The account used over SSH isn’t in
fdesetup list, so it can’t unlock the disk. - The Mac is Intel or runs macOS 15 or earlier. SSH unlock is documented only for Apple silicon with macOS 26 or later.
- An authenticated restart was armed with
-delayminutes -1and forgotten, leaving the extra key copy on the Mac for days. Use a short delay unless you have a reason not to. - Remote Login was turned on with “All users” to get a test working and never narrowed.
#Roll back or recover a Mac that stays locked
If a Mac doesn’t come back unlocked, nothing has been lost: it is waiting at the unlock screen with FileVault intact.
- Try SSH unlock if the Mac qualifies and Remote Login is on.
- Otherwise have someone at the Mac enter a FileVault-enabled user’s password.
- If no password is available, use the personal recovery key held by your device management service. If it isn’t there, FileVault Personal Recovery Key Not Escrowed to Jamf Pro: Fix covers getting escrow working before you need it.
To back out the changes this playbook makes, turn Remote Login off or restore its previous user list, and set pmset destroyfvkeyonstandby back to 0 where you set it. To clear an authenticated restart armed with -1 that you no longer want, restart the Mac under supervision: the manual page says the extra unlock key is removed once the Mac unlocks after the authenticated restart. Apple documents no separate cancel command, so don’t rely on one.
#What to track
The point of the work is fewer Macs found at the unlock screen after planned restarts, without weakening encryption. Count, for each patch window or planned restart:
- Macs still at the unlock screen an hour after the restart, from management check-ins.
- Visits or user messages needed to unlock a Mac after a remote restart.
- Macs that unlocked with the personal recovery key (
usingrecoverykeytrue), which should stay near zero. - Macs with Remote Login on, and whether each one’s access list matches your approved administrators.
- Macs reporting FileVault off. This should not move; if it does, someone has taken the shortcut this playbook warns against.
Review the numbers after each patch cycle for the first month, then quarterly, and re-test SSH unlock after every major macOS update, since its network behaviour has already changed between point releases.
#Before you go live across the fleet
- Confirm with
fdesetup isactiveandsupportsauthrestartwhich Macs can use an authenticated restart. - Separate Apple silicon Macs on macOS 26 or later, the only ones that can be unlocked over SSH.
- Check that each unlocking administrator appears in
fdesetup liston the Macs they will unlock. - Test SSH unlock on the real network each Mac uses, including Wi-Fi, before depending on it.
- Restrict Remote Login to named administrators and record the previous setting for rollback.
- Agree a short default for
-delayminutesand keep-inputplistpasswords out of scripts. - Make sure every Mac’s personal recovery key is escrowed before you start restarting Macs remotely.
About this page
Credited to
Dates
Published
Sources
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Recommended reading
More from KBY that goes with this article.
Related articles
macOS
Recovery Lock Rotation for Apple Silicon Macs at Scale
A production-safe workflow for rotating and auditing macOS Recovery Lock passwords via Jamf Pro APIs to stop manual unlock escalations.
ReadmacOS
What Encryption Standard FileVault Uses and How to Prove Every Mac Meets It
Which encryption does FileVault use? AES-XTS, AES-256 on M1 or later, with FIPS status by macOS release, plus fdesetup checks and MDM escrow proof per Mac.
ReadSecurity & Operations
Audit and Tighten Microsoft Defender Antivirus Exclusions Across Intune, Group Policy and Local Lists
Find every Defender Antivirus exclusion, replace the risky broad ones with narrow entries, remove them where they were set, and stop local additions coming back.
ReadSecurity
Okta: Ex-ShinyHunters Vishing Crew Now Posts as INCEPTION, Using “Legal” Phishing Domains
Okta says a phone-phishing cluster once tied to ShinyHunters now publishes under a new leak site, INCEPTION. How the calls work, why passkeys stop the kit, and what to check.
ReadDiscover more
Ops Playbook
- PlaybookWhat Encryption Standard FileVault Uses and How to Prove Every Mac Meets It
- PlaybookKandji vs Jamf Pro for FileVault: How Each Escrows, Shows and Rotates Mac Recovery Keys
- PlaybookFileVault Personal Recovery Key Not Escrowed to Jamf Pro: Fix
- PlaybookReplacing Manual Compliance Work with a Verifiable FileVault Workflow
Lexicon Definitions
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.



Comments
Add a thoughtful note on Restart FileVault Macs Remotely Without Leaving Them Stuck at the Unlock Screen. Comments are checked for spam and held for moderation before appearing.