Importing PST files in to Exchange 2010

AID: 2709
  • Status: Published

19592 points

  • Bydemazter
  • TypeTutorial
  • Posted on2010-03-22 at 09:03:59
Awards
  • Community Pick
  • Experts Exchange Approved
Importing PST’s in to Exchange 2010 is a lot easier than it was in 2007 due to the Role Based Access Control (RBAC) feature.

Before we can import PST’s to Exchange 2010 there are a few pre-requisites and they are:

  • You must have the x64 version of Microsoft Office Outlook 2010 installed on an Exchange Server that has the mailbox role installed.  This doesn’t have to be the mailbox server that all the mailboxes reside on.  NOTE: Prior to Exchange 2007 it was not supported to have any version of Outlook installed on an Exchange Server.  With Exchange 2007/2010 Outlook 2007 and above are supported.

  • You must configure a group/user with the Mailbox Import Export Management Role

  • The PST files you are importing (if doing a bulk import) must have the same name as the Exchange Alias for the user it will be imported to

  • The Mailboxes you are importing the PST’s in to must already exist


Download and install Outlook 2010

At the moment Microsoft Office 2010 is still in Beta release.  Its expected release date is June of 2010.  So you may be a bit jumpy (I know I was) about installing a Beta product on your production Exchange Server.  You don’t need to.  As long as the Exchange Server has the mailbox role on it, it doesn’t need to be the production server, it just needs to be part of the same Exchange Organisation.  So if you have Hyper-V or VMWare available just bring up an Exchange 2010 server purely for management tasks.  This is good practice anyway.

Download Office 2010 from here: http://www.microsoft.com/office/2010/en/default.aspx

The only product you need to install is Outlook 2010 so you can remove all the others if you wish by doing a custom installation.

Configure Mailbox Import Export Management Role

My recommendation would be to setup a group which you assign this role to and then add the users to this group.  If you will be creating a group then it must be a Universal Security Group.  Once you have your group then from an Exchange Management Shell run the following command:

New-ManagementRoleAssignment –Name “MailboxImportExport” –SecurityGroup “your_group_name" –Role “Mailbox Import Export”
                                    
1:

Select allOpen in new window



At this point I would add the user you will be using to import the PST files to the group you have just created.  Then close the Exchange Management Console/Shell and logoff and back on again.

Importing

There are a few ways you can import PST files, either one by one or in bulk.  I would recommend you try one first just to make sure everything is setup as it should be and if your happy then go for a bulk import.

The commands you need to use are exactly the same for Exchange 2010 as they are for Exchange 2007.

Bulk Import Command:

Get-Mailbox | Import-Mailbox –PSTFolderPath x:\Full_Path_To_PST_Files
                                    
1:

Select allOpen in new window



NOTE: The x:\Full_Path_To_PST_Files in both commands represents the actual location of the PST files

Single Import Command:

Import-Mailbox –Identity “Display_Name” – PSTFolderPath x:\Full_Path_To_PST_File.PST
                                    
1:

Select allOpen in new window



NOTE: The –Identity in the single import command can be the display name, the e-mail address or the Exchange Alias.  The actual PST filename needs to be specified when doing a single import.
Asked On
2010-03-22 at 09:03:59ID2709
Tags

import-mailbox

,

get-mailbox

,

exchange 2010 mailbox import

,

import pst

Topic

Exchange Email Server

Views
19976

Comments

Expert Comment

by: mwvisa1 on 2010-03-23 at 10:46:58ID: 11556

demazter,

Very nice article!
Definitely useful information, so thank you for taking the time to write it down.

You have a BIG "Yes" vote from me above.

Regards,
Kevin

Author Comment

by: demazter on 2010-03-23 at 10:49:10ID: 11557

Thanks Kevin :)

Expert Comment

by: emmet5150 on 2010-03-25 at 03:09:28ID: 11734

This article (last paragraph) states that exporting a mailbox via this method in 2010 will result in the loss of single instance storage???  Can anybody confirm that?

Author Comment

by: demazter on 2010-03-25 at 03:42:58ID: 11736

emmet5150,
As this is not related to the article I would recommend you open a question.  This way it will receive the exposure it needs from other experts.

Author Comment

by: demazter on 2010-03-25 at 04:12:35ID: 11737

emmet5150,

Single Instance Storage (SIS)in Exchange 2010 is no longer.  But yes in any version of Exchange that uses SIS when you export the data to PST for that particular persons mailbox SIS is no longer valid.  Otherwise you would not have a copy of the attachment in your mailbox?

Also if you export multiple mailboxes that have the same atatchment in them to PST files then they need to have their own copy of that atatchment, therefore when you import those PST's to another Exchange Server because the Exchange server didn't receive the e-mails it will not be aware that they were the same message and can therefore not implement SIS.

Also the statement at the end of that article that outlook cannot be installed on an Exchange server is incorrect.

Thanks
demazter

Expert Comment

by: alanhardisty on 2010-03-25 at 05:58:52ID: 11747

Please refer to this article which advises it breaks SIS (from Microsoft) but only covers up to Exchange 2003

http://support.microsoft.com/kb/175481

Expert Comment

by: alanhardisty on 2010-03-25 at 06:02:29ID: 11748

This site references SIS in Exchange 2010 and advises that the feature is no longer there:

http://www.slipstick.com/emo/2009/up090910.htm

Expert Comment

by: emmet5150 on 2010-03-25 at 09:15:34ID: 11768

Thanks for clearing that up.

Expert Comment

by: r1howell on 2010-11-03 at 12:35:03ID: 21078

I've followed this (I think) and when I try to import the pst, I get
StatusCode : -2147467259

any and all help would be greatly appreciated.

Expert Comment

by: KzooSteve on 2010-11-15 at 07:31:29ID: 21336

A note to others that might be looking to import PSTs into the Online Archive.

It looks like you have to upgrade to SP1 to be able to import PSTs into users Online Archives.

Expert Comment

by: dthomas13 on 2010-11-27 at 15:23:36ID: 21596

r1howell:
I've followed this (I think) and when I try to import the pst, I get
StatusCode : -2147467259

any and all help would be greatly appreciated.

Hey R1howell,

You have to run the command from the Windows Powershell and not the Exchange one.

Author Comment

by: demazter on 2010-11-27 at 23:54:56ID: 21601

You have to use the Exchange PowerShell.

My advice would be to open a question in the Exchange Zone where the experts can get some more information from you and assist you in resolving the problem.

Expert Comment

by: r1howell on 2010-11-29 at 12:28:49ID: 21646

Thanks for responses, but I had already migrated needed data manually.

Expert Comment

by: Ohmit on 2011-06-07 at 06:09:21ID: 28070

Hey guys thanks for spamming up my question :-)

Well Demazter  this doesnt work cause my Exchange Management shell does not look like yours and giving me a lot of errors when entering the commands!

Author Comment

by: demazter on 2011-06-07 at 11:15:28ID: 28089

Ohmit, have you asked a question in the exchange zone?

Expert Comment

by: Ohmit on 2011-06-07 at 13:38:36ID: 28090

Now this is embarazing :-)
Someone put a link to your article in my question which I followed without notice.
Im so sorry :-)

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Exchange Experts

  1. demazter

    724,144

    Sage

    1,580 points yesterday

    Profile
    Rank: Genius
  2. alanhardisty

    714,931

    Sage

    4,220 points yesterday

    Profile
    Rank: Genius
  3. jjmck

    275,745

    Guru

    1,030 points yesterday

    Profile
    Rank: Genius
  4. Rajkumar-MCITP

    268,093

    Guru

    0 points yesterday

    Profile
    Rank: Guru
  5. apache09

    245,757

    Guru

    1,500 points yesterday

    Profile
    Rank: Genius
  6. akicute555

    178,820

    Guru

    0 points yesterday

    Profile
    Rank: Wizard
  7. amitkulshrestha

    171,436

    Guru

    0 points yesterday

    Profile
    Rank: Genius
  8. acbrown2010

    159,135

    Guru

    1,000 points yesterday

    Profile
    Rank: Genius
  9. Akhater

    153,366

    Guru

    0 points yesterday

    Profile
    Rank: Genius
  10. Neilsr

    137,804

    Master

    0 points yesterday

    Profile
    Rank: Genius
  11. jordannet

    127,611

    Master

    10 points yesterday

    Profile
    Rank: Wizard
  12. GreatVargas

    101,542

    Master

    2,800 points yesterday

    Profile
    Rank: Wizard
  13. HendrikWiese

    95,084

    Master

    2,050 points yesterday

    Profile
    Rank: Sage
  14. limjianan

    94,700

    Master

    0 points yesterday

    Profile
    Rank: Genius
  15. endital1097

    93,710

    Master

    10 points yesterday

    Profile
    Rank: Genius
  16. Anuroopsundd

    92,000

    Master

    0 points yesterday

    Profile
    Rank: Sage
  17. davorin

    91,351

    Master

    0 points yesterday

    Profile
    Rank: Sage
  18. Radweld

    88,729

    Master

    0 points yesterday

    Profile
    Rank: Guru
  19. chakko

    88,498

    Master

    0 points yesterday

    Profile
    Rank: Genius
  20. R--R

    86,699

    Master

    0 points yesterday

    Profile
    Rank: Wizard
  21. e_aravind

    85,998

    Master

    0 points yesterday

    Profile
    Rank: Genius
  22. Exchange_Geek

    85,704

    Master

    0 points yesterday

    Profile
    Rank: Sage
  23. lucid8

    81,809

    Master

    0 points yesterday

    Profile
    Rank: Sage
  24. KalluSureshKumar

    76,534

    Master

    0 points yesterday

    Profile
    Rank: Master
  25. tigermatt

    73,020

    Master

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame