How to Block Automatic Installation 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 are the steps:

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

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s