In the following procedures you will install and configure the Hosted E-mail OAB Update batch application and configure it to run as a scheduled job. The application runs on a daily schedule in order to rebuild the OABs for organizations that have had membership modifications.

Tasks

  1. Install the Hosted E-mail OAB Update Batch Application
  2. Configure Security for the Hosted E-mail OAB Update Batch Application
  3. Add the MPSOabRebuildAcct to the MPFClientAccts Group
  4. Configure Security Access for the Hosted E-mail OAB Update Batch Application Local Resources
  5. Configure Option Settings for the Hosted E-mail OAB Update Batch Application
  6. Run the Hosted E-mail OAB Update Batch Application
  7. Create a Scheduled Task for the Hosted E-mail OAB Update Batch Application

Prerequisites

All previous procedures to install Hosted E-mail provisioning have been completed.

Install the Hosted E-mail OAB Update Batch Application

In this procedure you will install the Hosted E-mail OAB Update batch application byusing MSIExec.

Procedure W03-DWHE.88: To install the Hosted E-mail OAB Update batch application

  1. On MPS01, open a command prompt and change to the Service Provisioning\MPS\Install folder on your solution media.

  2. Run the following command:

      Copy Code
    msiexec.exe /i HmOabUpdate.msi OABUSERPW=SecurePassword
    

    where SecurePassword is a password that meets your Active Directory directory service security requirements.

    Note:
    This creates a user account in the Active Directory Users container named MPSOabRebuildAcct. Take note of the password that you have supplied in the command line, as you will need it in a later task when you schedule the Hosted E-mail OAB Update batch application to run under this account.
  3. Accept all defaults in the installation wizard.

Configure Security for the Hosted E-mail OAB Update Batch Application

In the following procedures you will configure security access for the application's registry keys, local resources, and Microsoft Provisioning System (MPS) procedures.

Procedure W03-DWHE.89: To configure security access for the Hosted E-mail OAB Update batch application registry keys

  1. On MPS01, start Registry Editor:

  2. Navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Provisioning\ HmOabUpdate key.

  3. Give MPSExchangeAccts the following permissions for HmOabUpdate and its subkeys:

    • Set Value
    • Create Subkey

Add the MPSOabRebuildAcct to the MPFClientAccts Group

In the following procedure you will add the MPSOabRebuildAcct user to the MPFClientAccts group. This is required in order to run the HMOABUpdate application as a scheduled task.

Procedure W03-DWHE.90: To add the MPSOabRebuildAcct to the MPFClientAccts group

  1. On AD01, open Active Directory Users and Computers.

  2. Add the MPSOabRebuildAcct account to the MPFClientAccts group.

Configure Security Access for the Hosted E-mail OAB Update Batch Application Local Resources

In this procedure, you will grant MPSExchangeAccts modify permissions to the Exchange OAB Update directory.

Procedure W03-DWHE.91: To configure security access for the Hosted E-mail OAB Update batch application local resources

  1. On MPS01, open Explorer and navigate to <drive>:\Program Files\Microsoft Hosting\Provisioning.

  2. Add MPSExchangeAccts to the security group of Exchange OAB Update. In addition to the default permissions, give Modify permission to MPSExchangeAccts.

Configure Option Settings for the Hosted E-mail OAB Update Batch Application

In this procedure, you will edit the applications configuration file to change settings to appropriate values for your deployment. At a minimum you may need to update the preferredDomainController property.

Procedure W03-DWHE.92: To configure optional settings for the Hosted E-mail OAB Update batch application

  1. Remove the read-only attribute from <drive>:\Program Files\Microsoft Hosting\Provisioning\Exchange OAB Update\HmOabUpdate.exe.config, and then open the file.

  2. Set the preferredDomainController value to the fully qualified domain name (FQDN) of your preferred domain controller as in the following example:

      Copy Code
    <add key="preferredDomainController" value="AD01.fabrikam.com"/>
    
  3. Save the file after making your changes.

Run the Hosted E-mail OAB Update Batch Application

In the following procedure you run the Hosted E-mail OAB Update batch application from the command line.

Procedure W03-DWHE.93: To run Hosted E-mail OAB Update from a command line

  1. Open a command prompt and navigate to <drive>:\Program Files\Microsoft Hosting\Provisioning\ Exchange OAB Update.

  2. Run the following command:

      Copy Code
    HmOabUpdate.exe
    
  3. Review the console output from the command to verify that it ran without errors.

Create a Scheduled Task for the Hosted E-mail OAB Update Batch Application

In the following procedures you will create a scheduled task for the application, and configure it to run daily at 6:00 A.M.

Procedure W03-DWHE.94: To create a scheduled task to run Hosted E-mail OAB Update daily

  1. On MPS01, start the Scheduled Task Wizard by using the Scheduled Tasks utility in Control Panel.

  2. Browse to <drive>:\Program Files\Microsoft Hosting\Provisioning\Exchange OAB Update\HmOabUpdate.exe. Set the run Hosted E-mail OAB Update daily at 6:00 A.M. Use Fabrikam\MPSOabRebuildAcct user name and the password for this account.

    Note:
    Task Scheduler does not verify that the password you enter for the MPSOabRebuildAcct matches the password set for the user in Active Directory directory service. If you enter an incorrect password, the task will fail when it runs at its scheduled time.