Need help removeing .net 4.7.2 on Windows 2016 Data Center Servers

Need help to uninstall .net 4.7.2 on my Windows 2016 Server.

I installed .net 4.7.2 for my Exchange 2016 CU9 running on Windows 2016 Data Center.

After getting a million errors on my Exchange Servers I was asked to remove .net 4.7.2 and revert back to .net 4.7.1

I found no way on the Server to remove .net except for 4.6 3.5 and 2.0   4.7 does not show.

I did find this but not sure which is correct.
Open an admin command prompt and paste this script:
%windir%\microsoft.net\Framework64\v4.0.30319\SetupCache\v4.7.02558\setup.exe /uninstall /x86 /x64 /passive /norestart
If you have 4.7.1 as the latest version, this will run the removal tool. Reboot, and it will be removed.


What would the proper method of removing .net 4.7.2 be?

Can I use the above command? What changes would I need to make it work?

Thank  you,
LVL 23
Thomas GrassiSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

timgreen7077Exchange EngineerCommented:
When you go to add/remove programs click on view installed updates and see if you can find either of the below KBs, these will be the KBs for the web install of 4.7.2 or the offline install.

KB4054531
KB4054530

Select that and uninstall. Exchange doesn't support .net 4.7.2 so i would suggest looking at the below link in order to block that installation from happening again without your knowledge. I actually blocked this on my exchange servers because it will break exchange.

https://support.microsoft.com/en-us/help/4342394/how-to-temporarily-block-the-installation-of-net-framework-4-7-2
0
Thomas GrassiSystems AdministratorAuthor Commented:
Tim
When I do that I do not see .net installed  see control panel image.

I went into the registry and found this see attached.

What about the command I posted?>
net-issue.PNG
uninstall.PNG
0
timgreen7077Exchange EngineerCommented:
share with me the link you mentioned in your question about uninstalling it.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

timgreen7077Exchange EngineerCommented:
Ah KB4054590 in your screenshot is for .net 4.7.2, that is what you will need to uninstall.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Thomas GrassiSystems AdministratorAuthor Commented:
Tim

Thanks

I ran this also

461808 is 4.7.2

PS C:\Windows\system32> Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\" | Get-ItemPropertyValue
 -Name Release | ForEach-Object { $_ -ge 461808 }
True

461308 is 4.7.1
PS C:\Windows\system32> Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\" | Get-ItemPropertyValue
 -Name Release | ForEach-Object { $_ -ge 461308 }
True

Both came back as true.

So if I uninstall 4.7.2 then the 4.7.1 should be good still? or do I need to reinstall 4.7.1

Thanks
0
timgreen7077Exchange EngineerCommented:
4.7.1 should still he fine.
0
Thomas GrassiSystems AdministratorAuthor Commented:
Tim

Was able to uninstall 4.7.2

Now need to schedule a shutdown

Need to figure out the best way to shutdown one node at a time and keep mail flowing

Thanks for your help
0
timgreen7077Exchange EngineerCommented:
Sure thing.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.