.NET Framework 4.7 and Exchange Server

Published Jun 13 2017 07:06 AM 140K Views

Update 6/15/2017: Added a clarification that .Net Framework 4.7 has shipped and that we are still validating this release with Exchange Server.

We wanted to post a quick note to call out that our friends in .NET have released the .NET Framework 4.7 to Windows Update for client and server operating systems it supports. We are in the process of validating Exchange Server on the .NET Framework 4.7, but the work is not yet complete. We will be sure to release additional information and update the Exchange supportability matrix when .NET Framework 4.7 is supported with Exchange Server. We are working with the .NET team to ensure that Exchange customers have a smooth transition to .NET Framework 4.7, but in the meantime, please delay this particular .NET update on your Exchange servers. Information on how this block can be accomplished can be found in article 4024204, How to temporarily block the installation of the .NET Framework 4.7.

It’s too late, I installed it. What do I do now?

If .NET Framework 4.7 was already installed, we recommend you back to .NET Framework 4.6.2 Here are the steps:

Note: These instructions assume you are running the latest Exchange 2016 Cumulative Update or the latest Exchange 2013 Cumulative Update as well as .NET Framework 4.6.2 prior to the upgrade to .NET Framework 4.7 at the time this article was drafted. If you were running a version of .NET Framework other than 4.6.2 or an older version of Exchange prior to the upgrade of .NET Framework 4.7, then please refer to the Exchange Supportability Matrix to validate what version of .NET Framework you need to roll back to and update the steps below accordingly. This may mean using different offline/web installers or looking for different names in Windows Update based on the version of .NET Framework you are attempting to roll back to if it is something other than .NET Framework 4.6.2.

1. If the server has already updated to .NET Framework 4.7 and has not rebooted yet, then reboot now to allow the installation to complete. 2. Stop all running services related to Exchange.  You can run the following cmdlet from Exchange Management Shell to accomplish this:

(Test-ServiceHealth).ServicesRunning | %{Stop-Service $_ -Force}

3. Depending on your operating system you may be looking for slightly different package names to uninstall .NET Framework 4.7.  Uninstall the appropriate update.  Reboot when prompted.
  • On Windows 7 SP1 / Windows Server 2008 R2 SP1, you will see the Microsoft .NET Framework 4.7 as an installed product under Programs and Features in Control Panel.
  • On Windows Server 2012 you can find this as Update for Microsoft Windows (KB3186505) under Installed Updates in Control Panel.
  • On Windows 8.1 / Windows Server 2012 R2 you can find this as Update for Microsoft Windows (KB3186539) under Installed Updates in Control Panel.
  • On Windows 10 Anniversary Update and Windows Server 2016 you can find this as Update for Microsoft Windows (KB3186568) under Installed Updates in Control Panel.
4. After rebooting check the version of the .NET Framework and verify that it is again showing version 4.6.2.  You may use this method to determine what version of .NET Framework is installed on a machine. If it shows a version prior to 4.6.2 go to Windows Update, check for updates, and install .NET Framework 4.6.2.  If .NET Framework 4.6.2 is no longer being offered via Windows Update, then you may need to use the Offline Installer or the Web Installer. Reboot when prompted.  If the machine does show .NET Framework 4.6.2 proceed to step 5. 5. After confirming .NET Framework 4.6.2 is again installed, stop Exchange services using the command from step 2.  Then, run a repair of .NET 4.6.2 by downloading the offline installer, running setup, and choosing the repair option.  Reboot when setup is complete. 6. Apply any security updates specifically for .NET 4.6.2 by going to Windows update, checking for updates, and installing any security updates found.  Reboot after installation. 7. After reboot verify that the .NET Framework version is 4.6.2 and that all security updates are installed. 8. Follow the steps here to block future automatic installations of .NET Framework 4.7: The Exchange Team
87 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-606871%22%20slang%3D%22en-US%22%3E.NET%20Framework%204.7%20and%20Exchange%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-606871%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%20class%3D%22alert%22%3E%3CSTRONG%3EUpdate%206%2F15%2F2017%3A%3C%2FSTRONG%3E%20Added%20a%20clarification%20that%20.Net%20Framework%204.7%20has%20shipped%20and%20that%20we%20are%20still%20validating%20this%20release%20with%20Exchange%20Server.%3C%2FP%3EWe%20wanted%20to%20post%20a%20quick%20note%20to%20call%20out%20that%20our%20friends%20in%20.NET%20have%20released%20the%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fdotnet%2F2017%2F06%2F13%2Fmicrosoft-net-framework-4-7-is-available-on-windows-update-wsus-and-mu-catalog%2F%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3E.NET%20Framework%204.7%20to%20Windows%20Update%3C%2FA%3E%20for%20client%20and%20server%20operating%20systems%20it%20supports.%20We%20are%20in%20the%20process%20of%20validating%20Exchange%20Server%20on%20the%20.NET%20Framework%204.7%2C%20but%20the%20work%20is%20not%20yet%20complete.%20We%20will%20be%20sure%20to%20release%20additional%20information%20and%20update%20the%20Exchange%20supportability%20matrix%20when%20.NET%20Framework%204.7%20is%20supported%20with%20Exchange%20Server.%20We%20are%20working%20with%20the%20.NET%20team%20to%20ensure%20that%20Exchange%20customers%20have%20a%20smooth%20transition%20to%20.NET%20Framework%204.7%2C%20but%20in%20the%20meantime%2C%20please%20delay%20this%20particular%20.NET%20update%20on%20your%20Exchange%20servers.%20Information%20on%20how%20this%20block%20can%20be%20accomplished%20can%20be%20found%20in%20article%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4024204%2Fhow-to-temporarily-block-installation-of-the-net-framework-4-7%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3E4024204%2C%20How%20to%20temporarily%20block%20the%20installation%20of%20the%20.NET%20Framework%204.7%3C%2FA%3E.%3CH2%20id%3D%22toc-hId-1759307316%22%20id%3D%22toc-hId-1760082073%22%3EIt%E2%80%99s%20too%20late%2C%20I%20installed%20it.%20What%20do%20I%20do%20now%3F%3C%2FH2%3EIf%20.NET%20Framework%204.7%20was%20already%20installed%2C%20we%20recommend%20you%20back%20to%20.NET%20Framework%204.6.2%20Here%20are%20the%20steps%3A%3CP%20class%3D%22note%22%3E%3CB%3ENote%3A%3C%2FB%3E%20These%20instructions%20assume%20you%20are%20running%20the%20latest%20Exchange%202016%20Cumulative%20Update%20or%20the%20latest%20Exchange%202013%20Cumulative%20Update%20as%20well%20as%20.NET%20Framework%204.6.2%20prior%20to%20the%20upgrade%20to%20.NET%20Framework%204.7%20at%20the%20time%20this%20article%20was%20drafted.%20If%20you%20were%20running%20a%20version%20of%20.NET%20Framework%20other%20than%204.6.2%20or%20an%20older%20version%20of%20Exchange%20prior%20to%20the%20upgrade%20of%20.NET%20Framework%204.7%2C%20then%20please%20refer%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fff728623(v%3Dexchg.150).aspx%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EExchange%20Supportability%20Matrix%3C%2FA%3E%20to%20validate%20what%20version%20of%20.NET%20Framework%20you%20need%20to%20roll%20back%20to%20and%20update%20the%20steps%20below%20accordingly.%20This%20may%20mean%20using%20different%20offline%2Fweb%20installers%20or%20looking%20for%20different%20names%20in%20Windows%20Update%20based%20on%20the%20version%20of%20.NET%20Framework%20you%20are%20attempting%20to%20roll%20back%20to%20if%20it%20is%20something%20other%20than%20.NET%20Framework%204.6.2.%3C%2FP%3E1.%20If%20the%20server%20has%20already%20updated%20to%20.NET%20Framework%204.7%20and%20has%20not%20rebooted%20yet%2C%20then%20reboot%20now%20to%20allow%20the%20installation%20to%20complete.%202.%20Stop%20all%20running%20services%20related%20to%20Exchange.%26nbsp%3B%20You%20can%20run%20the%20following%20cmdlet%20from%20Exchange%20Management%20Shell%20to%20accomplish%20this%3A%3CP%20class%3D%22code%22%3E(Test-ServiceHealth).ServicesRunning%20%7C%20%25%7BStop-Service%20%24_%20-Force%7D%3C%2FP%3E3.%20Depending%20on%20your%20operating%20system%20you%20may%20be%20looking%20for%20slightly%20different%20package%20names%20to%20uninstall%20.NET%20Framework%204.7.%26nbsp%3B%20Uninstall%20the%20appropriate%20update.%26nbsp%3B%20Reboot%20when%20prompted.%3CUL%3E%0A%20%20%3CLI%3EOn%20Windows%207%20SP1%20%2F%20Windows%20Server%202008%20R2%20SP1%2C%20you%20will%20see%20the%20%3CB%3EMicrosoft%20.NET%20Framework%204.7%3C%2FB%3E%20as%20an%20installed%20product%20under%20%3CB%3EPrograms%20and%20Features%3C%2FB%3E%20in%20%3CB%3EControl%20Panel%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3EOn%20Windows%20Server%202012%20you%20can%20find%20this%20as%20%3CB%3EUpdate%20for%20Microsoft%20Windows%20(KB3186505)%3C%2FB%3E%20under%20%3CB%3EInstalled%20Updates%3C%2FB%3E%20in%20%3CB%3EControl%20Panel%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3EOn%20Windows%208.1%20%2F%20Windows%20Server%202012%20R2%20you%20can%20find%20this%20as%20%3CB%3EUpdate%20for%20Microsoft%20Windows%20(KB3186539)%3C%2FB%3E%20under%20%3CB%3EInstalled%20Updates%3C%2FB%3E%20in%20%3CB%3EControl%20Panel%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3EOn%20Windows%2010%20Anniversary%20Update%20and%20Windows%20Server%202016%20you%20can%20find%20this%20as%20%3CB%3EUpdate%20for%20Microsoft%20Windows%20(KB3186568)%3C%2FB%3E%20under%20%3CB%3EInstalled%20Updates%3C%2FB%3E%20in%20%3CB%3EControl%20Panel%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E4.%20After%20rebooting%20check%20the%20version%20of%20the%20.NET%20Framework%20and%20verify%20that%20it%20is%20again%20showing%20version%204.6.2.%26nbsp%3B%20You%20may%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F318785%2Fhow-to-determine-which-versions-and-service-pack-levels-of-the-microsoft-.net-framework-are-installed%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Euse%20this%20method%3C%2FA%3E%20to%20determine%20what%20version%20of%20.NET%20Framework%20is%20installed%20on%20a%20machine.%20If%20it%20shows%20a%20version%20prior%20to%204.6.2%20go%20to%20Windows%20Update%2C%20check%20for%20updates%2C%20and%20install%20.NET%20Framework%204.6.2.%26nbsp%3B%20If%20.NET%20Framework%204.6.2%20is%20no%20longer%20being%20offered%20via%20Windows%20Update%2C%20then%20you%20may%20need%20to%20use%20the%20Offline%20Installer%20or%20the%20Web%20Installer.%20Reboot%20when%20prompted.%26nbsp%3B%20If%20the%20machine%20does%20show%20.NET%20Framework%204.6.2%20proceed%20to%20step%205.%3CUL%3E%0A%20%20%3CLI%3E.NET%20Framework%204.6.2%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3151800%2Fthe-.net-framework-4.6.2-offline-installer-for-windows%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Eoffline%20installer%3C%2FA%3E.%3C%2FLI%3E%0A%20%20%3CLI%3E.NET%20Framework%204.6.2%20%3CA%20href%3D%22http%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3Flinkid%3D780596%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Eweb%20installer%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E5.%20After%20confirming%20.NET%20Framework%204.6.2%20is%20again%20installed%2C%20stop%20Exchange%20services%20using%20the%20command%20from%20step%202.%26nbsp%3B%20Then%2C%20run%20a%20repair%20of%20.NET%204.6.2%20by%20downloading%20the%20%3CA%20href%3D%22http%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3Flinkid%3D780600%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Eoffline%20installer%3C%2FA%3E%2C%20running%20setup%2C%20and%20choosing%20the%20repair%20option.%26nbsp%3B%20Reboot%20when%20setup%20is%20complete.%206.%20Apply%20any%20security%20updates%20specifically%20for%20.NET%204.6.2%20by%20going%20to%20Windows%20update%2C%20checking%20for%20updates%2C%20and%20installing%20any%20security%20updates%20found.%26nbsp%3B%20Reboot%20after%20installation.%207.%20After%20reboot%20verify%20that%20the%20.NET%20Framework%20version%20is%204.6.2%20and%20that%20all%20security%20updates%20are%20installed.%208.%20Follow%20the%20steps%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4024204%2Fhow-to-temporarily-block-installation-of-the-net-framework-4-7%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehere%3C%2FA%3E%20to%20block%20future%20automatic%20installations%20of%20.NET%20Framework%204.7%3A%3CUL%3E%0A%20%20%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4024204%2Fhow-to-temporarily-block-installation-of-the-net-framework-4-7%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EHow%20to%20temporarily%20block%20installation%20of%20the%20.NET%20Framework%204.7%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3CSPAN%20class%3D%22author%22%3EThe%20Exchange%20Team%3C%2FSPAN%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jul 01 2019 04:30 PM
Updated by: