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

gui

36 Comments


  1. Dude,
    your command saved me. i was configuring 2012 server and after removing features the GUI went missing. thanks .

    Reply
    • Navnath

      Thanks

      Reply
    • Tahira

      It worked like a magic.
      Thank you

      Reply
  2. Vishwajeet Kadam

    Worked like a charm. Thanks!

    Reply
  3. suman

    Thanks very much… it saved me by formatting the machine.. 🙂

    Reply
  4. Imran

    worked like charm. Thanks

    Reply

  5. You can also install using the powershell command:
    Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

    Reply
  6. Me

    I need a source file/folder

    Reply

  7. I go to see everyday a few websites and websites to read articles or reviews, but this blog provides quality based writing.

    Reply
  8. Tanvir

    Thanks mate. I thought I need to repair the server. keep up the good work.

    Reply
  9. Siddhesh

    Thanks buddy 🙂 Save my day…

    Reply
  10. Gulliver

    Thank you for your help~

    You save my life~~~

    Reply
  11. Jaeuk Lee

    Thanks a lot. You saved me.

    Reply
  12. Victor Voa

    thanks a bunch bro. this works for me, I was about formatting the box.

    Reply
  13. Dean

    Great Fix! Saved me a major reload! Thanks a lot man!

    Reply
  14. Rajat

    hi,

    Thanks for the tip. You saved my day man !!

    Cheers

    Reply
  15. Nitin

    Hi
    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.

    Nitin

    Reply
    • Sing

      I too have the same issue. after reboot, server failed to configure and revert changes back.

      Reply

  16. Nitin,
    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

    Reply
  17. Babasaheb

    Hello Dear,

    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
    Thanks

    Reply
  18. Luke

    I got the GUI back. Thank you for sharing!

    Reply
    • Shikdar

      Thanks Guys. It worked for me

      Reply
  19. Kia

    Thank you for this post. The command line worked perfectly and the GUI lives again on the server.

    Reply
  20. Kia

    Thank you for the post. It worked like a charm.

    Reply
  21. Joe

    Thank you!, This corrected my problem. it worked perfectly! I got my GUI back.

    Reply
  22. Raf

    You saved my ass.

    Reply
  23. Suresh

    Wow Thanks it’s working !!!!

    Reply
  24. Bob M

    Thanks for publishing this. It worked 2 for 2 on windows 2012 R2.

    Reply
  25. Komiki

    you are a legend 🙂

    Reply
  26. Rishi Pandit

    Thanks, this helped me here in June 2016 too –

    Reply
  27. Jeyaraj Velayudham

    Thanks buddy! i got back my GUI console

    Reply
  28. Freddie Barron

    Great article, it help me greatly!!!

    Reply
  29. Freddie Barron

    Great article, it helps me greatly!!!

    Reply
  30. Sing

    The command above works, but after server reboot, I get Failure configuring the system… message and Reverting the changes back.

    Reply
    • Sergiu

      Sing,
      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.

      Reply
  31. Mahdi

    Thank you, soooo much.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam