Connection failed: Too many connections (Error code: 1040)

How To Fix Encrypted APFS Drive Password Change Failure?

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 Tuesday, August 5, 2025

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 should be like disk1S1 or so.

You can change the APFS volume password then:

sudo diskutil apfs changePassphrase -user

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

 
Connection failed: Too many connections (Error code: 1040)

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts