Importing and Exporting Mail and User Accounts in Outlook 2007
Productivity, Tips Tagged office, outlook, outlook 2007, password recovery October 14th, 2008Outlook 2007 did away with the export account information that was present in earlier editions. So, if a user with one account moves machines, it's often faster to just recreate the account on the new machine. However, if a user has 8 accounts (like one did today) it's time to find a better way.
That better way is hidden the registry.
On The Old Machine
Outlook 2007 is nice enough to put all of its account info for each profile under one key.
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\
So, first off, close Outlook if it's running.
To export your Outlook account information, we just need to export that magic key.
- Open Registry Editor.
- Select the key that you want to save as a file.
- On the File menu, click Export.
- In the Export Registry File dialog box, in Save in, click the drive, folder, or network computer and folder where you want to save the hive.
- In File name, enter a name for the key. (outlook_profile.reg would work great.)
- In Save as type, make sure it's set as Registration Files (*.reg)
- Click Save.
Caveats: Every profile on your system under your logon will be exported.
To move your old mail, you'll need to copy your PST file to the new machine.
- Click Start, Run
- Type %userprofile%\local settings\application data\microsoft\outlook
- Click OK
- In that folder there will be some *.pst files. Copy (don't move!) them to a removable drive or a network share. The one you're most likely concerned with is outlook.pst
On The New Machine
First, we need to import the profile information.
- Double-click the file (outlook_profiles.reg) you exported on the old machine. That will import the new information into the registry. (Simple!)
Next, we need to get your data file back over.
- Click Start, Run
- Type %userprofile%\local settings\application data\microsoft\outlook
- Click OK
- Copy (don't move!) the *.pst files you found on the old machine. The one you're most likely concerned with is outlook.pst
Lastly, we need to set Outlook to use the profile from the old machine.
- Open Control Panel.
- Open the Mail applet.
- Click on the Show Profiles button.
- Choose the profile name that matches the one you used to use from the "Always use this profile" dropdown.
- Click OK.
Now, when you open Outlook, you should have your old mail and the mail accounts all set up and ready to go.
Passwords
Outlook on the new machine mightwill ask you for passwords the first time it does a send/receive on all non-Exchange accounts.
If you know the passwords, awesome. If not, you'll need to find them out, and we go back to the old machine to do so.
What we need to do is peer behind the dots that Microsoft uses in their password boxes. To do so, we need a piece of freeware that will do that for us.
Passware offers a utility, Asterisk Key, which will do the job.
- Download, install and run the tool on the old machine using this link.
- Open Notepad.
- Open Outlook 2007.
- Click Tools, Account Settings.
- Double-click the account you don't know the password to.
- Go into Asterisk Key and click the RECOVER icon on the toolbar.
- The tool will reveal your password for that account. Click the COPY LINK next to the revealed password.
- PASTE the password into your notepad document.
- Repeat Steps 5-8 as necessary.
- Save the Notepad document so you can move it to the new machine.
- At the new machine, paste the passwords from the Notepad document into Outlook.
That oughta do it.


January 12th, 2009 at 1:30 pm
Thanks, by the way, full key doesn’t show up on this template, only via source
January 14th, 2009 at 11:33 am
D’oh! All fixed.
February 11th, 2009 at 8:10 pm
thanks!
February 11th, 2009 at 10:30 pm
You’re welcome! I actually had occasion to use this again yesterday, and was glad I wrote the procedure down somewhere!
February 27th, 2009 at 7:52 am
Great post Jeff! The only problem I faced on WinVista with Outlook 2007 was that I had to type the passwords of all 16 accounts I had created.
Thank you!
February 27th, 2009 at 10:15 am
Dimitris,
I’m finding that the phrase “Outlook on the new machine might ask you for passwords…” is wishful thinking. In the times I’ve used this, I don’t think it’s ever NOT asked me for the password — except in times when we’re only importing Exchange mailboxes. POP3 and IMAP passwords don’t seem to be stored in with the profile info.
August 10th, 2009 at 2:15 am
Your article was of great help. I was able to retrieve the account PW, which I thught was lost forever. What a relief! Phew!!
November 16th, 2009 at 1:28 am
Is it possible to import the folders from Windows Live Mail into Outlook 2007.
Ken
January 24th, 2010 at 11:03 am
Thanks, this saved me a lot of time!
March 29th, 2010 at 2:34 am
@ Mangoes98 : I know this is a bit late , but for anyone else with Mangoes problem . Think reverse . Open Windows Live Mail , Then click on file then export then Messages.
Export as MICROSOFT EXCHANGE ( <– Dumb I know but it works ) . It will then ask you what folders you want to export . I just select all but whatever ones you want to send to outlook . Then it sends them in the folders that they are in .DONE !
April 26th, 2010 at 5:32 am
This is the ONLY information I found that works after an hour of trawling and trying several things to move many accounts from 2007 to 2007. Thank you!
May 20th, 2010 at 3:58 pm
Thanks a lot! It does work like a charm, and I’d spent an hour trying to get my head around this before. Bookmarked =)
June 6th, 2010 at 10:46 am
Hi, I have a question about profiles in Outlook 2007. In my default profile I have 6 mail accounts. I want to create a new profile and move 3 of the accounts to the new profile. How can I do it in a simple way? (The manually way of re creating them in the new profile is part of the age stone…)
June 6th, 2010 at 11:06 am
Basically, you want to copy the keys from the one profile to the other.
To do it using REGEDIT, I would create my new profile in Outlook and then go into REGEDIT and look at the PROFILE key — you should see one with a bunch of folders under it (the old profile) and one with not many (if any) folders under it.
Dump the old key as outlined in the article, but make note of the key of the NEW folder, and do a search/replace in the .reg file to replace the old ProfileID with the new one. Reimport, and all those folders should then show up under the new profile as well. Delete the accounts under the new profile you don’t need, and be on your way…
July 2nd, 2010 at 3:53 am
Hi
I was directed to this site after doing a Google search for a way to backup and restore Outlook 2007 account settings from a (friend’s) faulty PC to a new one.
The problem is that if the old PC is not even starting up properly (I am using a Vista Startup Disk to access the files on the HDD), how am I going to get into the registry??!
Personally I use Mozilla Thunderbird as my email client (and it support IMAP emails unless Outlook which “does” – but has multiple issues and error ‘warnings’ when working with an IMAP server; trying to get one to move to a MS Exchange server instead, methinks.
To move Thunderbird emails and settings to a new PC, simply copy the the Thunderbird Profile folder from the old PC and place it in the Profile folder created after starting up Thunderbird for the first time and closing it. All account settings and mail are instantly available on restart after the copy. How easy is that!
I am a fairly technical Windows user but this registry stuff is not clear cut; imagine an average user trying to work out what to do with the Windows Registry just to get their Outlook working on their new PC!!! Microsoft sux. Big time!! But we all know that, right?
July 2nd, 2010 at 5:42 am
Hello Jeff
I am so happy that you worked this out and posted it here, I just so needed it, it’s a quick, clean and easy way to backup and restore your email accounts. Bravo!!
Thanks a mil
Massi….
July 14th, 2010 at 3:43 pm
If you can’t get the PC to boot, you’re pretty much screwed — recovery becomes much more difficult.
If you have access to Microsoft DaRT (Disaster and Recovery Toolset) you can try to boot into that and edit a registry there. There’s also some tools available via the Ultimate Boot CD for Windows that might help when working with non-booting systems.
Lastly, you can always yank the drive and put it into an external enclosure and load the registry hive with regedit in the new OS.
August 20th, 2010 at 10:56 am
Thanks! This worked wonders! Just what I needed!