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
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.2Important 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.
- Back up the registry.
- Start Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press Enter.
- Locate and then click the following subkey:HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP
- After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click Key.
- Type WU, and then press Enter.
- Right-click WU, point to New, and then click DWORD Value.
- Type BlockNetFramework452, and then press Enter.
- Right-click BlockNetFramework452, and then click Modify.
- In the Value data box, type 1, and then click OK.
- On the File menu, click Exit to exit Registry Editor.
ID članka: 2971109 - Poslednji pregled: 16.02.2015. - Verzija: 1