[SOLVED] Cannot install .Net Framework features on Windows server 2019

skharlamov

Member
Joined
May 8, 2025
Posts
28
Hello, recenly we have started installation of Microsoft Exchange cumulative update 15 using our automation and on step "Desktop experience prerequisite check" the task fails. Basically this role checks the presence of necessary Windows roles, features and components and in case they are not installed it tries to install them. Once of the components is called NET-Framework-45-Features and one of its components is MSMQ services. At this point it fails to install MSMQ services because of error "Assembly not found".
We fix it by searching CBS logs and if we find something like "Info CBS Failed to pin deployment while resolving Update: Package_4254_for_KB5017315~31bf3856ad364e35~amd64~10.0.1.5.5017315-7836_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]" we download this KB, and run the following:
expand C:\xfer\windows10.0-kb5017315-x64_611c310985bee4d193a714e702a47b5422918914.msu /f:* C:\xfer\kb5017315
dism /online /add-package /packagepath:C:\xfer\kb5017315\SSU-17763.3232-x64.cab #SSU package needs to be installed first
dism /online /add-package /packagepath:C:\xfer\kb5017315\Windows10.0-kb5017315-x64.cab
after that run
  • Install-WindowsFeature NET-Framework-45-Features
and issue is resolved. However there are cases when KB no longer exists in Microsoft update catalog so we cannot download it and fix MSMQ installation. What can be done to fix it? Particular KB which is missing is kb4551853. What can be done about it? Is there some file server where all MS KBs are stored?
 
Hi @skharlamov,

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:4551853
  • Let me know if it says it was successful or you get the message: The update KB4551853 is not installed on this computer.
 
Hello, thank you for your reply, running this command resulted in This update is not installed on this computer.
 
Last edited by a moderator:
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:
KB4551853
  • 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.
Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:
 
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 FRST64.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.

Afterwards try to install the .NET features and post the result. If it fails attach a new copy of the CBS logs.
 

Attachments

Hello, thank you so much, your fix worked and I was able to install .NET features
PS C:\Users\skharlamov-a> Install-WindowsFeature NET-Framework-45-Features

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {Message Queuing, Message Queuing Server, ...

I have 3 more servers to fix with different missing KBs, may I ask you to check them as well or should I create a separate thread?
 

Attachments

You're welcome. I assume the other servers are based on the same template / image so please the CBS log for one of the other servers first to look at.
 
Step 1. Try to uninstall the following update:
Code:
wusa /uninstall /KB:4551853
When you get the message: The update KB******* is not installed on this computer, then perform step 2.

Step 2.
1. Open a elevated command prompt and run the following command (to be sure that the COMPONENTS hive is loaded).
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
2. Open FRST64.exe as administrator and perform a registry search for:
Code:
KB4551853
3. Attach SearchReg.txt 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 FRST64.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.

Afterwards try to install the .NET features and post the result. If it fails attach a new copy of the CBS logs.
 

Attachments

Step 1. Try to uninstall the following update:
Code:
wusa /uninstall /KB:4561608
When you get the message: The update KB******* is not installed on this computer, then perform step 2.

Step 2.
1. Open a elevated command prompt and run the following command (to be sure that the COMPONENTS hive is loaded).
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
2. Open FRST64.exe as administrator and perform a registry search for:
Code:
KB4561608
3. Attach SearchReg.txt 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 FRST64.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.

Afterwards try to install the .NET features and post the result. If it fails attach a new copy of the CBS logs.
 

Attachments

Step 1. Try to uninstall the following update:
Code:
wusa /uninstall /KB:5007206
When you get the message: The update KB******* is not installed on this computer, then perform step 2.

Step 2.
1. Open a elevated command prompt and run the following command (to be sure that the COMPONENTS hive is loaded).
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
2. Open FRST64.exe as administrator and perform a registry search for:
Code:
KB5007206
3. Attach SearchReg.txt in your next reply.
 

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

Back
Top