error windows update 0x800f0905

Amine 31 Reputation points
2023-04-04T08:58:49.8133333+00:00

Hello Guys,  I have a problem while update windows server 2022 for the KB5023705 the download ok but installation failed  if someone have a solution or an advice  2023-03-31 14_17_09-Remote Desktop Manager [DC01SRV (FOX DOMAIN)]

2023-03-31 14_26_01-Remote Desktop Manager [DC01SRV (FOX DOMAIN)]

2023-04-03 11_48_07-Remote Desktop Manager [DC01SRV (FOX DOMAIN)]

I tried a lot of solution found:

  • restarting the windows 
  • windows update troubleshoot 
  • sfc /scannow and  DISM /Online /Cleanup-Image /RestoreHealth
  • install manually of the update  and Tried that solution by running theses commands  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  nothing work, still can't install this update Thank you in advance
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Gregor Jus 51 Reputation points
    2024-06-07T14:12:51.12+00:00

    Well, after more than a year, dozens rebuilt servers (where the issue came back sometimes), trying all possible bing/google solutions that exist... I found the one that solved it for all my servers! I sincerely hope it will work for you as well as I think I lost half of may hair...

    It looks like the issue lies within language pack (I couldn't find out if there is a specific one but I've seen with 2 different versions). No dsim, no packages, no changing serials, activations, etc...

    What I did was...

    1. Install additional language pack (e.g. if there was US-EN, I've added GB)
    2. Set the display language of the server to the newly installed language pack
    3. Restart the server, remove previous language pack (in my case US-EN) and restart again
    4. All of a sudden... updates are going through on dozens and dozens of servers...

    I hope it helps for you, too!

    10 people found this answer helpful.

  2. Limitless Technology 44,696 Reputation points
    2023-04-05T09:59:21.88+00:00
    Hello
    
    Thank you for your question and reaching out. I can understand you are  having query\issues related  to Windows update.
    
    1. Disable any Antivirus program or Windows firewall you may have for temporary purpose.
    
    2. Cleanup below Temp folders location -> Open Start -> Run -> Type below location one-by-one and press enter 
        ->  C:\Windows\Temp
        ->   %USERPROFILE%\AppData\Local\Temp
    
    3.  Run below DISM commands  from elevated prompt.
    
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online  /Cleanup-Image /RestoreHealth
    
    4. Run Check disk on your computer to verify health of your C:\ File system
    
    Chkdsk /f /r C:\
    
    5. Reset Windows update components using steps motioned in the url. 
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/deployment/additional-resources-for-windows-update
    
    
    --If the reply is helpful, please Upvote and Accept as answer--
    
    0 comments No comments

  3. AmaliaKalio 0 Reputation points
    2023-10-30T22:21:34.7833333+00:00

    Found my way here from a thread on SysNative.net. Had the same problem as Daryl in an earlier comment, where my trial edition of 2022 was converted to a full copy using:

    DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
    

    This problem has, unfortunately, been going on for over a year - but this is the first time I've managed to find other threads about it. I followed the troubleshooting steps for Windows update in page 2 of the previously linked thread to no avail. This is after running chkdsk c:\ /b , DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow, where the latter two were given multiple passes to be safe. Though, while running through the troubleshooting steps from SysNative, I saw references to %SystemRoot% - this did not exist on my system, so I added it to my environment variables. (Not sure if relevant, but adding in to be safe.)

    Alongside KB5031364, was also KB5030998 that was failing. Attempting to manually install the latter KB led to me discovering that it was split into two smaller KBs - one for .NET 4.8 and .NET 4.8.1. The manual install for the 4.8.1 KB failed, claiming a system incompatibility (despite the overarching KB showing up in Windows Update). Installing .NET 4.8.1 allowed this portion of the KB to patch it to go through. Pausing and unpausing updates finally cleared this from the list.

    This left KB5031364 failing on status 0x8007054f . This is fascinating, as this wasn't the error code it was previously throwing; however, the update history no longer shows the prior failure code, so I'm not sure where to find that. At this point, I attempted to use the built-in Windows Update troubleshooter, as well as following Microsoft's Windows Update troubleshooting steps.

    As of now, KB5031364 still refuses to budge.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.