ACTIVE MALWARE WINDOWS TESTED: WINDOWS 11

How to fix
KB5058515 fails to install
on Windows

Resolve the KB5058515 installation error in Windows 11 quickly and efficiently. Expert-tested solutions ensure your system runs smoothly. Fixed in minutes!

How to fix KB5058515 fails to install in Windows 11?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix KB5058515 fails to install in Windows 11?

  • System file corruption
  • Low disk space
  • Issues with update components
  • Interference from antivirus software
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I’ve been trying to install the latest Windows 11 update, KB5058515, on my PC, but it keeps failing with a message about an issue during installation. I’ve checked for updates multiple times and restarted my system, but the problem persists, leaving my device without the latest fixes.

Windows updates play an important role in keeping systems secure, functional, and updated with the latest features. Each update carries a unique KB number and may include important fixes, performance improvements, or user interface updates. Installing updates does not, however, always go as planned. A case in point is KB5058515, which fails to install for some Windows 11 users, particularly in the Insider Beta Channel.

KB5058515 was released in May 2025 as a cumulative preview update for Windows 11 version 24H2. It includes improvements to the lock screen widgets, the "Open with" dialog, and additional features in the Windows Backup experience. While the update was well-received, many users have reported that KB5058515 is not installing, and in most instances, there is no explanation provided.

Those who are experiencing KB5058515 not installing typically see the update download, but then either hang on install or fail with a generic error. This may be due to system file corruption, low disk space, issues with the update components, or even interference from antivirus software.

If system files are corrupted, then a file scan can help. If low disk space is the reason, then freeing up storage can resolve the issue. If a third-party antivirus program is interfering, then temporarily disabling it can help. Resetting Windows Update components or installing the pending updates first may also be necessary.

All manual step-by-step processes are provided below. For those who want an easier and more automated way, it is recommended to run the system through a good [d1] repair tool.

How to fix kb5058515 fails to install in windows 11 copy
How to fix kb5058515 fails to install in windows 11 copy

Fix 1. Run Windows update troubleshooter

When an update fails to install, Windows Update Troubleshooter automatically finds and fixes the issue. It looks for problems that can cause damaged download files, stop Windows Update services, or hinder network connectivity.

  • Type troubleshoot in Windows search and press Enter, or go to Start > Settings > System > Troubleshoot.
  • From the list of Options, pick Other troubleshooters.
  • Scroll down to locate the Windows Update and click Run.
  • Wait for it to finish, then apply changes and reboot the system.

How to fix kb5058515 fails to install in windows 11 troubleshooter
How to fix kb5058515 fails to install in windows 11 troubleshooter

Fix 2. Run Disk Cleanup

Disk Cleanup assists in clearing up system cache and temporary files that could be interfering with the installation of updates. You can free up space and get rid of possible issues by deleting superfluous files.

  • Type Disk Cleanup in Windows search and hit Enter.
  • If your Windows is installed on drive C, pick it from the list (it should be by default) and press OK.
  • Click Clean up system files.
  • Select your main disk again and click OK.
  • Here, select the largest portions of the data used - these typically include Temporary Internet Files, Windows Update, Temporary FilesRecycle Bin, Delivery Optimization Files, and others.
  • Click OK - the process should be finished shortly.

How to fix kb5058515 fails to install in windows 11 disk cleanup
How to fix kb5058515 fails to install in windows 11 disk cleanup

Fix 3. Repair corrupted Windows files

Installing updates could not work if your system files have been corrupted in some way. To remedy this, take the following actions:

  • Type cmd in Windows search.
  • Right-click on Command Prompt and pick Run as administrator.
  • User Account Control will ask whether you want to allow changes – click Yes.
  • Copy and paste this command and hit Enter:
    sfc /scannow
  • Wait for the scan to finish.
  • As soon as it finishes, Windows will report whether integrity violations were found and if they could be fixed. Regardless of the outcome, use these commands next, pressing Enter after each:
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /RestoreHealth
    (Note: if you get an error executing this last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again.)
  • Close down the Command Prompt and restart your computer.

How to fix kb5058515 fails to install in windows 11 sfc dism
How to fix kb5058515 fails to install in windows 11 sfc dism

Fix 5. Check relevant services

Services are critical components of the Windows ecosystem; if any of its operations are disturbed, it may cause problems with a specific function, such as the Windows update process.

  • Type Services in Windows search and press Enter.
  • Locate Windows Update.
  • If it is already running, right-click and select Restart.
  • if the service is not running, double-click it, and pick Automatic under the Startup type from the drop-down menu.
  • Click Start, Apply, and OK.
  • Repeat this process with the following services:
    Background Intelligent Transfer Service (BITS)
    Cryptographic
    Windows Installer
  • Restart your computer.

How to fix kb5058515 fails to install in windows 11 services
How to fix kb5058515 fails to install in windows 11 services

Fix 6. Run Clean Boot

A Clean Boot launches Windows with a limited collection of drivers and launch programs, which can assist in determining whether background processes are interfering with the upgrade.

  • Type msconfig in the Windows search box and press Enter.
  • Pick the Services tab.
  • Mark Hide all Microsoft services and select Disable all.
  • Select the Startup tab and click Open Task Manager.
  • In the Task Manager, right-click on each of the items and select Disable, then close the Task Manager.
  • Go to the Boot tab, mark the Safe Boot option, then click Apply and OK.
  • On the System Configuration window, click OK.
  • Restart your computer and attempt the update.

How to fix kb5058515 fails to install in windows 11 clean boot
How to fix kb5058515 fails to install in windows 11 clean boot

Fix 7. Reset Windows Update components

Resetting Windows Update components can remove corrupted or stuck update files, allowing the update to install successfully.

  • Open Command Prompt as administrator.
  • Stop the Windows Update-related services by running the following commands one at a time, pressing Enter after each one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  • Rename the SoftwareDistribution and Catroot2 folders by running the following commands:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
    Note: If your Windows installation is not on the C drive, replace "C" with the appropriate drive letter.
    regsvr32.exe /s atl.dll
    regsvr32.exe /s urlmon.dll
    regsvr32.exe /s mshtml.dll
    netsh winsock reset
    netsh winsock reset proxy
  • Restart the Windows Update-related services by running the following commands:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  • Reboot your computer.

How to fix kb5058515 fails to install in windows 11 reset windows update components
How to fix kb5058515 fails to install in windows 11 reset windows update components

Bottom line

To fix the installation failure of KB5058515, you can run the Windows Update Troubleshooter, free up storage space, temporarily disable third-party antivirus software, or reset Windows Update components. If these steps do not resolve the issue, consider using a repair tool for a more automated solution.

Frequently asked questions

Try running the Windows Update Troubleshooter to automatically detect and fix issues related to Windows updates. If that doesn't work, consider manually downloading the update from the Microsoft Update Catalog.

Yes, third-party antivirus software can interfere with the installation process of updates like KB5058515. Temporarily disabling your antivirus may help resolve the issue.

Yes, restarting your device can clear any temporary files or locks that may be preventing the installation of KB5058515 and allow the update to proceed.

Did this fix work for you?
Emma Collins

Written & verified by

Windows Performance Specialist
Windows performance Startup optimisation RAM and CPU tuning Disk cleanup Background process management

Emma Collins is a Windows performance specialist who focuses on diagnosing and resolving slow system issues, startup bottlenecks, and resource management problems. With over five years of experience, she has helped thousands of users reclaim PC speed without reinstalling Windows. Emma's guides cover background process cleanup, startup item management, advanced RAM optimisation, disk performance, and visual effects tuning. She approaches performance problems from first principles — measuring before and after each change so readers know exactly what impact each fix delivers.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →