Which registry keys store email account settings?



I had to restore an image backup of a computer that had a trojan
infestation, after backing up the current drive, and when I restored
the Outlook directories under Local Settings\Applications the email
settings. calendar and Exchange settings etc where not present,
although the email folders with the messages was still present. (The
email files were hosted on the local drive).

I suspect they were lost because they were stored in the registry.
Which registry keys contain these settings?

I suspect I should be able to load the old settings from the
system.dat files in the backup in order to check.


Michael Bauer [MVP - Outlook]

See HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles

Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>

Am Fri, 8 May 2009 08:09:42 -0700 (PDT) schrieb vfclists:


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
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:


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.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question