This article descries how to temporarily block the installation of the .NET Framework 4.5.2. For the detailed steps, see How to temporarily block the installation of the .NET Framework 4.5.2.

About the .NET Framework 4.5.2

The Microsoft .NET Framework 4.5.2 is an in-place upgrade to the Microsoft .NET Framework 4, the Microsoft .NET Framework 4.5, and the Microsoft .NET Framework 4.5.1. Microsoft will release this upgrade through Windows Update. Some customers may have a business requirement to block the automatic installation of the .NET Framework 4.5.2 in their managed environment. This article describes how to perform this blocking action. This method is applicable for computers that are running one of the following operating systems:

  • Windows Vista Service Pack 2 (SP2)

  • Windows 7 Service Pack 1 (SP1)

  • Windows 8

  • Windows 8.1

  • Windows Server 2008 SP2

  • Windows Server 2008 R2 SP1

  • Windows Server 2012

  • Windows Server 2012 R2

  • Windows RT

  • Windows RT 8.1

Note After you complete the steps in the "Resolution" section, the .NET Framework 4.5.2 and its corresponding language packs will no longer be offered through Windows Update.

Resolution

The .NET Framework 4.5.2 will be available through Windows Update and Windows Server Update Services (WSUS). The .NET Framework 4.5.2 will be categorized as a recommended update on all applicable platforms. Important We strongly recommend that you do not block the installation of the .NET Framework 4.5.2. However, you may have a business reason to temporarily block the installation. For example, you may require more time to test line-of-business applications in your environment. In such a case, you can modify the registry to temporarily block this installation.

How to temporarily block the installation of the .NET Framework 4.5.2

Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restorationin case problems occur.Note For security, stability, reliability, and servicing reasons, we recommend that you do not maintain this block for an extended time.

  1. Back up the registry.

  2. Start Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press Enter.

  3. Locate and then click the following subkey:

    HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP

  4. After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click Key.

  5. Type WU, and then press Enter.

  6. Right-click WU, point to New, and then click DWORD Value.

  7. Type BlockNetFramework452, and then press Enter.

  8. Right-click BlockNetFramework452, and then click Modify.

  9. In the Value data box, type 1, and then click OK.

  10. On the File menu, click Exit to exit Registry Editor.

Note Organizations do not have to modify the registry in environments that are managed by using an update management solution, such as Microsoft WSUS or Microsoft System Center Configuration Manager. Organizations can use these products to fully manage the deployment of updates that are released through Windows Update or through Microsoft Update. The procedure that is discussed in this article is necessary only for computers that directly connect to and receive updates from Windows Update.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.