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
- Install the Hosted E-mail OAB Update Batch Application
- Configure Security for the Hosted E-mail OAB Update Batch
Application
- Add the MPSOabRebuildAcct to the MPFClientAccts Group
- Configure Security Access for the Hosted E-mail OAB Update
Batch Application Local Resources
- Configure Option Settings for the Hosted E-mail OAB Update
Batch Application
- Run the Hosted E-mail OAB Update Batch Application
- 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 by using MSIExec.
Procedure W08-DWHE.102: To install the Hosted E-mail OAB Update batch application
-
On MPS01, open a command prompt and change to the Service Provisioning\MPS\Install folder on your solution media.
-
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. -
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 W08-DWHE.103: To configure security access for the Hosted E-mail OAB Update batch application registry keys
-
On MPS01, start Registry Editor:
-
Navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Provisioning\ HmOabUpdate key.
-
Give MPSExchangeAccts the following permissions for HmOabUpdate and its subkeys:
- Set Value
- Create Subkey
- Set Value
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 W08-DWHE.104: To add the MPSOabRebuildAcct to the MPFClientAccts group
-
On AD01, open Active Directory Users and Computers.
-
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 W08-DWHE.105: To configure security access for the Hosted E-mail OAB Update batch application local resources
-
On MPS01, open Explorer and navigate to <drive>:\Program Files\Microsoft Hosting\Provisioning.
-
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 W08-DWHE.106: To configure optional settings for the Hosted E-mail OAB Update batch application
-
Remove the read-only attribute from <drive>:\Program Files\Microsoft Hosting\Provisioning\Exchange OAB Update\HmOabUpdate.exe.config, and then open the file.
-
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"/>
-
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 W08-DWHE.107: To run Hosted E-mail OAB Update from a command line
-
Open a command prompt and navigate to <drive>:\Program Files\Microsoft Hosting\Provisioning\ Exchange OAB Update.
-
Run the following command:
Copy Code HmOabUpdate.exe
-
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 W08-DWHE.108: To create a scheduled task to run Hosted E-mail OAB Update daily
-
On MPS01, start the Scheduled Task Wizard by using the Scheduled Tasks utility in Control Panel.
-
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.