You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unlocking a password protected dmg - without the password

I created a disk image with a password to hold private files. The password was a long alpha numeric with symbols as well. I left a hint in the comments section of the file info. I didn't frequently access the image. Eventually, as my MacBook aged, the disk space began to fill. I uploaded most of the files that weren't regularly accessed to my dropbox account. I've recently purchased a new MacBook and downloaded the dmg. The file info comments appear to have been scrubbed during the process of sending to dropbox and then downloading it once again. Is there a way to recover the lost comment with the hint? Is there a way to access the content of the disk image without the password? Time machine doesn't seem to be an option. The last time the disk image (I update the file name with date when accessed) was 2016 if that matters... Thanks for any help - I think I may be screwed.

MacBook Pro (2020 and later)

Posted on May 24, 2022 5:36 PM

Reply
Question marked as Top-ranking reply

Posted on May 24, 2022 8:22 PM

Hi CycleMan1979,


Unfortunately, the password protection cannot be bypassed. This is because the password is used as key to scramble (encrypt) all of the data inside the disk image. Without the password, the data can't be unscrambled (decrypted).


You could try checking whether you saved the password to your Mac:


  1. On each Mac, log in to your regular user account.
  2. Open Keychain Access, located in Applications -> Utilities.
  3. In Keychain Access, search both the Login and iCloud keychains for a disk image password. If it appears, right-click (or hold down Control as you click) on it, then select Get Info to reveal the password.


Best of luck in recovering the data.

Similar questions

1 reply
Question marked as Top-ranking reply

May 24, 2022 8:22 PM in response to CycleMan1979

Hi CycleMan1979,


Unfortunately, the password protection cannot be bypassed. This is because the password is used as key to scramble (encrypt) all of the data inside the disk image. Without the password, the data can't be unscrambled (decrypted).


You could try checking whether you saved the password to your Mac:


  1. On each Mac, log in to your regular user account.
  2. Open Keychain Access, located in Applications -> Utilities.
  3. In Keychain Access, search both the Login and iCloud keychains for a disk image password. If it appears, right-click (or hold down Control as you click) on it, then select Get Info to reveal the password.


Best of luck in recovering the data.

Unlocking a password protected dmg - without the password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.