Reinstall the Hub Transport Role in Windows Small Business Server 2008

Updated: February 4, 2010

Applies To: Windows SBS 2008

Warning

You should only uninstall or reinstall the Hub Transport Role as a last resort. Before you uninstall or reinstall the Hub Transport Role, you should first troubleshoot the related software and services, and try to isolate the root cause of the issue. If you are unable to determine and correct the root cause, you may be able to fix the issue by restoring the server from a good backup.

To verify whether the Hub Transport Role is already installed

  1. Click Start, click Control Panel, click Classic View, and then double-click Programs and Features.

  2. Click Microsoft Exchange Server 2007, and then click Change.

  3. On the User Account Control page, click Continue.

  4. In the Exchange Maintenance Mode dialog box, click Next.

  5. In Server Role Selection, if the Hub Transport Role check box is grayed out or already selected, the role is installed and you do not need to reinstall it. If it is not selected, click Cancel, and then complete the steps in the following procedure.

To reinstall the Hub Transport Role in Windows Small Business Server 2008

  1. Create a registry value to use with Windows SBS 2008 Disc 2 (Component Technologies for Server Repair) and Microsoft Exchange Server 2007 by doing the following:

Note

You can skip this step if Microsoft Exchange Server 2007 with Service Pack 2 is installed on the server, and if you are using the Exchange Server 2007 SP2 installation folder as the source for the Exchange Server 2007 installation files.

1.  Open Registry Editor.  
      

Warning

Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

2.  On the **User Account Control** page, click **Continue**.  
      
3.  Navigate to HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\Installer\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\SourceList\\Media.  
      
4.  Create a new string value named MediaPackage: Right-click **Media**, click **New**, click **String Value**, in **Name**, type **MediaPackage**, and then press ENTER.  
      
5.  Double-click **MediaPackage**, in **Edit String**, in **Value data**, type **\\CMPNENTS\\Exchange12\\**, and then click **OK**.  
      
6.  Close Registry Editor.  
      
  1. Install the Hub Transport Role by doing the following:

    1. Click Start, click Control Panel, click Classic View, and then click Programs and Features.

    2. Click Microsoft Exchange Server 2007, and then click Change.

    3. On the User Account Control page, click Continue.

    4. In the Exchange Maintenance Mode dialog box, click Next.

    5. In Server Role Selection, select Hub Transport Role, and then insert Windows SBS 2008 Disc 2 (Component Technologies for Server Repair) into the server.

Note

If the Hub Transport Role is grayed out or already selected, the role is installed and you do not need to reinstall it.

6.  In **Specify the path for the Exchange Server installation files**, click **Browse**.  
      
7.  Click **\<DVD Drive\>:\\CMPNENTS\\Exchange12**, where *\<DVD Drive\>* is the name of your media drive, click **OK**, and then click **Next**.  
      

Note

If Service Pack 2 for Microsoft Exchange Server 2007 is installed on Windows SBS 2008, you need to select the Exchange Server 2007 SP2 installation folder as the source for the Exchange Server 2007 installation files.

8.  In the **Readiness Checks** dialog box, click **Install**.  
      

Note

The installation might take several minutes.

9.  When the installation finishes, click **Finish**.  
      
  1. Run Windows PowerShell commands by doing the following:

    1. Copy and paste the following cmdlets into a text file:

      $LocalServerName = hostname
      $DefaultExchangeCertificate = "CN=" + $LocalServerName
      Get-ExchangeCertificate | Where { $_.Subject -eq "$DefaultExchangeCertificate" } | ForEach { Remove-ExchangeCertificate -Thumbprint $_.Thumbprint }
      Set-ForeignConnector "Windows SBS Company Web Connector $LocalServerName" -SourceTransportServers $LocalServerName
      
    2. Name the text file sbsHUBreinstall.ps1, and then save it in C:\windows\system32.

    3. Open Exchange Powershell: Click Start, click All Programs, click Microsoft Exchange Server 2007, right-click Exchange Management Shell, and then click Run as administrator.

    4. On the User Account Control page, click Continue.

    5. In Exchange Management Shell, type .\sbsHUBreinstall.ps1, and then press ENTER.

    6. Type Y to confirm the action, and then press ENTER.

    7. Close Exchange Management Shell.

  2. To send e-mail messages to the Internet, run the Fix My Network Wizard by doing the following:

    1. Open the Windows SBS Console.

    2. On the navigation bar, click Network, and then click Connectivity.

    3. In the task pane, click Fix my network.

    4. Follow the instructions in the wizard. You can click each potential problem that the wizard lists to get more information about the problem. To recreate the default Send and Receive connectors to re-establish mail flow, select Exchange SMTP connectors are invalid.