Setup
- Windows 11 Pro (build 26200)
- eM Client 11.0.1725.0, Microsoft Store version
- Microsoft 365 Home Premium, Click-to-Run, 64-bit, version 16.0.20625.20142
- Classic Outlook is still installed and I still use it, so removing it isn’t an option.
Problem
Setting HKLM default directly to the eMClient doesn’t work. It fails. Perhaps because the MAPI dll is installed in an older build name’s folder and it loses it when eMClient is updated by the store?
Setting HKLM to PackagedMail allows it to track the eMClient folder if it’s set, but Outlook Classic resets the PackagedMail default every time it updates.
I want eM Client to be the default MAPI mail client, so that “Send to → Mail recipient”, “Email this” in other apps, and so on open eM Client. I can set it, but an Office update quietly switches it back to Outlook.
What I did
- I set the default to PackagedMail, which hands mail to the Store eM Client, in all three places that store the default mail client:
- HKLM\SOFTWARE\Clients\Mail
- HKLM\SOFTWARE\WOW6432Node\Clients\Mail
- HKLM\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Clients\Mail (Office’s own copy)
- That worked, and mail went to eM Client.
- Overnight, Office Click-to-Run updated. The Application event log shows MsiInstaller event 1035: “Windows Installer reconfigured the product. Product Name: Office 16 Click-to-Run Extensibility Component.”
- After that, the HKLM key and Office’s own copy were both back to Microsoft Outlook, and mail opened in Outlook again.
What I’ve tried since
- I set the Outlook policy “Make Outlook the default program for E-mail, Contacts, and Calendar” to off (HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General, Check Default Client = 0). That should
stop Outlook reclaiming the default when it starts, but it doesn’t affect the update, which rewrites the keys directly. - As a workaround, a scheduled task runs as SYSTEM and sets the keys back to PackagedMail. It runs at startup, at logon, every 4 hours, and on MsiInstaller event 1035. It works, but it’s a band-aid.
Questions
- Is there a supported way for the Store version of eM Client to stay the default MAPI client when Office is also installed, for example registering eM Client’s own entry under Clients\Mail rather than relying on
PackagedMail? - Would the desktop (non-Store) installer of eM Client handle this better?
- Has anyone found an Office setting or policy that stops Click-to-Run rewriting Clients\Mail when it updates?
- Anything possible with HKCU?