According to this thread https://free.blessedness.top/en-us/answers/questions/5585440/kb5066835-update-causing-iis-service-to-not-work
Several users have reported that installing the latest Microsoft Defender update resolves the IIS Express/ASP.NET Web Forms issue without removing KB5066835 or KB5065789. If you haven’t already:
- Check for updates manually:
- Go to Settings → Windows Update → Check for updates.
- Ensure Microsoft Defender Antivirus and Security Intelligence Updates are up to date.
- After updating, restart your machine and test IIS Express again.
--
If you still want to go through with the uninstallation, try this:
Uninstalling KB5062553 fails with error 0x800f0825
This issue typically occurs when Windows has a pending servicing operation or when certain features, such as Windows Sandbox or container-based components, depend on the update being removed.
A few users have reported that disabling Windows Sandbox resolved the problem.
Reference: Reddit thread
Method 1 – Disable Windows Sandbox and related virtualization features
- Press Win + R, type
optionalfeatures.exe, and press Enter. - In the Windows Features dialog, uncheck Windows Sandbox.
- If enabled, also uncheck Virtual Machine Platform and Hyper-V.
- Select OK, restart the computer, and then try uninstalling KB5062553 again.
Method 2 – Clear update caches and repair the component store
If disabling Sandbox does not help, try the following steps:
- Stop Windows Update services
- Press Win + R, type
services.msc, and press Enter. - Stop these services one by one:
- Windows Update
- Background Intelligent Transfer Service (BITS)
- Cryptographic Services
- Press Win + R, type
- Clear update cache folders Delete all contents inside the following directories:
Then restart your computer.C:\Windows\SoftwareDistribution C:\Windows\System32\Catroot2 - Repair the component store Open Command Prompt (Admin) and run:
DISM /online /cleanup-image /restorehealth sfc /scannow - Retry the uninstall
If it still fails, identify and remove the package manually:wusa /uninstall /kb:5062553 /quiet /norestartdism /online /get-packages | findstr 5062553 dism /online /remove-package /packagename:Package_for_KB5062553~31bf3856ad364e35~amd64~~10.0.xxxxx.x
Additional information
- If KB5062553 has been replaced by a newer cumulative update, Windows may block its removal.
- Always create a System Restore Point before performing system-level maintenance.
- Disabling Sandbox or virtualization features may temporarily affect Docker, WSL, or other virtualized workloads.