Solved

export mailbox in Exchange 2007 from 32 bit client

Posted on 2010-08-17
17
709 Views
Last Modified: 2012-05-10
Hi,

I need to export some exchange 2007 Sp1 mailboxes to pst files from a foreign domain.   Since i cant do it from the server via Remote Desktop Connection,  i need to install this on my computer that runs 32 bit Windows Vista.

My question is this..
My laptop is on domain1.com
The exchange 2007 server i need to export the mailbox from  is at domain2.com
I am connected over there via VPN


Is it possible to achieve such manipulation or I absolutely need to export from a pc thats conencted to their local domain?
Regards
0
Comment
Question by:maxalarie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
  • 4
17 Comments
 
LVL 4

Expert Comment

by:Jamie_Wilson
ID: 33458019
you can make that work.

just connect your outlook to the exchange server on the other domain, it will ask you for credentials when querying the other domain, then again when you access the mailbox and export via outlook.

however it might be a better idea to run the export on a pc on the same domain / network as it will run much quicker,

Jamie
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33458096
Will i be able to export all malboxes using the management pack?
0
 
LVL 4

Expert Comment

by:Jamie_Wilson
ID: 33458293
I dont see why not.

but if you are doing a few, why can you not connect to the exchange server to do it?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 2

Author Comment

by:maxalarie
ID: 33458382
Because for some unknown reasons,  You cannot export mailboxes to PST file when running locally on a 64 bit machine. Yu can only do  it via remote..
0
 
LVL 4

Expert Comment

by:Jamie_Wilson
ID: 33458478
You can install outlook 2007 (or 2010) and run;

Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst

taken from http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33458499
Yes, I am aware, but this command.. Will it work on a PC thats not on the same domain?

Exchange 2007 is on another domain. Im connectedthere via VPN
0
 
LVL 4

Expert Comment

by:Jamie_Wilson
ID: 33458527
run it on the exchange server once outlook is installed?
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33458663
I cant. I get an error saying i need to be connected to a 32 bit Client.
0
 
LVL 4

Expert Comment

by:mukulag
ID: 33463222
@Jamie: You cannot run the Export-Mailbox command to export mailbox to a PST from the exchange server itself.
@maxalarie: You can run the same command as long as you have exchange shell installed on the machine that you are using.
Just use the commands below:
$Domain2Credential = get-credential
 This will prompt you to put in user name and password. Put the domain 2 credentials that has FULL MAILBOX access to the mailbox that you want to export.
Then issue the command mentioned below:
 
Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst -service -domaincontroller <DOMAIN2 DC FQDN> -credential $Domain2Credential
 
0
 
LVL 4

Expert Comment

by:mukulag
ID: 33463226
Correction to the above command:
 
 

Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst -domaincontroller <DOMAIN2 DC FQDN> -credential $Domain2Credential

0
 
LVL 2

Author Comment

by:maxalarie
ID: 33464916
If my  DC is called  domain.local what is the FQDN?
0
 
LVL 4

Expert Comment

by:mukulag
ID: 33465416
servername.domain.local
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33465448
i ahve run The following command:

Export-Mailbox -Identity joe@example.com –PSTFolderPath C:\Temp\joe.pst


But i got this error:

Export-Mailbox : Error was found for Maxime (user@example.com) because: Error
occurred in the step: Moving messages. Failed to copy messages to the destinati
on mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:15
+ export-mailbox  <<<< -identity user@iexample.com -PSTFolderPath C:\PST

Any help is apreciated
0
 
LVL 4

Accepted Solution

by:
mukulag earned 500 total points
ID: 33466268
Only the above command will not work. See: http://technet.microsoft.com/en-us/library/dd285510(EXCHG.80).aspx
 
You need to set the credentials first using below:

$Domain2Credential = get-credential

This will prompt you to put in user name and password. Put the domain 2 credentials that has FULL MAILBOX access to the mailbox that you want to export.

Then issue the command mentioned below:

Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst -service -domaincontroller <DOMAIN2 DC FQDN> -credential $Domain2Credential
 
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33466365


If I am logged as the Domain Administrator on my machine should i have all permissions by default?
0
 
LVL 4

Expert Comment

by:mukulag
ID: 33466377
No. Domain Admin will not work, It has Deny permissions rather. You WILL need to have an account that has Full mailbox access to the target mailbox(es)
0
 
LVL 2

Author Comment

by:maxalarie
ID: 33466386
Ok, so can i just add Administrator to the Exchange Admin groups in AD?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

635 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