Exchange 2010 Resource Domain Install on Windows Server 2008 R2

Some of the notes I took during a deployment I did for a 6 domain + 1 resource domain with Exchange 2010 server deployment:

1. The prerequities were installed (see script below or use the deprecated ServerManagerCMD via http://www.messagingtalk.org/exchange-2010-rc-quick-installation-guide).

2. The Office Filter Pack was installed on the Hub Transport and Mailbox servers. The package can be downloaded here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&displaylang=en#filelist

3. Client Access Server required the service: “Net.Tcp Port Sharing Service” be changed from Manual to Auto by running below command in PowerShell:

Set-Service NetTcpPortSharing –StartupType Automatic

4. Added Enterprise Admins to all 3 servers’ Administrators group then logged into each server as the root enterprise admin account.

5. Logged onto the forest root domain controllers and ran Setup /prepareschema & Setup /preparead /organizationname: “First Organization”.

6. Forced replication between domains.

7. Setup would keep complaining about step #3 not being performed if I simply hit the “retry” button to do the checks. It finally stopped complaining when I exited out of the original installation wizard and re-ran the setup again.

8. Setup /preparedomain was ran on the resource domain.

9. Installed Hub Transport server.

10. Installed Mailbox server.

11. Ran setup /preparedomain on all other domains (setup /preparealldomains would have worked too).

————————–Rename script below to whatever you like————————————–

clear

write-host

write-host Exchange Server 2010 – Pre-requisites script

write-host Please, select which role you are going to install..

write-host

write-host ‘1) Hub Transport’

write-host ‘2) Client Access Server’

write-host ‘3) Mailbox’

write-host ‘4) Unified Messaging’

write-host ‘5) Edge’

write-host ‘6) Typical (CAS/HUB/Mailbox)’

write-host ‘7) Client Access and Hub Transport’

write-host

write-host ‘9) Configure NetTCP Port Sharing service’

write-host ’10) Install 2007 Office System Converter: Microsoft Filter Pack – Only if you are installing Hub or Mailbox Server role’

write-host

write-host ’13) Restart the computer’

write-host

write-host

write-host “Select an option.. [1-13]? ”

$opt = read-host

Import-module ServerManager

switch ($opt)

{

1 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server }

2 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy }

3 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server}

4 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Desktop-Experience }

5 { Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS }

6 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy }

7 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy }

9 { Set-Service NetTcpPortSharing -StartupType Automatic }

10 { Write-warning ‘Download it from here: http://tinyurl.com/36yrlj‘}

13 { restart-computer }

default {write-host “You haven’t selected any of the available options. “}

}