Fix: Salesforce “0x80040154” Class Not Registered @ during Outlook Sync

The error code 0x80040154 translates in the Windows operating system to REGDB_E_CLASSNOTREG (“Class not registered”). During Salesforce and Microsoft Outlook synchronization—whether using legacy Salesforce for Outlook (SFO) or modern Outlook Integration clients utilizing local desktop add-ins—this error occurs when the sync engine tries to call a Component Object Model (COM) interface or Messaging Application Programming Interface (MAPI) library that is either missing, uninstalled, or compiled for a different bit architecture.

Fast Fix

Determine whether your Microsoft Outlook installation is 32-bit or 64-bit (in Outlook: File > Office Account > About Outlook). Uninstall the Salesforce sync utility, download the installer that matches your exact Outlook bit architecture, and run the installer using “Run as Administrator” to ensure COM dynamic link libraries (DLLs) register properly in the Windows Registry.


Diagnostic Snapshot

  • Error Code: 0x80040154, REGDB_E_CLASSNOTREG, Class not registered.
  • Layer: Windows OS COM runtime / Outlook MAPI subsystem.
  • Primary Cause: Architecture mismatch (e.g., 32-bit Salesforce sync client trying to communicate with 64-bit Microsoft Outlook) or unregistered COM dynamic link libraries.
  • Environment: Windows 10, Windows 11, Microsoft 365 Desktop, Outlook 2019/2021.
  • Permissions Needed: Windows Local Administrator permissions to run installers and register system DLLs.

Understanding the 0x80040154 COM Mechanism

The Windows operating system relies on the Component Object Model (COM) to allow separate desktop applications to exchange commands. When a sync client reads or writes calendar events, contacts, and emails in Outlook:

  1. The sync client requests a specific COM class identifier (CLSID) from the Windows Registry (e.g., the Outlook MAPI interface or the Redemption library).
  2. The operating system looks up that CLSID under HKEY_CLASSES_ROOT\CLSID.
  3. If the registered DLL is 32-bit, but Outlook is running as a 64-bit process (or vice versa), the 64-bit process cannot load the 32-bit DLL into its memory space.
  4. The OS fails the lookup and returns 0x80040154: Class not registered.

Diagnostic Path

Error 0x80040154 Appears During Sync
 ├── Check Microsoft Outlook Bit Architecture
 │    ├── Open Outlook ──► File ──► Office Account ──► About Outlook
 │    └── Is Outlook 32-bit or 64-bit?
 ├── Check Salesforce Sync Tool Architecture
 │    ├── Did you install the 32-bit sync tool on 64-bit Office?
 │    └── Action: Reinstall matching bitness installer as Local Administrator
 └── Did the error persist after architecture alignment?
      ├── Manually register redemption.dll or adxloader.dll via regsvr32
      └── Install missing Microsoft Visual C++ Redistributable packages

Step-by-Step Resolution

1. Identify Outlook Bitness and Match the Client

Running mismatched architectures is the root cause in the majority of 0x80040154 incidents:

  1. Open Microsoft Outlook.
  2. Click File in the top-left corner > select Office Account (or Account).
  3. Click the About Outlook button.
  4. Look at the top line of the dialog box:
    • It will explicitly state either 32-bit or 64-bit.
  5. Open Windows Installed Apps (or Programs and Features).
  6. Verify your installed sync software:
    • If Outlook is 64-bit, the Salesforce sync application must also be the 64-bit build.
    • If Outlook is 32-bit, you must install the 32-bit build, regardless of whether your Windows 11 operating system itself is 64-bit.
  7. If there is a mismatch, uninstall the client, download the correct installer, right-click the setup file, and select Run as Administrator.

2. Re-register the Redemption and ADX DLLs Manually

If the correct software version is installed, local administrative restrictions or antivirus software may have blocked the installer from writing to the Windows Registry.

  1. Close Microsoft Outlook and completely exit the Salesforce sync application from your Windows system tray.
  2. Open the Windows Start Menu, type cmd, right-click Command Prompt, and select Run as administrator.
  3. Navigate to the installation directory where the sync binaries reside (standard default paths):(Or check C:\Program Files (x86)\... if troubleshooting 32-bit software). cd "C:\Program Files\Salesforce.com\Salesforce for Outlook"
  4. Run the Windows registration utility against the core messaging libraries: regsvr32 redemption.dll regsvr32 redemption64.dll
  5. You should receive a dialog stating: DllRegisterServer in redemption.dll succeeded.
  6. Restart Microsoft Outlook and relaunch the sync client.

3. Repair the Microsoft Office MAPI Subsystem

If the COM class registration for Microsoft Outlook’s primary MAPI interface has been corrupted by an Office update:

  1. Open the Windows Settings > Apps > Installed Apps.
  2. Scroll to Microsoft 365 Apps (or your installed Office version).
  3. Click the three dots and select Modify.
  4. Choose Quick Repair first. If the error returns after a reboot, re-run the utility and select Online Repair.
  5. The Online Repair process replaces corrupted COM registrations and restores default MAPI sub-keys in the Windows Registry.

4. Install Updated Visual C++ Redistributables

COM libraries compiled in C++ depend on the corresponding Microsoft Visual C++ runtime libraries. If a required runtime is absent, Windows cannot load the COM class:

  • Download and install the latest combined Visual C++ 2015-2022 Redistributable (both vc_redist.x86.exe and vc_redist.x64.exe) directly from Microsoft’s official support site.
  • Reboot your workstation after installation.

Migration Warning: Legacy Sync Retirement

Salesforce for Outlook (SFO) is deprecated and scheduled for full retirement [1, 2]. Legacy desktop sync engines frequently conflict with modern Microsoft 365 click-to-run environments [2].

If your organization is troubleshooting repeated COM registration failures on modern Windows 11 or Office 365 machines:

  • Transition to the cloud-native Einstein Activity Capture or the modern Salesforce Outlook Integration add-in available via Microsoft AppSource [3, 4].
  • The modern add-in runs via standard web technologies (HTML5/JavaScript) inside Outlook rather than legacy desktop COM/MAPI bridges, completely eliminating 0x80040154 registration errors [5, 6]. If cloud authentication handshakes encounter errors during migration, see How to Resolve: Salesforce “Connected App” failing OIDC Handshakes.

Hard Stops

  • Do not edit registry keys under HKEY_CLASSES_ROOT\CLSID manually without an exported backup. Deleting or altering COM class identifiers directly can break the Microsoft Office suite and require a complete operating system rebuild. Always use regsvr32 or official Office repair tools to register COM components.