In this post we will see how to temporarily block the installation of the .NET Framework. If your business is not ready to update and install the latest version of .NET Framework on Windows system, then you may block its installation.
The Microsoft .NET Framework is a software framework that can be installed on computers running Microsoft Windows operating systems. It includes a large library of coded solutions to common programming problems and a virtual machine that manages the execution of programs written specifically for the framework.
Block installation of .NET Framework
The .NET Framework update or in-place upgrade is typically offered via Windows Update and Windows Server Update Services (WSUS), but it is also available as a web or offline installer downloads
While it is not recommended that you block the installation of any new version of .NET Framework, if you have compelling reasons to do so in environments where the Automatic Updates feature is enabled, then you can modify the registry in the fashion shown, to temporarily block the installation of the .NET Framework.
As an example, let us say you want to temporarily block the installation of .NET Framework v4.5.2.
To block its installation, do the following.
Run regedit to open the Registry Editor. Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP
Right-click on NDP and create a New Key and give it a name WU.
Next right-click on WU key > New > DWORD. Give it a name BlockNetFramework452. In the Value data box, type 1, and then click OK.
The digits 452 refer to the .NET version 4.52. For instance if you want to block v4 then create a DWORD value BlockNetFramework4. If it is v4.5.1, create a DWORD BlockNetFramework451.
Hope this works for you.
If you need to find the version details of your .NET installation, you may also download and use freeware portable tool like .NET Version Detector for Windows.