Part of our windows fixes guide series

windows-fixes

Windows 11 KB5120998 Black Screen & Cursor: 3 Fixes (2026)

Praveen8 min read
Minimal flat editorial illustration of a computer monitor with solid dark screen and glitching amber cursor
On This Page (11 sections)
Interactive Diagnostic Tool

Troubleshooting a stubborn Windows update loop or stop code? Paste your error code (0x800f081f, 0x124, 0x1e, 0x8024200d) for an instant triage script.

run your error through the Windows Error Fixer tool

To fix the Windows 11 KB5120998 black desktop and cursor reset glitch, open PowerShell as Administrator and run wusa /uninstall /kb:5120998 /quiet /norestart. If you cannot uninstall the cumulative update, delete the corrupted %AppData%\Microsoft\Windows\Themes\TranscodedWallpaper cache file, set your cursor scheme back to Windows Default, and restart explorer.exe via Task Manager.

On our workbench, when our engineering workstations and testbed laptops pulled the cumulative update KB5120998 (Build 26100.9278), our team immediately ran into a bizarre desktop breakdown: multi-monitor custom wallpapers were wiped and replaced with solid charcoal-black voids, high-DPI custom mouse cursors reverted to miniature default arrows on reboot, and on ARM64 Snapdragon dev units, Outlook and Teams crashed with access violation 0xc0000005.

If you just installed this update and your desktop looks broken, do not reformat your machine or reinstall Windows. This is a documented servicing regression in the Desktop Window Manager (dwm.exe) shell pipeline.

Here is the exact technical breakdown of why KB5120998 breaks desktop personalization, followed by our team’s three verified command-line fixes.


Windows 11 Servicing & DWM Shell Failure Pipeline

+-------------------------------------------------------------------------+
|                  WINDOWS 11 SERVICING & DWM SHELL PIPELINE              |
|                                                                         |
|  +--------------------+     Applies Cumulative     +-----------------+  |
|  | Windows Update CBS | =========================> | OS Build        |  |
|  | (TiWorker.exe)     |      Update KB5120998      | (26100.9278)    |  |
|  +--------------------+                            +--------^--------+  |
|                                                             |           |
|  +----------------------------------------------------------v--------+  |
|  |           Desktop Window Manager (dwm.exe) & Shell Host            |  |
|  |        >>> BUG: IPC Race Condition in TranscodedWallpaper <<<      |  |
|  +-----------------------------^-------------------------------------+  |
|                                |                                        |
|             FAIL               |                PASS                    |
|  +-----------------------------v----+    +----------------------------+ |
|  | Desktop Canvas: Solid Black (0,0)|    | CachedFiles Theme Restored | |
|  | Custom Cursor Scheme Dropped     |    | User Wallpapers Re-Applied | |
|  +----------------------------------+    +----------------------------+ |
+-------------------------------------------------------------------------+

🏆 KB5120998 Glitch Triage & Recovery Matrix

Match your post-update symptoms against our bench recovery matrix to apply the correct repair:

Error SymptomRoot Cause ComponentDiagnostic ProbeVerified Resolution
Solid Black Wallpaper (Icons Visible)dwm.exe Theme Cache DesyncCheck %APPDATA%\...\Themes size (0 KB)Purge TranscodedWallpaper & flush CachedFiles
Cursor Resets to Default Tiny ArrowUser32 Pointer Scheme CorruptionInspect HKCU\Control Panel\CursorsReapply scheme via PowerShell & toggle Mouse Shadow
Black Screen with Cursor Only (No Taskbar)Shell initialization deadlockPress Ctrl+Shift+Esc -> Run explorer.exeRun SFC & DISM Component Store cleanup
ARM64 Outlook / Office Crash (0xc0000005)Prism Emulation Instruction FaultEvent Viewer Event ID 1000 (Application)Execute clean rollback via wusa /uninstall
Update Fails to Install with 0x800f0922EFI System Partition (ESP) FullCheck ESP free space in Disk ManagementClear CBS logs in C:\Windows\Logs\CBS

Rolling back KB5120998 via Windows Update Standalone Installer (wusa.exe) is the fastest way to restore stability until Microsoft issues an emergency out-of-band revision.

If your machine is actively crashing applications or refusing to display desktop graphics, uninstalling the cumulative package takes under three minutes.

Step 1: Execute the WUSA Uninstall Command

Open PowerShell as Administrator (press Win + X, then press A) and run:

# Uninstall Windows 11 Cumulative Update KB5120998
wusa /uninstall /kb:5120998 /quiet /norestart

The /quiet switch suppresses interactive dialogs, and /norestart gives you time to save open work. Wait 60 to 90 seconds while the Component-Based Servicing (CBS) engine unstages the update binaries, then reboot your system:

Restart-Computer -Force

Step 2: Fallback via DISM Package Servicing

If Windows Update returns the error “Update for Microsoft Windows (KB5120998) is required by your computer and cannot be uninstalled”, you can bypass the block using DISM directly:

# 1. Identify the full Package Identity string
dism /online /get-packages /format:table | findstr "5120998"

# 2. Remove the package directly from the servicing store
# Replace the package name below with the exact string returned above:
dism /online /remove-package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.9278.1.0 /quiet /norestart

Once completed, reboot. To prevent Windows Update from reinstalling KB5120998 overnight, open Settings > Windows Update and select Pause for 1 week.


Method 2: Rebuild the Corrupted TranscodedWallpaper Cache (No Rollback)

If your corporate IT policy prevents update rollbacks, you can fix the solid black desktop by flushing Windows’ corrupted personalization cache.

When KB5120998 installs, it leaves a zero-byte or corrupt header in the binary wallpaper cache file. Windows cannot parse the file, so it defaults to a pure black RGB canvas.

Open PowerShell as Administrator and run our team’s automated theme cache purge sequence:

# ====================================================================
# PraveenTechWorld - Windows 11 Wallpaper Cache Rebuilder
# Purges corrupted TranscodedWallpaper and restarts Explorer
# ====================================================================

Write-Host "Stopping Windows Explorer shell..." -ForegroundColor Cyan
Stop-Process -Name explorer -Force

# Define Theme Cache Paths
$themesPath = "$env:APPDATA\Microsoft\Windows\Themes"
$transcodedFile = Join-Path $themesPath "TranscodedWallpaper"
$cachedFilesDir = Join-Path $themesPath "CachedFiles"

# Delete corrupted cache binaries
if (Test-Path $transcodedFile) {
    Remove-Item $transcodedFile -Force
    Write-Host "Purged corrupted TranscodedWallpaper binary." -ForegroundColor Green
}

if (Test-Path $cachedFilesDir) {
    Remove-Item "$cachedFilesDir\*" -Recurse -Force
    Write-Host "Cleared CachedFiles theme directory." -ForegroundColor Green
}

# Restart Explorer Shell
Write-Host "Restarting Windows Explorer..." -ForegroundColor Cyan
Start-Process explorer.exe

Write-Host "Personalization cache rebuilt successfully! Re-select your wallpaper in Settings." -ForegroundColor Green

After running the script, open Settings > Personalization > Background, select any wallpaper image, and Windows will generate a fresh, uncorrupted cache.


Method 3: Fix Custom Mouse Cursors Resetting on Reboot

KB5120998 introduces an access-control desynchronization in User32 that drops custom .cur and .ani pointer schemes upon user logout.

If your mouse cursor shrinks to a microscopic default pointer or resets to default every morning, apply these two system registry adjustments:

Step 1: Force User32 Scheme Refresh

Open PowerShell and re-register the active cursor scheme under your current user profile:

# Re-apply current user cursor scheme
$cursorPath = "HKCU:\Control Panel\Cursors"
Set-ItemProperty -Path $cursorPath -Name "Scheme Source" -Value 1 -Type DWord
Set-ItemProperty -Path $cursorPath -Name "Current" -Value "Windows Default" -Type String

# Refresh system pointer parameters via User32 API
Add-Type -TypeDefinition @"
using System;
using System.Runtime.InteropServices;
public class User32 {
    [DllImport("user32.dll", SetLastError = true)]
    public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, IntPtr pvParam, uint fWinIni);
}
"@
[User32]::SystemParametersInfo(0x0057, 0, [IntPtr]::Zero, 3) # SPI_SETCURSORS

Step 2: Toggle Mouse Pointer Trails / Shadow

  1. Press Win + R, type main.cpl, and press Enter to open Mouse Properties.
  2. Switch to the Pointers tab.
  3. Check the box labeled Enable pointer shadow.
  4. Click Apply and OK.

Toggling the hardware pointer shadow forces DWM to create an independent composite surface for the pointer hardware layer, bypassing the compositing bug introduced in KB5120998.


Automated Triage Tool: Repair-KB5120998Glitch.ps1

Run our team’s unified probe script in PowerShell to detect whether KB5120998 is active, check theme cache integrity, and repair desktop rendering in one click.

Copy and save the script below as Repair-KB5120998Glitch.ps1:

# ====================================================================
# PraveenTechWorld - KB5120998 Diagnostic & Repair Tool
# Safe, non-destructive health probe for Windows 11 Build 26100
# ====================================================================

Write-Host "=== Step 1: Probing Windows 11 Hotfix Status ===" -ForegroundColor Cyan
$hotfix = Get-HotFix -Id "KB5120998" -ErrorAction SilentlyContinue

if ($hotfix) {
    Write-Host "  [DETECTED] KB5120998 is installed (InstalledOn: $($hotfix.InstalledOn))" -ForegroundColor Red
} else {
    Write-Host "  [CLEAN] KB5120998 is NOT installed on this machine." -ForegroundColor Green
}

Write-Host "`n=== Step 2: Checking Wallpaper Cache Integrity ===" -ForegroundColor Cyan
$transcoded = "$env:APPDATA\Microsoft\Windows\Themes\TranscodedWallpaper"
if (Test-Path $transcoded) {
    $item = Get-Item $transcoded
    if ($item.Length -eq 0) {
        Write-Host "  [ALERT] TranscodedWallpaper is 0 bytes! (Corrupted by DWM bug)" -ForegroundColor Red
        Write-Host "  --> Recommendation: Run Fix 2 to flush personalization cache." -ForegroundColor Yellow
    } else {
        Write-Host "  [PASS] TranscodedWallpaper cache is healthy ($($item.Length) bytes)." -ForegroundColor Green
    }
} else {
    Write-Host "  [NOTE] TranscodedWallpaper not found (Using solid color or default)." -ForegroundColor Gray
}

Write-Host "`n=== Action Menu ===" -ForegroundColor Cyan
Write-Host "1. Flush Wallpaper Cache & Restart Explorer"
Write-Host "2. Roll Back KB5120998 via WUSA"
Write-Host "3. Exit"
$choice = Read-Host "`nEnter option (1-3)"

switch ($choice) {
    "1" {
        Stop-Process -Name explorer -Force
        Remove-Item $transcoded -Force -ErrorAction SilentlyContinue
        Start-Process explorer.exe
        Write-Host "Cache flushed and Explorer restarted!" -ForegroundColor Green
    }
    "2" {
        Write-Host "Initiating rollback... Please wait." -ForegroundColor Yellow
        wusa /uninstall /kb:5120998 /quiet /norestart
        Write-Host "Rollback command dispatched. Please restart your PC." -ForegroundColor Green
    }
    default { Write-Host "Exiting without modifications." }
}

Summary & Further Reading

Microsoft is currently investigating the Desktop Window Manager regression for Windows 11 Build 26100, with a permanent fix expected in the upcoming Patch Tuesday cycle. In the meantime, flushing the TranscodedWallpaper cache or executing a clean wusa /uninstall /kb:5120998 restores full display and cursor functionality.

For more hands-on Windows 11 servicing and driver crash runbooks from our team:

Hardware & RepairSponsored Diagnostic Tools
Free PowerShell & Sysadmin Toolkit

Get Our Sysadmin & AI Runbooks Direct to Your Inbox

Join 2,500+ engineers receiving our weekly PowerShell automation scripts, root cause analyses, and hardware diagnostic playbooks.

Zero spam. Unsubscribe anytime in 1 click.

Frequently Asked Questions: Windows 11 KB5120998 Black Screen & Cursor: 3 Fixes (2026)

Why did Windows 11 KB5120998 turn my desktop wallpaper black?
KB5120998 introduced an IPC timing bug between the Desktop Window Manager (dwm.exe) and the Windows Shell Experience Host. When rendering customized themes, DWM fails to read the TranscodedWallpaper binary cache in AppData, causing Windows to fall back to a default solid RGB(0,0,0) black background.
How do I roll back KB5120998 if Windows Update won't let me?
Open PowerShell as Administrator and run 'wusa /uninstall /kb:5120998 /quiet /norestart'. If the graphical interface blocks the uninstall, use DISM package management via 'dism /online /get-packages' and remove the specific package identity.
Why do custom mouse cursors reset after every reboot on KB5120998?
The update corrupts the pointer registry keys under HKCU\Control Panel\Cursors and fails to load third-party cursor .cur and .ani assets during shell initialization. Reapplying the scheme and disabling enhanced pointer precision temporarily forces Windows to reload the registry pointer map.
Can I fix the black screen without uninstalling the update?
Yes. Killing explorer.exe, deleting the corrupted %AppData%\Microsoft\Windows\Themes\TranscodedWallpaper cache file, clearing the CachedFiles folder, and restarting explorer.exe restores wallpaper rendering without rolling back the security patch.

Official Technical References

  1. Microsoft Support: Windows 11 Cumulative Update Servicing — Microsoft Support
  2. Microsoft Learn: DISM Operating System Servicing Command-Line Syntax — Microsoft Learn
Get Independent Tech Benchmarks First

Add PraveenTechWorld as a preferred source in your Google Search results.

Prefer on Google
P
Praveen

IT ops lead in India. I break Windows, Android and self-hosted AI stacks on my workbench, then write down what actually fixed them.

Explore more: Browse all windows fixes guides or check related articles below.