Microsoft KB Archive/933450

= Outlook 2003 is incorrectly configured as the default mail client every time that you perform an Office installation or Office update that modifies Outlook =

Article ID: 933450

Article Last Modified on 7/17/2007

-

APPLIES TO


 * Microsoft Office Outlook 2003

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you install Microsoft Office 2003, an Office 2003 service pack, or an Office 2003 update package, the default mail client that is configured in Microsoft Windows is removed. Instead, Microsoft Office Outlook 2003 is set as the default mail client.

You experience this problem if one of the following conditions is true:
 * The Office installation includes Outlook 2003.
 * The service pack or the updated package updates Outlook 2003.



RESOLUTION
To resolve this problem, use one of the following methods, as appropriate for your situation.

Method 1: Pre-deployment
To resolve this problem before you install Outlook, use the Custom Installation Wizard (CIW) to create a Windows Installer transform (.mst) file to prevent Outlook from being set as the default mail client.

Note The Custom Installation Wizard is included in the Office 2003 Editions Resource Kit Tools. To obtain the Office 2003 Editions Resource Kit Tools, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=4BB7CB10-A6E5-4334-8925-3BCF308CFBAF&displaylang=en

To configure the setting to prevent Outlook from being set as the default mail client, follow these steps:
 * 1) Start the Custom Installation Wizard, and then follow the steps in the Custom Installation Wizard to the Change Office User Settings page.
 * 2) On the Change Office User Settings page, expand Microsoft Office Outlook 2003, expand Tools | Options, and then click Other.
 * 3) In the Setting list, double-click Make Outlook the default program for E-mail, Contacts, and Calendar.
 * 4) Click Apply Changes, verify that the Make Outlook the default program for E-mail, Contacts, and Calendar check box is not selected, and then click OK.
 * 5) Click Next, and then follow the remaining steps in the Custom Installation Wizard to create the transform file.

When you deploy Office, use the .mst file to modify the Outlook setting. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

829898 Support WebCast: Deploying Microsoft Office 2003 in an Enterprise Computing Environment

Method 2: Post-deployment
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem after you install Outlook or after you install a service pack or an update that sets Outlook as the default mail client, use one of the following methods.

Method 1
Create a batch file to set the (Default) registry value in the following registry subkey to the appropriate default mail client:

You can run this batch file at startup or by using the  registry key. Also, you can configure a Group Policy object to run the batch file. For more information about how to use a Group Policy object to deploy this kind of batch file, see the &quot;More Information&quot; section.

Method 2
Use the Windows Installer program to remove and then reinstall Outlook. To do this, follow these steps:  Use the following MSIEXEC command to remove Outlook:

MSIEXEC.exe /i  REMOVE=OUTLOOKFiles

Note This command is case sensitive. Use the following MSIEXEC command to reinstall Outlook:

MSIEXEC.exe /i  ADDLOCAL=OUTLOOKFiles OUTLOOKASDEFAULTMAILAPP=0 OUTLOOKASDEFAULTCALENDARAPP=0 OUTLOOKASDEFAULTCONTACTSAPP=0

Note This command is case sensitive.

This command specifies that Outlook is not the default mail client. Additionally, after you run this command, Outlook is no longer set as the default mail client when you update Outlook.

Method 3
Use Registry Editor to change the repair installation process. A registry value is used during the Office repair installation process to determine whether your default mail client is Outlook. After you modify this registry value, Outlook is no longer set as the default mail client during the Office repair installation process.  Click Start, click Run, type regedit, and then click OK. Select the following registry key:  On the Edit menu, click Find, type 02:\software\clients\Mail, and then click Find Next. When you find the key in step 3, click the File menu, and then click Export to create a backup for .reg file.</li> Double-click the value that contains the 02:\software\clients\Mail data.</li> Remove the following string in the Value Data text box:

02:\software\clients\Mail

</li> Exit Registry Editor.</li> Click Start, click Run, type Appwiz.cpl, and then click OK.</li> Select Office 2003 product, and then click Change.</li> Select Re-install/Repair, and then click Next.</li> Select Re-install Office, and then click Completed.</li> When Office re-installation is completed, verify that the default mail program is not changed to Outlook.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The following example shows you how to configure a Group Policy to modify the default mail client.

Example
To deploy a registry entry to modify the default mail client, follow these steps.

Step 1: Create a .reg file to specify the appropriate default mail client
 Start a text editor such as Notepad, and then type or paste registry information that resembles the following:

<pre class="fixed_text">Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail] @=&quot;Outlook Express&quot;

Note This example uses Microsoft Outlook Express as the default mail client that you want to configure. However, you can replace Outlook Express with the mail client that is appropriate for your organization.</li> Save the text file as a .reg file. For example, save the file as MailClient.reg.</li> Copy the MailClient.reg file to a shared network location such as the Netlogon share on a domain controller.

Note If you copy this file to the Netlogon share of a domain controller, you must copy it to the Netlogon share of the domain controller that holds the PDC Emulator operations master role.</li></ol>

Step 2: Create a script to update the Windows registry
 Start a text editor such as Notepad, and then type or paste script information that resembles the following:

<pre class="fixed_text">@echo off regedit /s \\example.com\NETLOGON\MailClient.reg

Note In this script, the location of the registry file is the Netlogon share of a domain controller. However, you can modify this location, as appropriate for your situation.</li> Save the file as a .cmd file. For example, save the file as UpdateMailClient.cmd.</li> <li>Copy the UpdateMailClient.cmd file to the same shared network location to which you copied the MailClient.reg file. For example, copy the UpdateMailClient.cmd file to the Netlogon share of a domain controller.</li></ol>

Step 3: Create a Group Policy object to run the script at startup

 * 1) Log on to a domain controller, and then start the Active Directory Users and Computers tool. To do this, click Start, click Run, type dsa.msc, and then click OK.
 * 2) Right-click the container in which you want to configure the Group Policy object, and then click Properties. For example, right-click the domain container or right-click an organizational unit container.
 * 3) Click the Group Policy tab, and then click New.
 * 4) Type a descriptive name for the policy, and then press ENTER.
 * 5) Click Properties, and then click the Security tab.
 * 6) To prevent this policy from being applied to certain users or groups, add the particular user or group, and then click to clear the following check boxes in the Allow column:
 * 7) * Read
 * 8) * Apply Group Policy
 * 9) After you modify the permissions, click OK.
 * 10) Click Edit to start the Group Policy Object Editor tool.
 * 11) Expand Computer Configuration, expand Windows Settings, and then click Scripts (Startup/Shutdown).
 * 12) In the results pane, double-click Startup.
 * 13) Click Add, and then type the UNC path of the .cmd file in the Script Name box. For example, type \\ \NETLOGON\UpdateMailClient.cmd.
 * 14) Click OK two times, and then exit the Group Policy Object Editor tool.
 * 15) Click Close to exit the   Properties dialog box.

When client computers apply Group Policy, the .cmd file updates the Windows registry to specify the default mail client. Therefore, you must make sure that the policy is only applied to the computers for which you want to modify the default mail client.

Additional query words: OL2003

Keywords: kbtshoot kbprb kbexpertisebeginner KB933450

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.