I forgot my password for iPhone backup. How can I recover the password so I can turn off the backups?
Recently I published a tutorial like guideline to recover the iTunes backup password on windows. That password is safeguarded by the iPhone. So iTunes gets the encryption setting info from the phone, not from windows. There are many brute force tools out there. They did not work for me given the length of my passwords in general.
The guideline worked for me. Looking at the recovered PW, I am convinced that I did set that password myself and it was not some kind of auto-set by IOS, as some suggest in this 30 page long post Lost Password to iPhone Backup
Roughly the recovery is possible by the taking the following steps (tried on IOS 9.02). But there are many detailed steps to take or the recovery will fail and you will loose your current content on the phone.
As soon as jailbreaking is possible with an enabled PC-backup encryption option, many detailed steps of the lengthy procedure are not needed any more. But the safeguarding of your PC backup is still applicable as is the keychain dumper part.
- Set your iPhone & iTunes so backups include passwords: set IOS/iCloud pass codes (passwords) and set never auto-lock
- Backup your iPhone on both iCloud and on your PC. Save your PC backup files manually. iCloud backup will be used for the recovery, PC backup to restore the iPhone to 'as it was'
- Clean install IOS and jailbreak your iPhone, otherwise you cannot execute next steps
- Restore your original iPhone content from iCloud, but prepare it through Cydia. The iPhone will remain jailbreaked. An unprepared restore through IOS reset cannot be used.
- Install SSH, terminal and keychain dumper on the iPhone
- Your phone is now open for hackers, protect it: change the passwords for the existing root and user (user=mobile) accounts
- Run keychain dumper on the phone through PC terminal and copy the decoded keychain in clear text to your PC
- Restore the phone if wished: DFU mode and restore from PC through iTunes using the manually saved PC backup copy
The detailed steps are at https://www.reddit.com/r/jailbreak/comments/3pdg34/tutorial_how_to_recover_a_lost_itunes_backup/
If you're using a Mac, it may be saved in Keychain.
Per Apple's support article:
- Open iTunes Preferences and select the Devices tab. Note the time of the device’s backup.
- Right-click the desired backup and choose "Show in Finder".
- Finder should now be open, showing the backup selected. Click the Edit menu and choose Copy.
- Open Keychain Access from /Applications/Utilities/.
- Paste the backup folder's name into the search box in the top-right corner of Keychain Access.
- If there is a password for the backup, you should see it in Keychain Access.
- Double-click the backup in Keychain Access.
- Click the button “Show password”.
- You may be asked to enter your login keychain password. After doing so, click Allow. You should see your backup password.
- Use this password to restore from your backup.
If it's not in Keychain, and you are the administrator of the device (meaning it was set up for by your workplace or other administrator) the support article indicates the password is not recoverable.