Solved "Class is not registered" , error 0x80040154


I would like to understand the meaning. Please a few words of explanation.
You take the location of your most recent TiWorker : C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.4651_none_a510910d775cffb2\TiWorker.exe

Convert it to hex with UTF16LE encoding: String to Hex | ASCII to Hex Code Converter

43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,00,69,00,6E,00,53,00,78,00,53,00,5C,00,61,00,6D,00,64,00,36,00,34,00,5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,36,00,31,00,30,00,30,00,2E,00,34,00,36,00,35,00,31,00,5F,00,6E,00,6F,00,6E,00,65,00,5F,00,61,00,35,00,31,00,30,00,39,00,31,00,30,00,64,00,37,00,37,00,35,00,63,00,66,00,66,00,62,00,32,00,5C,00,54,00,69,00,57,00,6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00

Modify the fix script (SFCFIX) with the location so it matches the format(note there is a 32 bit location and 64 bit locations:

::

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,\
00,69,00,6E,00,53,00,78,00,53,00,5C,00,61,00,6D,00,64,00,36,00,34,00,\
5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,\
00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,\
69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,\
00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,\
34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,36,\
00,31,00,30,00,30,00,2E,00,34,00,31,00,39,00,33,00,5F,00,6E,00,6F,00,\
6E,00,65,00,5F,00,61,00,35,00,34,00,61,00,37,00,34,00,34,00,31,00,37,\
00,37,00,33,00,31,00,30,00,63,00,39,00,62,00,5C,00,54,00,69,00,57,00,\
6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00

[HKEY_CLASSES_ROOT\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,\
00,69,00,6E,00,53,00,78,00,53,00,5C,00,61,00,6D,00,64,00,36,00,34,00,\
5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,\
00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,\
69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,\
00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,\
34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,36,\
00,31,00,30,00,30,00,2E,00,34,00,31,00,39,00,33,00,5F,00,6E,00,6F,00,\
6E,00,65,00,5F,00,61,00,35,00,34,00,61,00,37,00,34,00,34,00,31,00,37,\
00,37,00,33,00,31,00,30,00,63,00,39,00,62,00,5C,00,54,00,69,00,57,00,\
6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,\
00,69,00,6E,00,53,00,78,00,53,00,5C,00,78,00,38,00,36,00,5F,00,6D,00,\
69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,00,69,00,6E,\
00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,69,00,63,00,\
69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,00,31,00,62,\
00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,34,00,65,00,\
33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,36,00,31,00,30,\
00,30,00,2E,00,34,00,31,00,39,00,33,00,5F,00,6E,00,6F,00,6E,00,65,00,\
5F,00,34,00,39,00,32,00,62,00,64,00,38,00,62,00,64,00,62,00,65,00,64,\
00,33,00,39,00,62,00,36,00,35,00,5C,00,54,00,69,00,57,00,6F,00,72,00,\
6B,00,65,00,72,00,2E,00,65,00,78,00,65,00
 

My Computer

System One

  • OS
    Windows 11
Understood, and much appreciated.

Does "LocalServer32" in the cited script relate to 32bit version?
 

My Computer

System One

  • OS
    Win11 Pro 23H2
Understood, and much appreciated.

Does "LocalServer32" in the cited script relate to 32bit version?
These two are 64 bit:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.4651_none_a510910d775cffb2\TiWorker.exe
[HKEY_CLASSES_ROOT\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.4651_none_a510910d775cffb2\TiWorker.exe


The WOW6432Node is 32 bit:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
C:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.4651_none_48f1f589beff8e7c\TiWorker.exe
 

My Computer

System One

  • OS
    Windows 11
SFCFix.exe smoothly applied script SFCFixScript.txt that I had modified to contain hex addresses of my most recent 64bit and 32bit TiWorker.exe.

Still the failures :
DISM /online /cleanup-image /checkhealth
"The component store cannot be repaired."
DISM /online /cleanup-image /scanhealth
"Error: 0x80040154 Class not registered"
DISM /online /cleanup-image /restorehealth
"Error: 0x80040154 Class not registered"
sfc /verifyonly
"Windows Resource Protection could not start the repair service"
In CBS.log
"Failed to create CBS worker"
 

My Computer

System One

  • OS
    Win11 Pro 23H2
SFCFix.exe smoothly applied script SFCFixScript.txt that I had modified to contain hex addresses of my most recent 64bit and 32bit TiWorker.exe.

Still the failures :
DISM /online /cleanup-image /checkhealth
"The component store cannot be repaired."
DISM /online /cleanup-image /scanhealth
"Error: 0x80040154 Class not registered"
DISM /online /cleanup-image /restorehealth
"Error: 0x80040154 Class not registered"
sfc /verifyonly
"Windows Resource Protection could not start the repair service"
In CBS.log
"Failed to create CBS worker"
Stupid question. Did you reboot after running the fix script?

It could be a different registry that has an error. I cannot access your upload to one drive BTW. I think the SxS hive file is supposed to show the registries with invalid entries. I am by no means a pro at fixing this issue.
 

My Computer

System One

  • OS
    Windows 11
Yes, rebooted..

Hive file is just an export of
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners ,
no annotation.

Link to SxS.hiv file of 7/9/25 :
 
Last edited:

My Computer

System One

  • OS
    Win11 Pro 23H2
Address of my most recent 64bit TiWorker.exe
C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.3801_none_e919caea4301d33a\TiWorker.exe
(applied in first two keys in my SFCFixScript.txt)

Address of my most recent 32bit TiWorker.exe
C:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.3801_none_8cfb2f668aa46204\TiWorker.exe
(applied in third key in my SFCFixScript.txt)

Text of my SFCFixScript.txt :
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,00,69,00,6E,00,53,00,78,00,53,00,5C,00,61,00,6D,00,64,00,36,00,34,00,5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,32,00,36,00,32,00,31,00,2E,00,33,00,38,00,30,00,31,00,5F,00,6E,00,6F,00,6E,00,65,00,5F,00,65,00,39,00,31,00,39,00,63,00,61,00,65,00,61,00,34,00,33,00,30,00,31,00,64,00,33,00,33,00,61,00,5C,00,54,00,69,00,57,00,6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00

[HKEY_CLASSES_ROOT\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,00,69,00,6E,00,53,00,78,00,53,00,5C,00,61,00,6D,00,64,00,36,00,34,00,5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,32,00,36,00,32,00,31,00,2E,00,33,00,38,00,30,00,31,00,5F,00,6E,00,6F,00,6E,00,65,00,5F,00,65,00,39,00,31,00,39,00,63,00,61,00,65,00,61,00,34,00,33,00,30,00,31,00,64,00,33,00,33,00,61,00,5C,00,54,00,69,00,57,00,6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{0823B6F8-F499-4d5e-B885-EA9CB4F43B24}\LocalServer32]
@=hex(2):43,00,3A,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,57,00,69,00,6E,00,53,00,78,00,53,00,5C,00,78,00,38,00,36,00,5F,00,6D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2D,00,77,00,69,00,6E,00,64,00,6F,00,77,00,73,00,2D,00,73,00,65,00,72,00,76,00,69,00,63,00,69,00,6E,00,67,00,73,00,74,00,61,00,63,00,6B,00,5F,00,33,00,31,00,62,00,66,00,33,00,38,00,35,00,36,00,61,00,64,00,33,00,36,00,34,00,65,00,33,00,35,00,5F,00,31,00,30,00,2E,00,30,00,2E,00,32,00,32,00,36,00,32,00,31,00,2E,00,33,00,38,00,30,00,31,00,5F,00,6E,00,6F,00,6E,00,65,00,5F,00,38,00,63,00,66,00,62,00,32,00,66,00,36,00,36,00,38,00,61,00,61,00,34,00,36,00,32,00,30,00,34,00,5C,00,54,00,69,00,57,00,6F,00,72,00,6B,00,65,00,72,00,2E,00,65,00,78,00,65,00
 

My Computer

System One

  • OS
    Win11 Pro 23H2
You can try the way I formatted mine with the back slashes etc. I edited mine to include your hex.

Sorry I can't be much more help there is a component scanner from the same company and a forum post on how to get someone to look at your component registries.

 

Attachments

My Computer

System One

  • OS
    Windows 11
What you are doing for me is to keep me both
- involved with the problem generally, and
- attentive to these particular registry values..
With gratitude I report a bit of progress, and what I did to get it.

Progress is that operation sfc /verifyonly completes.

Still the DISM failures.

I had been thinking that the SFCFix thing with hex encoding was an unnecessarily indirect way to modify registry data in this case. Today I took time.to look at these data in registry, saw that SFXFix applied data were truncated, manually inserted the text.

Next I have to examine CBS.log.
 

My Computer

System One

  • OS
    Win11 Pro 23H2
FRST Fix
NOTICE: This script was written specifically for this user, for use on that particular machine. Running this on another machine may cause damage to your operating system
1. Please download Farbar Recovery Scan Tool and save it to your Desktop.
Note: You need to run the 64-bit Version so please ensure you download that one.
2. Download the attached fixlist.txt and save it to the Desktop.
Note. It's important that both files, FRST64 and fixlist.txt are in the same location or the fix will not work (in this case...the desktop).
3. Run FRST64 by Right-Clicking on the file and choosing Run as administrator.
4. Press the Fix button just once and wait. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
5. When finished FRST64 will generate a log on the Desktop (Fixlog.txt). Please post the contents of it in your reply.
i need help with the same problem BlueRobot heres my sxs.hiv file SxS.hiv
pls im desprate
 

My Computer

System One

  • OS
    11
    Computer type
    Laptop
    Manufacturer/Model
    acer
Back
Top Bottom