Solved

Accidentally removed GUI and Powershell roles

Posted on 2013-01-31
3
954 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

910 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

17 Experts available now in Live!

Get 1:1 Help Now