Today I got an issue while working on Windows Server 2012. I uninstalled .Net framework from Windows Server 2012 and the un-installation was successful but due to .NET un-installation my Server’s GUI didn’t start.
I tried to start it but only command prompt showed me.
Issue:
GUI is not working after un-installation of .Net framework on Windows Server 2012.
How to Re-Install GUI after .net Uninstallation on Windows Server 2012?
Resolution:
Start Windows Server 2012 and when command prompt shows, fire following commands sequentially.
1) DISM.exe /online /enable-feature /all /featurename:NetFx4
2) DISM.exe /online /enable-feature /all /featurename:MicrosoftWindowsPowerShell
Once both the commands run successful without any errors, restart the server by the following command:
Shutdown –r –t 0
Once the server is restarted, open powershell using below command:
powershell
Now enter the following command to complete GUI installation.
Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
Once the GUI Shell is installed, you need to restart the server with the following command:
Restart-Computer
I hope this helps you to Re-Install GUI after .net Uninstallation on Windows Server 2012. If you are still getting the same issue, please feel free to write error in comment section.
We will try to help you to resolve your problem.
I’ve tried the same. But after restart windows update has come. After particular time a message has come, that says windows can’t make changes. And then it started undoing all the changes.
Any guess ?
Perfect solution. Thanks a lot 🙂
Hi Anil, perfect solution, works for me, thank you
Thank you,
It Works !