Solved

export mailbox in Exchange 2007 from 32 bit client

Posted on 2010-08-17
17
701 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
  • 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
 
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create a Contact 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 >> Contact ta…
To show how to generate a certificate request 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 >> Certificates…

744 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

12 Experts available now in Live!

Get 1:1 Help Now