[SOLVED] Server 2016 feature removal failure with sfc corruption

sard

Member
Joined
Oct 4, 2024
Posts
9
Hello,

I'm attempting to run the feature removal wizard for a server 2016 server but it fails feature removal with the error:

"The request to add or remove features on the specified server failed. Removal of one or more roles, role services, or features failed. The referenced assembly could not be found. Error: 0x80073701"

sfc /scannow returns:

"Windows Resource Protection found corrupt files but was unable to fix some of them."

DISM fix gives:
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:WIM:d:\sources\install.wim:2

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================]
Error: 1734

The array bounds are invalid.

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

Windows updates however, says everything has been installed successfully (up to 10-2024 cumulative update) however the CBS.log file references corrupt windows updates.

I have tried running:
C:\Windows\system32>wusa /uninstall /KB:4499177
C:\Windows\system32>wusa /uninstall /KB:4505052

But both were stated "KB not installed"

I'm attaching the windows log folder, and the component scan log file. Thank you for the help!
 

Attachments

Hi @sard,

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
 
Hi and welcome to Sysnative,

Follow these instructions to remove an update.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following command into it, then press enter.
Code:
wusa /uninstall /KB:4499177
  • Let me know if it says it was successful or you get the message: The update KB4499177 is not installed on this computer.
 
Hi and welcome to Sysnative,

Follow these instructions to remove an update.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following command into it, then press enter.
Code:
wusa /uninstall /KB:4499177
  • Let me know if it says it was successful or you get the message: The update KB4499177 is not installed on this computer.
Thank you for the help Maxstar!

It unfortunately said "the update KB4499177 is not installed on this computer"
 
Hi,

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Open the startmenu and type the command cmd.
  • After you find the Command Prompt, right click on it and select Run as Administrator.
  • Copy and paste the following into the Command Prompt and press enter.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
Right-click on the file FRST64.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Registry button.
Code:
KB4499177
  • When the scan is complete, a message will display that SearchReg.txt is saved in the same folder FRST was started from.
  • Post the logfile SearchReg.txt as attachment in your next reply.
 
Hi,

Start the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool again.

Warning: This script was written specifically for this system. Do not run this script on another system.
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.
 

Attachments

Great, please do the same for KB4505052.

1. Start the
55d04c7d453ca-Command_prompt_icon_%28windows%29.png
Command Prompt as administrator.
  • Open the startmenu and type the command cmd.
  • After you find the Command Prompt, right click on it and select Run as Administrator.
  • Copy and paste the following into the Command Prompt and press enter.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
2.Right-click on the file
577bf0efb8088-FRST.png
FRST.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Registry button.
Code:
KB4505052
  • When the scan is complete, a message will display that SearchReg.txt is saved in the same folder FRST was started from.
  • Post the logfile SearchReg.txt as attachment in your next reply.
 
Start the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool again.

Warning: This script was written specifically for this system. Do not run this script on another system.
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.

Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

File attached!
 

Attachments

sfc /scannow resulted in this:

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files and successfully repaired
them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

Feature removal still didn't work, attaching CBS logs
 

Attachments

After another sfc /scannow completed, I attempted to remove the role that was installed and it worked! Issue is resolved. Thank you so much for your help.
 

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

Back
Top