Home > Questions

How To Fix Encrypted APFS Drive Password Change Failure On Mac?

I converted an GUID encrypted external HD to APFS, then attempted to change password. The password change reported an error. Now neither the old password nor the new one will unlock the disk. I would really like to keep the data on the disk. Do I have any option to do so?

Best Answered by

iBoysoft author Vain Rowe

Vain Rowe

Answered on Friday, June 14, 2024

You should type in the right password to decrypt your drive first then you can retrieve the data stored in it. Given that both the new password and the old one fail to open your drive, I guess that a new password set might make sense here.

You ought to list your disks to find the APFS volume disk that you want to change the password. Type in the following command line in Terminal:

sudo diskutil apfs list

Find the UUID of the cryptographic Disk User:

sudo diskutil apfs listUsers <your APFS volume>

Your APFS volume should be like disk1S1 or so.

You can change the APFS volume password then:

sudo diskutil apfs changePassphrase <your APFS volume> -user <the Disk User cryptographic UUID>

The Disk User cryptographic UUID should be like this: 12345678-1234-1234-1234567890AB


People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

How to Run iOS Apps on macOS

How to Run iOS Apps on Mac?

A mac trick to tell how to run iOS apps on macOS Ventura, Monterey, Big Sur, Catalina and earlier version on M1 Macs or Intel Macs.

News Tips

Everything About Photoshop Document File

Everything About Photoshop Document File (PSD File)

If you want to know more about PSD files, this post is for you. It describes what is PSD file and how to open a PSD file on Windows and Mac.

Wiki Tips

macOS disable screenshot preview

Mac でスクリーンショットプレビューを無効にする方法は?