Restoring Windows Graphical User Interface After Removing the .NET Framwork from Features

  • SumoMe

If you are like me who do not know that Removing .NET framework will also remove the Windows Graphical User Interface, then this article is for you. I hope it helps you and saves you from insanity.

Once a blank screen with command prompt appear, DO NOT EXIT THE COMMAND PROMPT.

Type DISM.exe /online /enable-feature /all /featurename:NetFx4 then hit the enter key

Type DISM.exe /online /enable-feature /all featurename:MicrosoftWindowsPowerShell then hit the enter key.

Type Powershell then hit the enter key. If unrecognized error displays, type sconfig instead. Type the number that corresponds to Restart Server. In my case it is “12”.

Wait until the server completes the restart. Once the server completes the restart, try to run the powershell again. This time it should work.

Type Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

Wait until the installation completes.

Once completed, type Restart-Computer. Try to log on again, Windows Graphical interface should already be restored.

References:

Removing .NET Framework 4.5/4.5.1 removes Windows 2012/2012R2 UI and other features

 

How to Turn the GUI Off and On in Windows Server 2012

 

Leave a Reply