Deployment Automation::CreateOABLifeTimeRegistryKey
This procedure ensures that OABLifeTime registry keys exist on all Exchange servers.
Arguments
Input argument | Description | Required |
---|---|---|
<preferredDomainController> |
The domain controller to use for Active Directory actions. Required input. For example,
|
Yes |
Sample Code
Example XML Request
<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform">
<data>
</data>
<procedure>
<execute namespace="Deployment Automation" procedure="CreateOABLifeTimeRegistryKey" impersonate="1">
<executeData>
<preferredDomainController>ad01.fabrikam.com</preferredDomainController>
</executeData>
<after source="executeData" destination="data" />
</execute>
</procedure>
</request>
Manual Procedures
The CreateOABLifeTimeRegistryKey procedure automatically performs the following manual steps:
Procedure 1: To create the OAL Folder Lifetime (days) registry key
On an Exchange server, click Start, click Run, type regedit, and then click OK.
In the Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters.
On the Edit menu, point to New, and then click DWORD Value.
Type OAL Folder Lifetime (days), and then press ENTER.
Right-click the OAL Folder Lifetime (days) registry value created in step 5, and then click Modify.
In the Value data box, type 0, and then click OK.
Close the Registry Editor.
Repeat the previous steps for all other Exchange servers.
Procedure 2: To create the Disable OABScanTask registry key
On an Exchange server, click Start, and then click Run, type regedit, and then click OK.
In the Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters.
On the Edit menu, point to New, and then click DWORD Value.
Type Disable OABScanTask, and then press ENTER.
Right-click the Disable OABScanTask registry value created in step 5, and then click Modify.
In the Value data box, type 1, and then click OK.
Close the Registry Editor.
Repeat the previous steps for all other Exchange servers.