Solved

Accidentally removed GUI and Powershell roles

Posted on 2013-01-31
3
948 Views
Last Modified: 2013-02-01
Hi,

Somehow while removing the Active Directory role and cleaning up some other unneeded roles, I ended up removing the GUI and Powershell components from the server.  When it boots now, all I get is that old fashioned cmd prompt. (not the powershell prompt).  When I type "powershell", I get command not found.  I search for it and it is not present in the windows\system32\WindowsPowerShell folder anymore.

I tried the SConfig utility and it doesn't have an option to restore the gui.  I think I now have to mount something and extract and run the install.  

Can someone provide some guidance here to help "un-screw" this and get me back to a GUI.
0
Comment
  • 2
3 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 38841554
you are going to have to go the dism route.
DISM /online /enable-feature /featurename:<name of feature>

http://blogs.technet.com/b/joscon/archive/2010/08/26/adding-features-with-dism.aspx
0
 

Author Comment

by:RobertFromSecretWeapons
ID: 38841994
Hi,
Thanks for your reply.  Yeah, while waiting for this to be answered, I came to that conclusion myself.  There were a few articles out there on the internet that seemed to help.  It wasn't as straight forward as I had hoped, but nevertheless, I had to use that method to first install powershell.  Then using PS, I added and enabled several roles and features to get the GUI back.  After the GUI came back, I had a few minor cleanup items to address.

Anyways all is well now.  BTW VE3... southern ontario, huh...  73's man. Thx.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 38842612
Glad to hear that... once you have powershell then it's easy..  add-windowsfeature name and away you go.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now