-
Decrypt a volume formatted as APFS on macOS Mojave 10.14 and higher.
-
Show the disk volumes on the macOS.
diskutil apfs list
The volume to recover is the OS Volume. It has a name similar to disk2s1.
-
Unlock the volume.
diskutil apfs unlockVolume <Disk Name> -passphrase <Personal Recovery Key>
-
Get the list of apfs cryptousers.
diskutil apfs listcryptousers <Disk Name>
For example:
diskutil apfs listcryptousers disk2s1
For a local user, select the UUID of the user that has:
Type: Local Open Directory User
-
Decrypt the volume.
diskutil apfs decryptVolume <diskname> -user <user UUID>
-
Enter the password of the local user.
-
Monitor the progress of the decryption.
-
Decrypt a volume formatted as CoreStorage on macOS 10.12 or higher.
-
Unlock the volume.
diskutil cs unlockVolume <Logical Volume UUID> -passphrase <Personal Recovery Key>
-
Allow access when prompted in the user interface.
Enter the keychain password.
The volume is now unlocked.
-
Start the decryption.
diskutil cs decryptVolume <Logical Volume UUID>
-
Enter the password for the local user when prompted.
-
Monitor progress of the decryption.
The user can now reboot the macOS normally. They do not see the FileVault pre-boot screen.