Wednesday, October 23, 2013

PST Capture Tool Setup and Use

Exchange PST Capture Use

There's a few things to do to get this to work properly.  Here's how mine is setup and I have no problems pulling PST files into Exchange 2010.

1. Windows 7 Professional on the domain.

2. Install .NET 4.5 framework.

3. Install Powershell 3.0.  It's part of the Windows Management Framework.  Download HERE.

4. Install Outlook 2010.  Make sure you use the 64-bit version.  Even if the PST file comes from a 32-bit machine.  This is because Exchange 2010 is 64-bit.

5. Run this command using Exchange Powershell  "New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "PSTImportUser"

**If you do not run the Powershell command you will get ERROR OPENING MAILBOX**

6. Install PST Capture.

Once these things are done you are ready to pull the PST files into Exchange using PST Capture.

I highly recommend you go into Settings and remove the check box  beside "Create a subfolder for each PST file".  This will put all mail into the proper folder structure as what is inside the PST.


Also make one more edit under Non-mail items. Check both boxes so it will get their calendar, contacts, etc.






That's pretty much it.  The rest inside PST Import is pretty easy to understand and you're on your way to importing files as needed into a new or existing Exchange server.

Good luck!

Friday, October 11, 2013

Repair Windows 7 ISO Burn

If you have a 3rd party app that breaks your option for Windows 7 to burn an ISO file this is how to fix it.

Create a file named ISO.reg on your desktop.  Copy the text below and paste into it.  From there just right click and select MERGE.  This will repair the Windows 7 registry so the OS can again burn ISO files.

This is all it takes to fix the problem.  Good luck.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.iso]
@="Windows.IsoFile"

[HKEY_CLASSES_ROOT\Windows.IsoFile]
@="Disc Image File"
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,69,00,73,00,6f,00,62,00,75,00,72,00,6e,00,2e,00,65,00,78,00,65,\
  00,2c,00,2d,00,33,00,35,00,30,00,00,00

[HKEY_CLASSES_ROOT\Windows.IsoFile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,73,00,\
  6f,00,62,00,75,00,72,00,6e,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,31,00,30,\
  00,31,00,00,00

[HKEY_CLASSES_ROOT\Windows.IsoFile\shell]

[HKEY_CLASSES_ROOT\Windows.IsoFile\shell\burn]
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
  6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,69,00,73,00,6f,00,62,00,75,00,72,00,6e,00,2e,00,65,00,78,00,65,00,2c,00,\
  2d,00,33,00,35,00,31,00,00,00

[HKEY_CLASSES_ROOT\Windows.IsoFile\shell\burn\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,73,00,\
  6f,00,62,00,75,00,72,00,6e,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
  00,22,00,00,00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.iso\UserChoice]

Tuesday, October 08, 2013

Export Emails within a Date Range from Exchange 2010

Today I had to do this to assist with an email audit for a government agency.  Below are the steps you need to follow to make this happen.  The TechNet article leaves out a very important step that I have included for you below.


1. Open up the Exchange Management Shell and enter the following command:  New-ManagementRoleAssignment –Role “Mailbox Import Export” –User "DOMAIN\USERACCOUNT"

**NOTE:  Now close the EMS and reopen it.  You have to do this because the roles for the user logged in are loaded when the EMS is started.

2. Use this command to export your email date range and the location where you want to save it: New-MailboxExportRequest -Mailbox "SAMPLE USER" -ContentFilter {(Received -lt '01/01/2012') -and (Received -gt '03/31/2012')}  -FilePath "\\SERVER\EXPORTS\SAMPLE_USER.pst"

Depending on the size of the user's email you may get a file rather quickly or you may get a message from the EMC that the job is queued and will be filled when it is completed the search and export process.

What lead me here was the error "The Term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet, function, script file, or operable program".

The steps above will avoid this error and get you exactly what you need from the email box.

If you just want to dump the entire mailbox use this:  New-MailboxExportRequest -Mailbox "SAMPLE USER" -FilePath "\\SERVER\EXPORTS\SAMPLE_USER.pst"