Problem:
ProfileUnity appears to run twice at login on W11 23H2
Description:
The occurrence of a duplicate instance of ProfileUnity is likely attributable to a crash of Explorer.exe followed by a re-execution of userinit.exe (LwL.ProfileUnity.Client.UserInit.exe), as observed on Windows 11 version 23H2 and ProfileUnity version 687R2. It is possible that this behavior may also manifest in other versions of ProfileUnity or Windows.
The exact cause of the Explorer.exe crashes is currently unknown, as well as the specific environments that may be impacted. The issue appears to be primarily related to Microsoft Windows Client CBS.
Microsoft Windows Client CBS refers to the Component-Based Servicing (CBS) component of Windows, specifically within the Windows client operating system. It's a system component responsible for managing updates, installation, and servicing of system components. It plays a crucial role in maintaining the stability and functionality of the operating system, particularly regarding features like the Start Menu, system tray, and other UWP (Universal Windows Platform) applications.
The application event log likely shows something similar.
[EntryType] Error
[EventID] 1000
[TimeWritten]
[MachineName]
[Source] Application Error
[Message] Faulting application name: Explorer.EXE, version: 10.0.22621.5331, time stamp: 0x7c82d399
Faulting module name: ucrtbase.dll, version: 10.0.22621.3593, time stamp: 0x10c46e71
Exception code: 0xc0000409
Fault offset: 0x000000000007f6fe
Faulting process id: 0x0x2244
Faulting application start time: 0x0x1dc0e21e0205a2b
Faulting application path: C:\WINDOWS\Explorer.EXE
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: f22b90b5-b8f3-4021-805a-8cb9905b462c
Faulting package full name:
Faulting package-relative application ID:
Resolution:
Create an Application Launcher rule with the following parameters to run "during" configuration execution.
Filespec:
C:\windows\system32\cmd.exe
Arguments:
/c powershell.exe -executionpolicy bypass -windowstyle hidden -noninteractive -nologo -NoProfile "Get-AppXPackage MicrosoftWindows.Client.CBS | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register \"$($_.InstallLocation)\AppXManifest.xml\"}"