Solved

Accidentally removed GUI and Powershell roles

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

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 80

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

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…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
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 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…

730 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