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,

  Copy Code
<preferredDomainController>AD01.Fabrikam.com</preferredDomainController>

Yes

Sample Code

Example XML Request

  Copy Code
<request xmlns:xsl="http://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

  1. On an Exchange server, click Start, click Run, type regedit, and then click OK.

  2. In the Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters.

  3. On the Edit menu, point to New, and then click DWORD Value.

  4. Type OAL Folder Lifetime (days), and then press ENTER.

  5. Right-click the OAL Folder Lifetime (days) registry value created in step 5, and then click Modify.

  6. In the Value data box, type 0, and then click OK.

  7. Close the Registry Editor.

  8. Repeat the previous steps for all other Exchange servers.

Procedure 2: To create the Disable OABScanTask registry key

  1. On an Exchange server, click Start, and then click Run, type regedit, and then click OK.

  2. In the Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters.

  3. On the Edit menu, point to New, and then click DWORD Value.

  4. Type Disable OABScanTask, and then press ENTER.

  5. Right-click the Disable OABScanTask registry value created in step 5, and then click Modify.

  6. In the Value data box, type 1, and then click OK.

  7. Close the Registry Editor.

  8. Repeat the previous steps for all other Exchange servers.