Windows Server 2012 GUI went missing after removing features
Today morning I have come across an issue with one of the Windows 2012 machine of my client. The GUI went missing after removing ASP.NET 4.5 and a restart after that. The only thing I can see was the command prompt and the mouse cursor. I have researched on various ways to recover the situation and finally the following method gave back the GUI
Ran the command from the command prompt and it added the missing GUI features back. After a restart my machine came back online again.
You may also try the following command to restore the GUI back:
Dism /online /enable-feature /all /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer
47 thoughts on “Windows Server 2012 GUI went missing after removing features”
your command saved me. i was configuring 2012 server and after removing features the GUI went missing. thanks .
It worked like a magic.
Worked like a charm. Thanks!
Thanks very much… it saved me by formatting the machine.. 🙂
worked like charm. Thanks
You can also install using the powershell command:
Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
I need a source file/folder
I go to see everyday a few websites and websites to read articles or reviews, but this blog provides quality based writing.
Thanks mate. I thought I need to repair the server. keep up the good work.
Thanks buddy 🙂 Save my day…
Thank you for your help~
You save my life~~~
Thanks a lot. You saved me.
thanks a bunch bro. this works for me, I was about formatting the box.
Great Fix! Saved me a major reload! Thanks a lot man!
Thanks for the tip. You saved my day man !!
Thanks for the command but once applied and reboot of server, the server throws error and revert the changes.
Any clues. I am unable to get the screen back.
I too have the same issue. after reboot, server failed to configure and revert changes back.
I’m not understanding, what is preventing you to find the solution for this issue. Many users are already told that they are able to see the result
I found user had by mistake removed this feature and looking at your command I installed it back.
Wow, this worked and I was near to formatting this system
I got the GUI back. Thank you for sharing!
Thanks Guys. It worked for me
Thank you for this post. The command line worked perfectly and the GUI lives again on the server.
Thank you for the post. It worked like a charm.
Thank you!, This corrected my problem. it worked perfectly! I got my GUI back.
You saved my ass.
Wow Thanks it’s working !!!!
Thanks for publishing this. It worked 2 for 2 on windows 2012 R2.
you are a legend 🙂
Thanks, this helped me here in June 2016 too –
Thanks buddy! i got back my GUI console
Great article, it help me greatly!!!
Great article, it helps me greatly!!!
The command above works, but after server reboot, I get Failure configuring the system… message and Reverting the changes back.
I have the same Issue. I removed .Net Framework 4.5, Guid disappeared, run dism commands successfully, after reboot message reverting back, then try with powershell, everething installed, after reboot reverting. I was wondering if you found a solution.
Thank you, soooo much.
thanks, this has fixed the issue
Is it work if server is offline. I removed frame work 4.5 then server lost GUI. Can i use same command to recover GUI?
Thanks a lot Bro, saved me from re imaging it
Thanks a lot bro, you saved me from re imaging the server
Thanks a log bro, you saved
Thanks Sir, Great solution
thank you so much,great one.
Its Worked and Save A lot !!
You saved me from a huge problem <3
100% working solution 🙂
Thank you so much.Its working for me also