Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Accidentally removed GUI and Powershell roles

Posted on 2013-01-31
3
Medium Priority
?
999 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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 1500 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 83

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

662 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