Can't update Windows 2016 server, error 0x800705b4

bylars

Member
Joined
Nov 13, 2024
Posts
21
We're unable to patch a Windows 2016 server.


Both SFC and DISM fail:

C:\Windows\system32>sfc /scannow

Beginning system scan. This process will take some time.


Windows Resource Protection could not perform the requested operation.

C:\Windows\system32>Dism /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[== 4.5% ]
Error: 1450

Insufficient system resources exist to complete the requested service.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


ComponentScanner won't run, error it returns: (tried multiple reboots)

Loading registry hive from C:\Windows\System32\config\COMPONENTS
Hive is currently in use, making backup copy
Unhandled exception. System.IO.IOException: The process cannot access the file 'C:\Users\sysXX\AppData\Local\Temp\2\tmp8F65.tmp' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Core.Hive.Dispose()
at ComponentsScanner.Program.Main(String[] args)
at ComponentsScanner.Program.<Main>(String[] args)


Thank you for your help
 

Attachments

Hi @bylars,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hello and welcome,

Provide the Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to Gofile or WeTransfer and just provide the link here.


Option#2 (only if you are unable to follow the previous instructions)

  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
Your components hive has grown too large after the latest servicingstack update in September 2024, causing the most recent version only partial available in the registry.

Follow the instructions below to run a scan with the DISM tool and provide a log.
  1. Right-click the Start button and click Command prompt(Administrator).
  2. If you get a popup about UserAccountControl, allow the program to run.
  3. When command prompt opens, copy and paste the following commands into it, press enter after each.

    Code:
    dism /Online /Cleanup-Image /AnalyzeComponentStore
    Wait for this to finish before you continue
  4. Provide a screenshot of the result
 
It almost completed.
Restart the machine and run the dism command again.
 
Remove Update Manually
  1. Right-Click the Start button and click Command Prompt (Admin) on the list.
  2. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5043124
  3. Let me know if it says it was successful or if there are any errors.
 
Export Registry:
1. Open an elevated command prompt window.
3. Copy and paste the following into the command-prompt and hit enter.
reg query HKEY_LOCAL_MACHINE\COMPONENTS\ServicingStackVersions /s > "%USERPROFILE%\desktop\ssv.txt"
4. After the command runs there will be a file on your desktop named ssv.txt.
5. Attach this file to your next reply.
 
It looks like a lot of language packages are installed. Is that correct and why ?

FRST Registry Search
  1. Click the Start button and in the search box, type CMD
  2. When you see cmd.exe on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, press enter afterwards.

    Code:
    REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS

    Note: This loads your components hive which is what we want. Please keep the command prompt window open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  4. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  5. Right-click on the file FRST64.exe and choose Run as administrator.
  6. Copy and paste KB5043124 into the Search box and click the Search Registry button.
  7. When the scan is complete, a message will display that 'SearchReg.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'SearchReg.txt' to your next reply.
  8. You may close any remaining open windows now.
 
Unfortunately, a vendor installed this server, along with another identical one that is patching successfully. Idk why they installed a lot of language packs.

Attached is the SearchReg.txt file
 

Attachments

Please report the size of the file C:\Windows\System32\Config\components on the other server.

Step 1:
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the attachment fixlist.txt and save it to your desktop.
  2. Right-click on FRST64.exe and select "Run as administrator".
  3. Press the Fix button.
  4. The tool will now process fixlist.txt.
  5. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  6. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  7. Attach the logfile Fixlog.txt to your next reply.

Step 2:
Are you able to uninstall 1 of the unused language packs ?
 

Attachments

The size of components on the other server is 1.89 GB (2,032,402,432 bytes)

Fixlog.txt is attached.

I don't see why we can't uninstall the unused language packs.
 

Attachments

The size of components on the other server is 1.89 GB (2,032,402,432 bytes)
That is still good but is almost at the maximum limit of 2GB.

Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the attachment fixlist.txt and save it to your desktop.
  2. Right-click on FRST64.exe and select "Run as administrator".
  3. Press the Fix button.
  4. The tool will now process fixlist.txt.
  5. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  6. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  7. Attach the logfile Fixlog.txt to your next reply.
 

Attachments

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top