Answered by:
.NET 4.7.2 uninstallation

Question
-
So long story short I uninstalled .NET 4.7.2 as there was a requirement to run an earlier version of .NET on the Windows 2019 server. After uninstallation I was prompted by the installer for 4.6.1 that a later version was already installed and I was unable to proceed. I figured fine, I´ll just put 4.7.2 back. Only to find that Server Manager no longer works, neither does going via appwiz.cpl and "Turn Windows features on and off", it just doesn´t open. Other things are broken to, like the Event Viewer, powershell and I can´t open System Restore (System Restore could not start).
I´ve tried:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
dism /online /cleanup-image /startcomponentcleanup
Installing .NET 4.8.
But it doesn´t help. A lot of work has gone into preparing this server for production use and I really dont want to reinstall Windows on it.
Any suggestions on how to actually repair this Windows installation would be greatly appreciated. The server is in a datacenter and I cant easily arrange a repair of windows server media either.
Wednesday, April 15, 2020 2:02 PM
Answers
-
I installed powershell, .NET 4.7.2 and ServerManager via DISM and it seems fine now. Event Viewer, ServerManager and the rest starts again. I´m personally inclined to take your advise and still rebuild it from scratch, but as mentioned a lot of effort has already gone into getting this server configured for production.
- Marked as answer by Trana010 Wednesday, April 15, 2020 3:37 PM
Wednesday, April 15, 2020 3:37 PM
All replies
-
I woulndn't spend too much time on this, you'll likely need to clean install it.
All .NET Framework versions since .NET Framework 4 are in-place updates, so only a single 4.x version can be present on a system. In addition, particular versions of the .NET Framework are pre-installed on some versions of the Windows operating system. This means that:
If there's a later 4.x version installed on the machine already, you can't install a previous 4.x version.
If the OS comes pre-installed with a particular .NET Framework version, you can't install a previous 4.x version on the same machine.
If you install a later version, you don't have to first uninstall the previous version.https://docs.microsoft.com/en-us/dotnet/framework/get-started/system-requirements
(please don't forget to mark helpful replies as answer)
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Dave PatrickMVP Wednesday, April 15, 2020 3:42 PM
Wednesday, April 15, 2020 2:24 PM -
I installed powershell, .NET 4.7.2 and ServerManager via DISM and it seems fine now. Event Viewer, ServerManager and the rest starts again. I´m personally inclined to take your advise and still rebuild it from scratch, but as mentioned a lot of effort has already gone into getting this server configured for production.
- Marked as answer by Trana010 Wednesday, April 15, 2020 3:37 PM
Wednesday, April 15, 2020 3:37 PM -
Sounds good, you're welcome.
(please don't forget to mark helpful replies as answer)
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Wednesday, April 15, 2020 3:42 PM