Exchange Server TechCenter > Exchange Server Forums > Admin > export-mailbox crashes powershell
Ask a questionAsk a question
 

Answerexport-mailbox crashes powershell

  • Friday, October 03, 2008 2:29 PMTodd Felmly7164465 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We are running Exchange 2007 SP1. I wanted to export a mailbox to a pst today so I used the export-mailbox command in Exchange Powershell on my PC which is running Vista Ultimate (32 Bit).

    When I execute the command powershell immediately crashes.

    Doing the same command on an XP machine works.

    Has anyone run into issues with Vista and that cmd in powershell?

    Todd

Answers

  • Friday, October 03, 2008 3:53 PMAmit TankMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Todd,

     

    Give full permission on below registry to the user account explicity which you are using while moving mailbox, reboot the machine and check.

    HKEY_LOCAL_MACHINE\ Software\Microsoft\Exchange\Exchange Migration

     

    If that doesn’t work then you may need to run a RegMon trace while simulating the export-mailbox powershell crash and check for any error in the trace report.

All Replies

  • Friday, October 03, 2008 3:53 PMAmit TankMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Todd,

     

    Give full permission on below registry to the user account explicity which you are using while moving mailbox, reboot the machine and check.

    HKEY_LOCAL_MACHINE\ Software\Microsoft\Exchange\Exchange Migration

     

    If that doesn’t work then you may need to run a RegMon trace while simulating the export-mailbox powershell crash and check for any error in the trace report.

  • Friday, October 03, 2008 4:48 PMTodd Felmly Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    I didn't have the "Exchange Migration" key so I created it. That seems to have worked.

     

    Thanks!

  • Friday, October 03, 2008 4:51 PMAmit TankMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Great... Thanks for the feedback...