Michael said:
See HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles
Not all subkeys under the 9375CFF0413111d3B88A00104B2A6676 subkey are
only for account definitions. So exporting this 9375... key and then
importing it under a different instance of Windows could have other
ramifications, like affect your Personal Folders, Archive Folders, and
Outlook Address Book (a container pointing to contact-type folders that
have the option enabled to add them to this container), and signatures.
Instead export each subkey under 9375... that actually defines an e-mail
account. If the subkey's name (an 8-digit hexadecimal string) matches
on an existing one by that same name in your registry to which you are
importing, you'll overwrite it. However, since these hex key names are
not always contiguous, I suspect there is something else that equates or
indexes these keys to pointers or objects, so exporting and importing
them may not work. Instead you may need to extract them to then use
that info to redefine new accounts using Outlook's UI. Note the 2nd
bullet that mentions having to create a new profile after the import at
http://www.deciacco.com/blog/outlook/change-outlook-signature-programmatically.
Using export/import from the registry to backup your e-mail account data
will work on the same host where it was created and for that instance of
the install of Outlook on that host, but I'm not sure you won't screw
something up if you use it to migrate account data between hosts and/or
across different instances of Outlook installs.
The data there is in hexidecimal, so you'll need to double-click on a
data item (or right-click on it and select Modify) to view it to see the
text equivalent of those hex codes.
However, the password for the login credentials are hashed based on a
encryption key for that particular account on that particular host. The
OP won't be able to read them to find out what they were (so he/she can
enter them in the prompting connect dialog asking for the password). If
what the OP was really trying to get at were the login password for each
account, s/he won't find them in the registry in a condition readable by
him/her. If the OP has forgotten the password for his/her accounts,
he/she will have to go through whatever "Forgot Password" procedure is
offered at the e-mail provider's webmail site.
I did find an MVP that wrote some VB code to extract the account info
from the registry at:
http://vbnet.mvps.org/index.html?code/reg/regoutlookaccounts.htm
For all the work it takes trying to extract the account data from the
registry, it is far easier just to [delete the account and] define new
e-mail accounts in Outlook. How long does that take? Maybe a minute or
two apiece which is far shorter than delving into the registry,
exporting, importing, tweaking to make the import usable, or downloading
software or using pre-built code to compile your own to do the backup
and restores. Or you could buy something, like $30 for
http://www.backupoutlook.com/, if you are going to be doing this a lot.