What ever happened to double clicking on an service pack and it just works? I have had a hell of a time installing this in my lab, and I thought I should share some of my issues and fixes with the world at large.
NB: These are from my Test Lab and not production. My test lab is running on a VMware ESX server (yeah, yeah I know, not supported!) For any fixes I have found, it is down to you if you want to apply them, don’t come crying to me if they mess something up!
First the easy ones:
- Got Forefront Security for Exchange Server. You need to upgrade it to Forefront Security for Exchange Server with Service Pack 1
http://go.microsoft.com/fwlink/?LinkId=68589 -
When you run Exchange Server 2007 Service Pack 1 (SP1) on Windows Server 2003 or earlier versions of the operating system, we recommend that you install Microsoft .NET Framework 2.0 Service Pack 1 (SP1). If you cannot install .NET Framework 2.0 SP1, install hotfix Microsoft Knowledge Base article 942027 from http://go.microsoft.com/fwlink/?linkid=101219.
Now the interesting ones:
1) setup /mode:upgrade
Welcome to Microsoft Exchange Server 2007 Unattended Setup
Preparing Exchange Setup
The following server roles will be upgraded
Hub Transport Role
Management Tools
Setup previously failed while performing the action “Install”. You cannot resume setup by performing the action “BuildToBuildUpgrade”.
Exchange Server setup encountered an error.
Fixed by Delete the following registry key
HKEY_LOCAL_MACHINESOFTWAREMicrosoftExchangev8.0HubTransportRoleWatermark
and Change the following registry key from Install to BuildToBuildUpgrade
HKEY_LOCAL_MACHINESOFTWAREMicrosoftExchangev8.0HubTransportRoleAction
See this for a bit more detail: http://msexchangeteam.com/archive/2007/05/21/439529.aspx
2) setup /mode:upgrade
Welcome to Microsoft Exchange Server 2007 Unattended Setup
Preparing Exchange Setup
The following server roles will be upgraded
Hub Transport Role
Management Tools
Performing Microsoft Exchange Server Prerequisite Check
Organization Checks ……………………. FAILED
The Active Directory Schema must be modified and this user account has insu
fficient permissions. It must be a member of both the ‘Schema Admins’ and ‘Enter
prise Admins’ groups.
Hub Transport Role Checks ……………………. COMPLETED
The Exchange Server Setup operation did not complete. For more information, visit http://support.microsoft.com/ and enter the Error ID.
Exchange Server setup encountered an error.
Logon with an account that can extend the schema and re run setup
3) setup /mode:upgrade
Welcome to Microsoft Exchange Server 2007 Unattended Setup
Preparing Exchange Setup
The following server roles will be upgraded
Mailbox Role
Management Tools
Performing Microsoft Exchange Server Prerequisite Check
Mailbox Role Checks ……………………. FAILED
Setup cannot continue with the upgrade because the ‘svchost’ () process (ID
: 628) has open files. Close the process and restart Setup.
The Exchange Server Setup operation did not complete. For more information, visi
t http://support.microsoft.com/ and enter the Error ID.
Exchange Server setup encountered an error.
Some services might have open files and setup will let you know the process and PID. To find the process run tasklist | find “” and kill the process.
tasklist | find “628”
svchost.exe 628 Console 0 8,360 K
taskkill /PID 628 /f
SUCCESS: The process with PID 628 has been terminated.
Re Run setup
4) setup /mode:upgrade
Welcome to Microsoft Exchange Server 2007 Unattended Setup
Preparing Exchange Setup
The following server roles will be upgraded
Hub Transport Role
Management Tools
Performing Microsoft Exchange Server Prerequisite Check
Hub Transport Role Checks ……………………. COMPLETED
Configuring Microsoft Exchange Server
Hub Transport Server Role ……………………. FAILED
Opening package ‘C:Program FilesMicrosoftExchange ServerTransportRoles
agentsHygieneASDat.MSI’ failed. Another version of this product is already ins
talled. Installation of this version cannot continue. To configure or remove t
he existing version of this product, use Add/Remove Programs on the Control Pane
l. Error code is 1638.
The Exchange Server Setup operation did not complete. For more information, visi
t http://support.microsoft.com/ and enter the Error ID.
Exchange Server setup encountered an error.
Not worked this one out yet! I have a support case open with Microsoft. Will let you know what the deal is when I find out