Solved

Accidentally removed GUI and Powershell roles

Posted on 2013-01-31
3
982 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 81

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 81

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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

688 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