(KB5039211) refuses to install

Anonymous
2024-06-15T23:34:48+00:00

2024-06 Cumulative Update for Windows 10 Version 22H2 for x64-based Systems (KB5039211)

This update will not successfully apply, goes through the usual dialogs only to fail on restart and undo the changes.

I've tried SFC and DISM with no results.

Any help is appreciated.

Thanks in advance.

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

56 answers

Sort by: Newest
  1. Anonymous
    2024-06-17T22:29:22+00:00

    Let's try Safe Mode for installing the update itself.

    To do this, you go back to the System Configuration Boot tab and check Safe mode, but this time choose "Network". This will boot into Safe Mode with Networking. Run the KB file that you downloaded to install manually in Safe Mode.

    Regards,

    David N.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-06-17T22:12:50+00:00

    Safe mode did the trick, I opened CMD as admin in normal mode but it doesn't start with SYSTEM directory, only my local account.

    I tried all of your suggestions will no success unfortunately. It still fails on the restart and has to to revert the update.

    Any other tricks you can provide me?

    Thank you.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-06-17T21:33:43+00:00

    This is odd, as turning off those services should have ensured that nothing was touching those directories. Did you open the command prompt as admin?

    If you did run the command prompt as Admin, then we will have to avoid any possible interference. Let's try this:

    1. Choose Start and type "msconfig". Open System Configuration.
    2. On the Boot tab, choose Safe Mode, click OK, and reboot.

    When you boot back into Windows you will be in Safe Mode. Open a command prompt as admin and run those commands again. This should allow the commands to work and reset Windows Update.

    Please let me know if this works or if you require additional assistance.

    Regards,

    David N.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-06-17T21:19:40+00:00

    Thank you!

    The logs are giving us a general direction to look to as to why this update is failing, though not the exact cause. There are indications that this difficulty is related to Windows Update having difficulties with networking. That being the case we can do a reset that includes the networking components which might be giving difficulties.

    Follow the commands that I gave before for reaching the Command Prompt as admin. Enter these lines one at a time to reregister the related networking components while resettings Windows Update. Note any errors, but errors are not uncommon when running this and can probably be ignored.

    net stop bits BITS is not started.
    net stop wuauserv Windows Update service is not started.
    net stop appidsvc The Application identify service is not started.
    net stop cryptsvc The Cryptographic Services service was stopped successfully.
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
    rmdir %systemroot%\SoftwareDistribution /S /Q
    rmdir %systemroot%\system32\catroot2 /S /Q

    C:\WINDOWS\system32\catroot2{127D0~1\catdb - The process cannot access the file because it is being used by another process.C:\WINDOWS\system32\catroot2{127D0~1\catdb.jfm - The process cannot access the file because it is being used by another process.C:\WINDOWS\system32\catroot2{F750E~1\catdb - The process cannot access the file because it is being used by another process.C:\WINDOWS\system32\catroot2{F750E~1\catdb.jfm - The process cannot access the file because it is being used by another process.

    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

    Once done, reboot and see if that resolved the issue.

    Regards,
    David N.

    These were the only errors, unless you count those first 3 services that were all already stopped.

    C:\WINDOWS\system32>rmdir %systemroot%\system32\catroot2 /S /Q
    C:\WINDOWS\system32\catroot2{127D0~1\catdb - The process cannot access the file because it is being used by another process.
    C:\WINDOWS\system32\catroot2{127D0~1\catdb.jfm - The process cannot access the file because it is being used by another process.
    C:\WINDOWS\system32\catroot2{F750E~1\catdb - The process cannot access the file because it is being used by another process.
    C:\WINDOWS\system32\catroot2{F750E~1\catdb.jfm - The process cannot access the file because it is being used by another process.

    Thank you.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-06-17T20:43:37+00:00

    Thank you!

    The logs are giving us a general direction to look to as to why this update is failing, though not the exact cause. There are indications that this difficulty is related to Windows Update having difficulties with networking. That being the case we can do a reset that includes the networking components which might be giving difficulties.

    Follow the commands that I gave before for reaching the Command Prompt as admin. Enter these lines one at a time to reregister the related networking components while resettings Windows Update. Note any errors, but errors are not uncommon when running this and can probably be ignored.

    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

    Once done, reboot and see if that resolved the issue.

    Regards,

    David N.

    Was this answer helpful?

    0 comments No comments