Exchange 2007: Management Shell cannot read the installed file version
Running a cmdlet in the Exchange Management Shell failed because it could not read the installed file version. This was the error I received:
[PS] C:\Documents and Settings\admin>Export-Mailbox -identity user1 -PSTFolderPath c:\user1.pst
WARNING: An unexpected error has occurred and debug information is being generated: Unable to determine the installed file version
from the registry key 'Software\Microsoft\Exchange\Setup'.
Export-Mailbox : Unable to determine the installed file version from the registry key 'Software\Microsoft\Exchange\Setup'.
At line:1 char:15
+ Export-Mailbox <<<< -identity user1 -PSTFolderPath c:\user1.pst
+ CategoryInfo : NotSpecified: (:) [Export-Mailbox], TaskException
+ FullyQualifiedErrorId : Microsoft.Exchange.Configuration.Tasks.TaskException,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox
Restore the missing Setup registry key
The error suggested that something was missing from the Windows Registry. In Registry Editor, I browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange and found that the Setup key was missing.
My management tools were installed on a separate server from Exchange 2007. I checked the same registry path on the Exchange server, where the Setup key was present, then right-clicked the key and exported the branch.
I returned to the server with the Exchange 2007 management tools and imported the .reg file.
Importing the .reg file solved this problem. I then encountered another issue with the Export-Mailbox cmdlet.
1 comment
Comments from the original WordPress site, kept read-only.
Hi, thanks for the Exchange 2007 tips.