How to Re-Install GUI after .net Uninstallation on Windows Server 2012

Rate this post

Re-Install GUI on Windows Server 2012

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.


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?


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:


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:


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.

Get Free Blogging Tips & Technology updates in your Email !!!

Subscribe via RSS feed

The following two tabs change content below.
Anil Kumar
IT Blogger Tips focus on Blogging Tips, SEO Tips, Social Media, SQL Tips, PL/SQL Tips, Oracle DBA, Linux/Unix, Latest Technology, How Tos and Technical Solutions. You can find us on Facebook | Twitter |
Find on Google+

  • Abdu

    Thank you,
    It Works !

  • matokono

    Hi Anil, perfect solution, works for me, thank you

  • Budi Setiawan

    Perfect solution. Thanks a lot 🙂

Siteground SALE
60% OFF SiteGround WordPress Hosting – $3.95/month (Exclusive Offer !!!)