Currently, people are complaining about KB5013942 failing to install on Windows these days. It is typical for the Windows update to return an error or fail to install the upgrade for a variety of reasons. Because the download and installation of updates require a reliable internet connection, installations like this might become stuck. When an update fails to install on Windows with the Error 0x800f0845, it may indicate that certain changed or damaged files are required but are not found. This data corruption or missing devices and driver files might cause the Windows upgrade to fail.
Another issue that may contribute to these issues and user complaints online refers to security software, third-party apps such as security software, or VPN technologies. Inadequate disk space before installing the upgrade might also fail a specific update, such as KB5013942. In this article, we will look at “How to fix KB5013942 fails to install on Windows?”
How to fix KB5013942 fails to install on Windows
Running the Update Assistant:
Sometimes you will find that installing the Windows 10 Update Assistant function will enable you to install Update KB5013942 on your Windows 10 system without any issues. Follow the appropriate steps to run the update assistant on the device:
Step 1: To begin, open a web browser and navigate to the Windows 10 Update Assistant homepage.
Step 2: In the newly created window, click the “Update Now” button and follow the on-screen instructions to complete the task.
Step 3: Finally, restart the machine and install the current update again.
Uninstalling Windows Update Files:
Follow the appropriate steps to clear the Windows Update files in the device:
Step 1: Enter services.msc into the start menu search box.
Step 2: Locate the Windows update service by scrolling down and stopping by right-clicking.
Step 3: Do the same for its related support BITS (Background Intelligent Transfer Service).
Step 4: Now, press Windows + E on your keyboard and go to the following address.
C:\\Windows\\SoftwareDistribution\\Download
Step 5: To delete the folder, click CTRL + A to select everything and then delete the contents.
Step 6: Reopen Windows Services and restart any previously halted services.
Running the DISM command and System File Checker:
Follow the appropriate steps to run the DISM command and system file checker in the device:
Step 1: Search for CMD.
Step 2: Launch the command prompt as an administrator.
Step 3: Enter the DISM /Online /Cleanup-Image /RestoreHealth.
Step 4: Press the Enter key.
Step 5: When the scanning is finished, use the system file checker tool command sfc /scannow.
Step 6: Wait until the scanning procedure is finished before restarting your computer.
Step 7: Update the machine again.
Installing the Media Creation Tool for Windows 10:
Installing the Windows 10 Media Creation Tool is another option for installing Update KB5013942 on your Windows 10. Follow the appropriate steps to install the media creation tool on the device:
Step 1: To begin, open a web browser and go to the Windows 10 Media Creation Tool website.
Step 2: Click the Download tool now an option on the new screen, under the Create Windows 10 Installation Media section.
Step 3: When the process is finished, restart the machine and attempt again to install the current update.
Resetting the Windows Update Component:
Most of the time, merely resetting all Windows Update Components will resolve any bugs that are preventing you from installing Update KB5013942 on your Windows 10. Follow the appropriate steps to reset the Windows Update Component in the device:
Step 1: Firstly, type ‘cmd’ into the search box to launch the Command Prompt window with admin rights.
Step 2: Enter the following commands in the text space of the new window:
SC config trustedinstaller start=auto
net stop bits
net stop wuauserv
net stop msiserver
net stop cryptsvc
net stop appidsvc
Ren %Systemroot%\
SoftwareDistribution SoftwareDistribution.old
Ren %Systemroot%\System32\catroot2 catroot2.old
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dl
l regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN
dism /Online /Cleanup-image /ScanHealth
dism /Online /Cleanup-image /CheckHealth
dism /Online /Cleanup-image /RestoreHealth
dism /Online /Cleanup-image /StartComponentCleanup
Sfc /ScanNow
net start bits
net start wuauserv
net start msiserver
net start cryptsvc
net start appidsvc
Step 3: If you have performed all of the following actions, exit the screen, restart the machine, and try to install the current update once again.