Share This Post

Patch Management / Patch Tuesday

How to Block Automatic Installations of .NET Framework

Due to an issue, the Exchange team at Microsoft recently warned against installing a .NET update. Additionally, they provided steps to safely remove a .NET update and revert back to a known-good version. But, they also provided a nifty way to block future .NET Framework updates from automatically installing.

Here’s the steps:

  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 click the following subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP
  4. After you select this subkey, 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 BlockNetFramework47, and then press Enter.
  8. Right-click BlockNetFramework47, 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.

 

UPDATE: Microsoft now has a KB article created with these steps: KB4024204

 


Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in San Francisco in 2017!

IT/Dev Connections

Share This Post

Leave a Reply