Backing up and restoring connections using the Tools> Configuration> Backup Connections and Tools> Configuration> Restore Connections menu is the easiest way, but it does not copy passwords.
Password recovery is possible in the following case:
- The old PC should be a Windows installation.
- You can log in using the Windows account that originally saved the passwords in Workbench, i.e. without administrator password Windows reset from administrator.
If the above requirements are met, you can log into the old computer and run the decryption tool found at http://www.donationcoder.com/forum/index.php?topic=41860.msg391762#msg391762
C ++ code for decryption is shown below (credits: f0dder)
std::vector<unsigned char> decrypt(BYTE *input, size_t length) { DATA_BLOB inblob { length, input }; DATA_BLOB outblob; if (!CryptUnprotectData(&inblob, NULL, NULL, NULL, NULL, CRYPTPROTECT_UI_FORBIDDEN, &outblob)) { throw std::runtime_error("Couldn't decrypt"); } std::vector<unsigned char> output(length); memcpy(&output[0], outblob.pbData, outblob.cbData); return output; }
nkatsar Oct 31 '17 at 15:20 2017-10-31 15:20
source share