52 Chapter 2 • Installing Exchange Server 2007 Figure 2.18 Microsoft Exchange Server Analyzer Articles When the installation process has completed, we can click Finish to exit the Exchange 2007 Installation Wizard. Note that you can launch the Exchange Management Console automatically after clicking Finish, so you can immediately begin fi nalizing your installation (see Figure 2.19). the Retry button after the component has been installed. In most cases this will work, but with some components, such as the World Wide Web Service (W3SVC), it is required that you exit the Setup Wizard and run it again from the beginning. Installing Exchange Server 2007 • Chapter 2 53 Figure 2.19 Exchange Server 2007 Setup Completed Installing Exchange 2007 Using Unattended Setup Now that we have been through a typical installation of Exchange Server 2007 using the Setup Wizard, let’s take a look at how you do a typical installation of Exchange Server 2007 using an unattended setup. This is done via the command prompt, and as in the case when doing a GUI installation, you need to insert the Exchange Server 2007 media in the DVD drive on the server, or map to a share containing the necessary Exchange Server 2007 binaries. Navigate to the DVD or 54 Chapter 2 • Installing Exchange Server 2007 Figure 2.20 Running Setup in Unattended Mode NOTE If you have any legacy Outlook clients (Outlook 2003 and earlier versions) in your environment, you should also add /EnableLegacyOutlook to the command. /EnableLegacyOutlook makes sure that a Public Folder database is created on the Exchange 2007 server, which is necessary for the sharing of Free/Busy calendar information using the legacy Outlook client. mapped drive by typing CD <letter of DVD drive>:. You can install Exchange Server 2007 in unattended mode using Setup.exe. Setup.exe supports many different parameters and switches, so to whet your appetite, we recommend you type Setup.exe /? to list all available parameters and switches, providing a short description of each. Because we are going to do a basic installation into an Active Directory forest that does not contain any existing Exchange organization, we need to use the following command: Setup.exe /mode:Install /roles:HT,CA,MB,MT /on:EHLO First the command tells Setup.exe that we want to install one or more server roles with the /mode:Install parameter. We then specify the roles we want to install using the /roles:<roles> parameter. Finally, we specify the name of the new Exchange organization with the /on:<Exchange organization> parameter (see Figure 2.20). Installing Exchange Server 2007 • Chapter 2 55 As with the Setup Wizard, Exchange 2007 unattended setup will do a set of prerequisite checks. If these are successful, setup will continue, copying the necessary Exchange fi les and fi nally installing the specifi ed Exchange 2007 server roles. Verifying the Installation of Exchange Server 2007 After Exchange Server 2007 has been installed, we recommend that you verify that the installation completed without any serious warnings or errors. If you didn’t encounter any errors during installation, there’s a good chance everything is in perfect shape, but you won’t know for sure until you have checked the Windows event logs and the Exchange 2007 setup logs as well as doing a visual verifi cation that each selected role has been installed. Start by examining both the application logs and the system logs for any warnings or errors related to the Exchange Server 2007 setup. If any are found, you can trace the problem using the provided information in the event URL, TechNet, or the troubleshooting section of the Exchange setup guide. If everything looks good, move on and verify that no errors have been logged in the ExchangeSetup.log and ExchangeSetup. msilog, both located in the ExchangeSetupLogs folder located in the root of the system drive (typically C:). In addition, you should check that all the respective Exchange 2007 services have been confi gured to start automatically and are indeed started (see Figure 2.21). Figure 2.21 A List of Exchange 2007 Services If a service that has been confi gured to start automatically is in a stopped state, try to start it. If you’re unsuccessful, check the related error in the application log. 56 Chapter 2 • Installing Exchange Server 2007 To complete your installation, it’s a good idea to run the Exchange Best Practices Analyzer tool, now integrated into the Exchange Management Console (EMC) and found under the Toolbox node, as shown in Figure 2.22. Figure 2.22 Opening the Best Practices Analyzer TIP If the installation of Exchange 2007 completes the installation of one or more server roles but then fails at another one, you don’t need to reinstall the server roles that were already installed. Instead, the Exchange 2007 Setup Wizard will start in maintenance mode the next time you launch it, and from there you can simply tick the server roles that failed the fi rst time. . installation of Exchange Server 2007 using an unattended setup. This is done via the command prompt, and as in the case when doing a GUI installation, you need to insert the Exchange Server. you have any legacy Outlook clients (Outlook 2003 and earlier versions) in your environment, you should also add /EnableLegacyOutlook to the command. /EnableLegacyOutlook makes sure that a Public. Setup.exe supports many different parameters and switches, so to whet your appetite, we recommend you type Setup.exe /? to list all available parameters and switches, providing a short description