Stay Connected
Posts tagged 2007
Exchange 2007: unexpected error with management shell
Feb 1st
I received the following error message when opening and running a cmdlet with my Exchange Management Shell:
[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
Just looking on the error message it seems that something was missing in the Windows Registry. I opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange. The Setup key was missing. Exchange 2007 management tools were installed to another server than Exchange Server was installed. I logged on the Exchange 2007 server, opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange key. The Setup folder was visible and I right-clicked on the Setup folder and exported the Setup branch.
I went back to my Exchange 2007 Management installed server and imported the reg file.
After importing the reg file my problem was solved and I had another challenge with Export-Mailbox cmdlet.
SSL certificate Windows Server 2008 and Exchange 2007 SP1
Aug 26th
Thanks to guys from Telnetport25 I was able to finish my SSL certificate migration for my new Windows Server 2008 virtual machine running a Exchange 2007 SP1 installation.
My work log:
- Logon on the old Windows Server 2003 hosting the OWA front-end role
- Start MMC and add the Certificate Snap-In; choose the Computer Account.
- Go to Personal/Certificates and locate the SSL certificate assigned to IIS for SSL encryption. Right click ; All Tasks and choose export. Choose the appropriate options like the certificate path; assign password and save the PFX file to "My Documents"
- Copy the PFX file to your Windows Server 2008 Client Access Server
- Logon on the Windows Server 2008 and add the Certificate Snap-In to a new MMC console for the Computer Account
- Go to Personal/Certificates; right click; All Tasks and choose Import.
- Locate the PFX file; enter the password and make sure you check "Mark this key as exportable" to enable future migrations of the SSL certificate.
- Place the certificate in the Personal Store
- Open the certificate and go to Details tab. Locate the Thumprint field and select Value with mouse; press CRTL-C to copy the data.

- Paste the value in Notepad and replace the "SPACE’ with CRTL-H. In the Find what field press space on the keyboard and click Replace All
- Copy the Thumbprint
- Start the Exchange Management Shell and run the Enable-ExchangeCertificate cmdlet
- Type IIS as Services and paste the copied data from Notepad to Thumbprint
- Start Exchange Management Console and go to Server Configuration / Client Access / Select the server and open owa from Outlook Web Access tab
- Type External URL of the SSL certificate and DNS. E.g. https://webmail.domain.tlk
- Click OK and you are finished to test the configuration.
- Start IE and test your OWA role. Review your NAT and Firewall rules also.
Related links:
Microsoft Office InfoPath 2007 form cache error
Jun 4th
For weeks my local Infopath 2007 installation failed to open forms located on SPS server. See warning below.

InfoPath cannot open the following file: http://sharepoint/ChangeMgmt/Forms/abc.xml InfoPath cannot open the form. To fix the problem, contact your system administrator.
Form template: http://sharepoint/ChangeMgmt/Forms/solution.xsn. There is an error in the form’s cache. To correct the error, open the form again.
This was my solution is solving the problem. Before you start clean the Internet Explorer Cache!
For Windows Vista
- Locate C:\Users\%Username%\AppData\Local\Microsoft\InfoPath\FormCache2 and delete complete folder. If this fails than rename the subfolders to something else like abc and try again. I got a warning and the action failed if I did not rename the folder.
- Run C:\Program Files\Microsoft Office\Office12>INFOPATH.EXE /cache clearall
For Windows 2000/XP
- Locate C:\Documents and Settings\%Username%\Local Settings\Application Data\Microsoft\InfoPath\FormCache2 and delete the folder.
- C:\Program Files\Microsoft Office\Office12>INFOPATH.EXE /cache clearall
After these steps my Infopath forms opened again

SCVMM console: Add new host / Error 421
May 14th
I tried to install Windows Server 2008 x64 on one of my Dell PowerEdge 2900 servers, because the storage driver was failing for x64 bit OS installations of Windows I was forced to install Windows Server 2003 R2 Enterprise x86. The server is up and running and I installed Virtual Server 2005R2 SP1 Enterprise. Through the SCVMM console I initiated the Add Host of this new Windows server. The job failed with message the server did have the WS-Management service installed.
I did not install the WS-Management service before and I found somewhere to install the Hardware Management option in Add/Remove Windows Components to get this working.
Than I retried to add the server as host in SCVMM but the installation stopped with the message below.
Error (421) Agent installation failed on ref-vmh-02 because of a WS-Management configuration error.
I reboot the server couple of times; reviewed the eventlog and nothing worked to get the Virtual Machine Manager 2007 agent installed. There is hotfix which you can use and install the WinRM component manually without control panel. Go here and download and install the fix http://go.microsoft.com/fwlink/?LinkId=84599. This fixed my problem and errors 10101 WinRM in the application eventlog.



