Solved

How to import PST files to Exchange 2007

Posted on 2009-05-07
17
3,109 Views
Last Modified: 2012-05-06
I am trying to import PST files that I have exported from Exchange 2003.
I have a vista32 bit client with exchange management tools and powershell installed.
I have ensured that the user account has exchange organisation level permissions and local administrator permissions.
When I run the following command:
Get-Mail -Database "mailbox database" | Import-Mailbox -PSTFolderPath z:\
(z:\ is mapped to the location of the pst files).
I get the following error:
The log file directory 'C:\Program files\Microsoft\Exchange Server\logging\Migration Logs' does not exist.
Has anyone else had this problem before and found the solution? I am mid-deployment and urgently need a response. I cannot find any sense on the net about it so I am assigning full points.
0
Comment
Question by:tdhfox21
  • 7
  • 4
  • 3
  • +3
17 Comments
 
LVL 1

Author Comment

by:tdhfox21
ID: 24332579
One other thing.... Im an aussie.... So I am generally sleeping while most of you are working and vice-versa... so give me a chance to reply :)
0
 
LVL 12

Accepted Solution

by:
Steven Wells earned 500 total points
ID: 24332831
How about just simply.

import-mailbox -identity username@yourdomain.local -PSTFolder path Z:\username.pst

Steven
Sydney
0
 
LVL 1

Author Comment

by:tdhfox21
ID: 24333041
To StevenWells99:

Will give it a shot and report back.
0
 
LVL 1

Author Comment

by:tdhfox21
ID: 24333108
To StevenWells99:

I gave it a go and got the same error. I don't think the syntax is the problem. I believe it is more likely a permissions or configuration issue with this log file.
0
 
LVL 12

Expert Comment

by:Steven Wells
ID: 24333153
I wonder, does that folder actually exist on your machine, if not, can you create it?

On my server i have this folder path:

C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs

0
 
LVL 1

Author Comment

by:tdhfox21
ID: 24333169
Comment. No it did not exist. And I did not initally have permissions to access the parent folders. I have since added my user account to the exchange organisation administrators group  - that gave me the permissions and added the folder.
A few extra points:
This is a brand new SBS 2008 deploy which is why I am wondering about config.
I have tried this both directly on the server (I know that is not the done thing - but I'm getting desperate), and on the 32bit workstation. Both locations give me exactly the same error.
0
 
LVL 3

Expert Comment

by:-alvin-
ID: 24333263
does the account you are using to import have full access to the target mailbox?  
0
 
LVL 1

Author Comment

by:tdhfox21
ID: 24333267
Alvin:

I believe so. I have made the account a member of the local administrators group and the exchange organisation administrors group.
0
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 3

Expert Comment

by:-alvin-
ID: 24333278
i'm assuming you have outlook 2003 or better installed on your vista machine too.
0
 
LVL 3

Expert Comment

by:-alvin-
ID: 24333287
being a member of the local admin grp and/or the exch org admin grp doesn't necessarily give you full access to the mailbox.  check to see if they do indeed have rights.  if not, add "full access" for that user on the target mailbox to test.
0
 
LVL 3

Expert Comment

by:-alvin-
ID: 24333293
0
 
LVL 12

Assisted Solution

by:Steven Wells
Steven Wells earned 500 total points
ID: 24333440
Ensure that the account you are using to run the exchange console tool is not a domain admin this will have a deny. However, that error is strange. I just tried to export/import a mailbox with an account that didn't have rights and got a MAPI error failure, not a folder error. .
Are you using the exchange tools from Exchange 2007 Sp1?
0
 
LVL 1

Author Comment

by:tdhfox21
ID: 24333579
Ahhh.... the account I am using IS a domain admins! That may be it. I will remove those permissions for the test and see how it goes. My day has run out now so it wont happen until Monday. Touch back with me then.
0
 
LVL 12

Expert Comment

by:GusGallows
ID: 24335053
Also, make sure your account is mail-enabled. To work with PST files, I think you have to use an account with a mailbox associated with it.
0
 

Expert Comment

by:ElnatanExpert
ID: 24406336
I had the same problem, but managed to get it working by right-clicking Exchange Management Shell, and selecting Run As Administrator on the Vista Machine.
Also make sure that the database name includes the servername ie. "myserver\mailbox database"
0
 
LVL 1

Author Closing Comment

by:tdhfox21
ID: 31579291
the key to this ws permissions... you need to ensure the account you use only is a member of the required security groups as other groups often have explicit denied permissions that stop the process working
0
 
LVL 4

Expert Comment

by:Stussyexpert
ID: 27293162
This is a uac problem!
Solution 1:  Run powershell as administrator
Solution 2: If you run powershell as an other user, give full permissions for this user to the key : HKEY_LOCAL_MACHINE\ Software\Microsoft\Exchange\Exchange Migration
0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now