Table of Contents

Migrating a Chrome profile to another computer

Cookies and passwords are encrypted with DPAPI. Boo! This makes things difficult and annoying.

See https://sourceforge.net/p/keepass/wiki/Recover%20Windows%20User%20Account%20Credentials/ and https://old.reddit.com/r/vivaldibrowser/comments/65qrlb/importing_cookiespasswords_from_vivaldichrome/

The simple bit: copy the actual profile data

  1. Copy %LocalAppData%\Google\Chrome\User Data to the new computer
  2. Export HKEY_CURRENT_USER\Software\Google\Chrome\PreferenceMACs using regedit
  3. Delete this key on the new PC and run the file to apply it

You can stop here but only bookmarks and some other stuff will be transferred (untested)

The complicated bit: migrate DPAPI keys

  1. Enable “Show hidden files […]” and disable “Hide protected operating system files” in Windows Explorer if not already done
  2. Copy the SID folder from %AppData%\Microsoft\Protect\ to the new PC (folder called “S-1-5-21-[…]”)
  3. Download dpapi_migration.reg and edit <SID> and <username> to match the old PC account, then apply it.
  4. Run dpapimig.exe in cmd/powershell and enter old password if required.
  5. Done!

Now you should be able to delete the copied SID folder and open Chrome.