Solved

How to import PST files to Exchange 2007

Posted on 2009-05-07
17
3,122 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Shared Mailbox 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 >> Sha…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

830 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