This script automates the extraction of icloud passwords on windows into a passwords.csv
file, using Autohotkey to go through the entries, copy them to the clipboard with keyboard shortcuts, and write them to file.
Usage:
- Download and install icloud from the windows store. Do not open it yet.
- Once installed, run it as administrator for the first time, until you are signed in. (This fixes a bug where icloud says it is still initialising, every time you try to log in).
- Close icloud, then run it as a regular user. Open the keychain/passwords section in a new window.
- Download and install Autohotkey v1
- Download
extract.ahk
and run it with autohotkey - Focus the icloud password window, at the first item.
- Press ctrl+shift+c
- The script will copy the url, username and password from each entry
- When the script gets to the last entry, kill the script in the taskbar
- Extracted passwords are in
passwords.csv
in the same folder as the script. The last entry may have multiple lines, so remove the excess.
This script is released as-is under the MIT licence. I cannot provide extra advice or support for this, it might not work by the time you try it. I wrote it as a once-off for a friend, and upload it in the hopes it might be useful, since there are no other solutions to this available online.