Fix KB5031356 Failed to install with error in Windows 10 22H2

Best solutions to KB5031356 is not installing and showing 8007000d, or other error codes, or stuck at a certain percentage in Windows 10H2.

KB5031356 Failed to install

Windows updates are an essential part of an operating system but sometimes installing it is a challenging task. The same happens with October 2023 security update as you can not receive it easily. You might be facing KB5031356 failed to install with some error such as 0x8007000d or other. Several users report that the update is stuck on a certain percent and finally, it fails. If you are also encountering these issues carefully follow the methods in this post.

KB5031356 not installing problem can occur when internet is weak, Windows update cache is damaged, certain service is not configured properly, and third-party antivirus program is interfering with the process. In some cases, less amount of free space, corrupted system files, and DNS settings may also trigger this issue.

KB5031356 is Failed to install in Windows 10 22H2

Here is how to fix KB5031356 Failed to install with error in Windows 10 22H2:

Use the alternate option – Manual Install

Apart from automatic update process, there is another option available that provides you the chance to receive the patch manually. Standalone packages of the optional and driver updates are hosted on the official storehouse of Microsoft allowing you to install them. From here, you can download KB5031356 and install it easily:

  1. Visit Microsoft’s Update Catalog.
  2. Choose the version that matches your Windows specs.
  3. For this, right-click Start, and go to System.
  4. Select About and check System type (64-bit/32-bit).
  5. Back to the website and find the matching update.
  6. Click on Download button for that.
how to fix KB5031356 Failed to install with error in Windows 10 22H2
  1. A page will prompt; click the link to Standalone package.
  2. Right-click on the .msu file downloaded on your computer.
  3. Select Install and confirm the prompt.

See: How to Download and Install Update from Microsoft update catalog on Windows 11/10

Run Windows Update Troubleshooter

Another essential way to resolve the KB5031356 failed to install error is to rely on the Windows update troubleshooter as it automatically discovers and solves the common issues that might impede the process.

  1. Go to Settings > Update & Security > Troubleshoot.
  2. Select Additional troubleshooters.
  3. Click on Windows Update.
  4. Then, Run the troubleshooter.
  5. It will diagnose and repair issues, clear the cache, and check for updates.
  6. Restart your computer and try installing the patch.

Reset Windows Update Components

Trying this option can turn out to be very crucial as it aids in removing corrupted update files, followed by resetting the update services which leads to resolving potential conflicts such as the one mentioned above and allows for a fresh start for your Windows 10.

  1. Press Windows + Q and type cmd.
  2. Select Run as administrator to open Command Prompt (Admin).
  3. Copy and paste the following commands, then press Enter for each:
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*”
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
Reset Windows Update Components net stop wuauserv on the command prompt
  1. Restart your system.

Read: How to Reset Windows Update to Default in Windows 10

Utilize SFC Scan and DISM Commands

Running an SFC (System File Checker) scan and utilizing DISM (Deployment Image Service and Management Tool) commands can be invaluable in resolving the aforementioned update issues. SFC, scans for and repairs corrupted or missing system files, a crucial step as damaged files can disrupt updates.

Moreover, this process ensures the essential Windows files are healthy, reducing update failure risks. On the other hand, DISM commands are used to repair the Windows image, including the OS and its components. So, for employing both SFC and DISM commands follow this procedure:

  1. Open Command Prompt as administrator as mentioned in the previous method.
  2. Type the following command and press Enter: SFC /SCANNOW
  3. Wait for completion.
  4. Execute the following command lines sequentially.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
fix KB5031356 Failed to install
  1. Wait for the process to finish.
  2. Reboot your system.

Temporarily Pause or Disable Third-party Antivirus

Your antivirus software may be hindering the Windows update process due to its inability to differentiate the core update files. So, it is better to temporarily disable it by following the below-mentioned steps:

  1. Find the antivirus icon in the system tray.
  2. Right-click on the “icon”.
  3. Look for an option to Disable or Pause the antivirus and select it.
  4. Set a time frame (if available) or choose Until I turn it back on.
  5. Confirm your choice.
  6. Install the Windows update.
  7. Re-enable the antivirus after the update is installed by right-clicking the icon and selecting Enable or Resume Protection.

Reinitiate Key Services

If you still battling with the KB5031356 failed to install problem, you might want to restart the relevant services as these services include the Windows update service, BITS (Background Intelligent Transfer Service), and the Cryptographic service.

By reinitializing them, you ensure that the pivotal components for downloading and installing updates are in running status.

  1. Type Services in Windows search and press Enter.
  2. Find Background Intelligent Transfer Service.
  3. Right-click and select Restart if it’s running.
  4. If not, double-click it, and set Startup type to Automatic.
  5. Click Start, then Apply, and OK.
Background intelligent transfer service automatic start apply ok
  1. Repeat for Windows Update and Cryptographic services.

Clear Disk Space

Freeing up drive space is an important way to fix the problem of the October 2023 update. This solution ensures that the Windows 10 update has enough room to download and install properly, preventing installation failures due to insufficient storage as adequate disk space is essential for a seamless update process.

  1. Press Win + S and search for Disk Cleanup.
  2. Choose your drive (usually C:).
  3. Focus on Windows Update Cleanup and other sections like Temporary Files.
  4. Select OK to clean the selected categories.

Check Internet Connection

It is one of the most basic solutions to fix the KB related error in your Windows as interruptions in your Internet connection can be the main reason, so do follow the procedure:

  1. Switch off the router and stay for 10 or more seconds, Turn on the device, connect to the internet again, and then check for updates.

If the internet connection is not working or creating any severe issues then reset it:

  1. Press Winkey + I.
  2. Click on Network & Internet.
  3. Head to the right side of the Settings page, scroll down, and click on Advanced network settings.
  4. Select Network reset.
  5. From the following screen, click on Reset now.
  6. A confirmation dialog will appear; select Yes.
  7. After the process is completed, try to install it once again.

Reset Windows Update Directory

This particular function can also turn out to be potent in resolving the KB5031356  failed to install problem as it removes the cached files and data that may be causing update conflicts and ensuring a cleaner and more effective update process:

  1. Press Windows + R.
  2. Type services.msc and click OK.
  3. Open the Windows services console.
  4. Locate the Windows Update service, right-click, and select Stop.
  5. In File Explorer, go to C:\Windows\SoftwareDistribution\Download.
  6. Delete all the files and folders.
fix KB5031356 Failed to install in Windows 11
  1. Don’t worry; fresh files will be downloaded from Microsoft.
  2. In the services console, find Windows update, right-click, and select Start.
  3. Open Windows update and check for updates.

Modify Alternate and Preferred DNS Settings

Utilize this way as it will effectively resolve your network-related problems like the one mentioned above, enhance your system’s ability to connect to update servers, and ensure a smoother update process:

  1. Press the Windows key + R.
  2. Type ncpa.cpl and click OK.
  3. Right-click the active network adapter and choose properties.
  4. Select Internet Protocol version 4 (TCP/IPV4) and click properties.
  5. Choose the radio button and set the Preferred DNS server to 8.8.8.8 and the Alternate DNS server to 8.8.4.4.
  6. Alternatively, use 1.1.1.1 and 1.0.0.1 for Cloudflare. Click OK.
  7. Retry Windows Update.

Use Media Creation Tool

This tool can address this issue as it will allow you to perform a manual update installation, bypassing potential update hurdles and ensuring a smooth Windows 10 22H2 update:

  1. Download Windows 10 installation media from Microsoft’s website.
  2. Run the installer as an administrator.
  3. Agree to the terms and click Next.
  4. Choose Upgrade this PC and click Next.
  5. Wait for file downloads to complete and then try updating.

Update: This is also a known issue for the update: Release health

Methods:
Use the alternate option – Manual Install
Run Windows Update Troubleshooter
Reset Windows Update Components
Utilize SFC Scan and DISM Commands
Temporarily Pause or Disable Third-party Antivirus
Reinitiate Key Services
Clear Disk Space
Check Internet Connection
Reset Windows Update Directory
Modify Alternate and Preferred DNS Settings
Use Media Creation Tool

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows