How to: unattend Exchange 2007 installation on Server 2008

In this post we are going to install Exchange 2007 SP1 unattend with the command prompt including the installation of Rollup 5.

First i’ve installed an virtual Windows 2008 x64 server. The nex step is to install all the prerequisites. So as I posted a few weeks ago, this can be done with two simple batch file.

       

       

You can install Exchange 2007 SP1 with the following commands, it saves you a lot of time!

“C:\TMP\Microsoft Exchange Server 2007 incl. Service Pack 1 x64\setup.com” /mode:install /roles:HT,CA,MB,MT /organizationname:E2K7
/targetdir:E:\Exchsvr /EnableErrorReporting /EnableLegacyOutlook

Let’s see what all these commands are:

“C:\TMP\Microsoft Exchange Server 2007 incl. Service Pack 1 x64\setup.com”
This is the path to the installation files of Exchange 2007. Don’t forget the quotes(“”) when there’s a space in the path.

/mode:install
This will put the command in install mode.

/roles:HT,CA,MB,MT
This are the different roles that will be installed.
HT = Hub Transport
CA = Client Access
MB = Mailbox
MT = Management Tools

/organizationname:E2K7
This is the name of the Exchange 2007 Organization. Don’t forget the quotes(“”) when there’s a space in the name.

/targetdir:E:\Exchsvr
This is the location where you want to install Exchange 2007. It prefered a different partition then the Operating System (OS).

/EnableErrorReporting
This enables a higher logging level through the Exchange 2007 setup process, so it will be easier to trouble shoot.

/EnableLegacyOutlook
If you’ve Outlook 2000 of 2003 clients in your environment, then you need to enable the LegacyOutlook. When you’re only have Outlook 2007 clients, this option can be deleted from the command.