Let’s understand how to fix ConfigMgr security updates installation failed errors. You might be already aware of the process of building Software update packages in SCCM. ConfigMgr also has a feature to update non-Microsoft applications. Intune also has a feature to deploy security patches through Windows Update for Business.
Installation of the Dot Net Security Updates failed through SCCM. The error message could be seen on the Software center: installation failed for .NET Framework 4.5 Security Updates. I try to share my experience in solving this .NET problem.
Also, you can understand what are the different methods to install the Dot NET framework in Window 10 device in the following post. Install .NET Framework 3.5 in Windows 10 | Quick Easy Way.
Microsoft .NET Framework is one of the most popular application development platforms. C# and ASP.NET frameworks are used by millions of developers for building “Windows client applications, XML Web services, distributed components” and so on. It’s no surprise that ensuring the top-notch performance of .NET applications is a foremost need for most application owners and developers.
Wondering that why we are talking about .NET Framework here in the SCCM post? Ok, So let me clarify. We have been getting a lot of questions lately related to .NET Framework patches deployed through SCCM & failed to install.
It’s still uncertain about who should troubleshoot it if any of the .NET patches failed to install. So it’s no big deal. If other security patches related to OS are getting installed if deployed using SCCM then you do the math.
Several organizations have “Single Point Of Contact” for both the “SCCM & Windows Server platform” so this post will be helpful for them. Without further delays let’s start.
SCOPE: Installation of the following Security Updates failed through SCCM. The error message could be seen on the Software center: installation failed for .NET Framework 4.5 Security Updates
Objective==To install the Security updates related to .NET on the servers.
Checked SCCM CACHE path where the failed security updates installer setup was found. C:\Windows\CCMCACHE.
Tried installing those updates from CACHE manually and got the error “Installation wizard doesn’t apply or is blocked by another condition on your computer”. This is a generic error and doesn’t give us much. MS has already published several methods and a few which can be seen in several MS articles are mentioned below:
Run the Windows Update troubleshooter.
Disable the security software temporarily.
Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do have to temporarily disable it to install other software, you should re-enable it as soon as you’re done. If you are connected to the Internet or a network during the time your antivirus software is disabled, your computer is vulnerable to attacks.
Put the computer in a clean boot state before proceeding with the installation of windows update and install one update at a time and check which update is causing the issue.
Note: After installation of windows update, follow Step 7 in the provided link to return your computer to Normal startup mode.
You can also install the updates (KB number) manually by downloading from Microsoft download center.
So you followed all 3 methods and back to square. Now what? I mean you followed everything and still .NET patch fails.
Then we check with the server owner if we can repair .NET from ARP (Add & Remove Program). When you do that then installer asks us to point it to the working directory but you don’t have it. A few MS websites recommend to repair .NET by following the link below:
The website leads us to “NetFxRepairTool“ and the advantage is it repairs all the versions of .NET installed on that server. This also has 50-50. Sometimes the issue gets fixed permanently and in some cases, it comes back in the next month’s patching cycle.
So the first think i would like to know is that why the repair failed when we initiated to repair .NET from ARP. That’s because no installer cache for .NET under c:\Windows\Installer. Please refer the below article:
Missing Windows Installer Cache Files Will Require a Computer Rebuild. https://support.microsoft.com/en-us/kb/2667628
One of the MS Tech Heath Stewart has explained it very briefly. The page talks about Visual Studio but it applies in our case too. Link https://devblogs.microsoft.com/setup/update-does-not-apply-or-is-blocked-by-another-condition-on-your-computer/
Solution – ConfigMgr Security Updates Installation Failed
Uninstalled .NET Framework (All Version) from the machine. Downloaded the full package from the following site:
Fresh installation was done for .NET Framework on the server. The security patch installation for .NET was successful.
NOTE: In case of uninstallation failed please use .NET cleanup tool (Link given below) to remove all the versions of .NET installed in the server. Please take the approval from application owner before you perform this action. https://www.microsoft.com/en-in/download/details.aspx?id=5942
Disclaimer – The information provided on the site is for general informational purposes only. All information on the site is provided in good faith, however, we make no representation or warranty of any kind, express or implied regarding the accuracy, adequacy, validity, reliability, availability, or completeness of any information on the website.
- Download software updates – https://docs.microsoft.com/en-us/configmgr/sum/deploy-use/download-software-updates
- Deploy software updates – https://docs.microsoft.com/en-us/configmgr/sum/deploy-use/deploy-software-updates
- Setup SCCM Third-Party Patching Video Experience