Monday, November 23, 2015

Windows 2012 R2 - How to uninstall and reinstall DotNet




1. Remove-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
or
Uninstall-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

2. Remove-WindowsFeature Net-Framework-45-Features


3. DISM.exe /online /enable-feature /all /featurename:NetFx4


4. DISM.exe /online /enable-feature /all /featurename:MicrosoftWindowsPowerShell


5. Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra


6. Restart-Computer