Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Windows Server 2012 Requirements and Installation : Switching Between Install Modes

6/14/2013 5:12:02 PM

No matter which installation option you chose, thanks to the flexibility of Server 2012, you can switch install modes after installation without losing existing configurations.

What are the benefits of switching from the full interface to a Server Core install or a Server Core install to the full interface? One reason could be the full install is consuming too many server resources. Maybe you want to reduce the threat attack surface that comes with a full installation. Or, perhaps you have become comfortable enough administering the server through PowerShell that you can afford to streamline the server and get rid of the full interface.

Whatever your reason, you have a couple of options to convert from the full install mode. You can convert through a simple PowerShell command, or you can remove the graphical shell of a full install to trim down to a core install.

Converting Server Core to Server with a GUI

To convert a Server Core install into a Server with a GUI install, you will need to create a folder to mount a Windows Imaging File (WIM). WIM files are images of the operating system and reside on the installation media, in the sources folder. The image file that gets mounted is the install.wim file, which is located inside the sources folder.

To get started, first run the command mkdir from the command prompt to create a directory named mountdir. The syntax is mkdir c:\mountdir. (See Figure 1.)

Creating a directory named mountdir for mounting the WIM file

Figure 1. Creating a directory named mountdir for mounting the WIM file

After you run the mkdir command, the mountdir folder is listed under the root of the C:\ drive (see Figure 2).

Next, you need to find the index number associated with the Server with a GUI image you want to install. For example, I am converting from Server Core with the Datacenter edition of Windows Server 2012. I want to find the Server with a GUI image located on my installation media and the index number that references that image. To do so, use the Dism command at an elevated command prompt. The proper syntax is runas /user:administrator to elevate permissions within the command prompt. Click Enter, and you will be prompted to enter the administrator password.

Newly created mountdir directory

Figure 2. Newly created mountdir directory

Then run the following to get the correct index number (also shown in Figure 3):

Dism /get-wiminfo  /wimfile:drive where installation media 
is located:\sources\install.wim
Command to locate the index number of the appropriate Server with a GUI image

Figure 3. Command to locate the index number of the appropriate Server with a GUI image

Upon successfully running the command, you’ll see the Deployment Image Servicing and Management tool load. Find the index number of the Server with a GUI image you want to install (see Figure 4).

List of image files and associated index numbers

Figure 4. List of image files and associated index numbers

Mount the appropriate image file with the following command (also shown in Figure 5):

Dism /mount-wim /WimFile:drive where installation media is 
located:\sources\install.wim  /Index:#_from_step_2 /MountDir:c:\mountdir/readonly

This again launches the Deployment Image Servicing and Management tool. The Server with a GUI image is mounted.

After the message “The operation completed successfully” appears on screen, the image mount is complete. The final step requires installing the GUI from the mounted image with PowerShell. Launch PowerShell by simply typing powershell at the command line. Again, you must run PowerShell with the administrator account’s elevated permissions for the installation to work.

Run the cmdlet:

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart –Source 
c:\mountdir\windows\winsxs
Mounting the image file

Figure 5. Mounting the image file

If the cmdlet is successfully executed, you will see the GUI installation start within PowerShell (see Figure 6).

The GUI installation process within PowerShell

Figure 6. The GUI installation process within PowerShell

After install, the server reboots. When the server comes back up, the Ctrl-Alt-Delete screen is displayed. Login and the Server Core interface are now replaced with the full Windows 2012 Server shell.

You can also use Windows Update as the source, instead of a WIM file, by using this Windows PowerShell cmdlet (make sure you have an Internet connection):

 Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart

Converting Server with a GUI to Server Core

To convert from Server with a GUI to a Server Core installation with Windows PowerShell, run the following cmdlet:

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -restart

Successful execution of the preceding cmdlet starts the removal process of the server shell (see Figure 7).

Converting Server with a GUI to a Server Core install

Figure 7. Converting Server with a GUI to a Server Core install

The server reboots once the graphical interface is removed. When the server comes back up, after login, the core interface is loaded.

If you initially install with the Server with a GUI option and then use the preceding command to convert to a Server Core installation, you can later revert to a Server with a GUI installation without specifying a source. This is because the necessary files remain stored on the disk, even though they are no longer installed. 

If you convert to a Server Core installation, Windows features, server roles, and GUI management tools that require a Server with a GUI installation will be uninstalled automatically. You can specify the -WhatIf option in PowerShell to see exactly which features will be affected by the conversion.

Other -----------------
- Windows Server 2012 Requirements and Installation : Installing Server 2012 (part 2) - Server with a GUI Install
- Windows Server 2012 Requirements and Installation : Installing Server 2012 (part 1) - Server Core Install
- Windows Server 2012 Requirements and Installation : Server 2012 Editions, Server 2012 Requirements
- SharePoint 2010 : Farm Governance - Restricting web part access in the farm
- SharePoint 2010 : Farm Governance - Installing a feature and activating it
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Voice Resilience
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Voice Routing
- Windows Server 2003 on HP ProLiant Servers : The Pilot
- Windows Server 2003 on HP ProLiant Servers : Build Guides
- Windows Server 2003 on HP ProLiant Servers : File and Print Services, Selection of ProLiant Servers for the Enterprise
- Maintaining Dynamics GP : Troubleshooting issues with a DexSQL log
- Maintaining Dynamics GP : Speeding security setup with User Copy
- Maintaining Dynamics GP : Validating balances with the Reconcile utility
- Maintaining Dynamics GP : Resolving errors with the Check Links utility
- System Center Configuration Manager 2007 : Creating SQL Reporting Services Subscriptions
- System Center Configuration Manager 2007 : Creating New Reports
- Windows Server 2008 : Working with the Schema - Modifying the Schema with adprep, Registering the Active Directory Schema Snap-In
- Windows Server 2008 : Promoting and Demoting a Domain Controller - Using dcpromo to Install from Media, Forcing Removal of Active Directory
- BizTalk Server 2009 : Use The Business Rule Engine (part 2) - What Are the Artifacts That Constitute a Business Rule?
- BizTalk Server 2009 : Use The Business Rule Engine (part 1)
 
 
Most view of day
- Adobe Flash Catalyst CS5 : Configuring the Data List's Parts
- Troubleshooting Hardware, Driver, and Disk Issues : How to Use Built-In Diagnostics (part 5)
- Windows Phone 8 : Configuring Basic Device Settings - Backing Up Your Phone (part 2) - Removing Your Backup
- Microsoft Dynamic GP 2010 : Providing clean vendor information by properly closing Purchase Orders, Protecting against information loss by printing Fixed Asset Reports
- Windows Phone 7 : Running XNA Projects in Windows (part 5)
- Microsoft Visio 2010 : Creating Web Pages from Visio Drawings (part 4) - Fine-tuning Web Pages and Battling Bugs - Saving a Visio Drawing as a Web Page
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 2) - Displaying Data Using BDC in Microsoft Office SharePoint Server
- Windows Server 2012 : Simplifying the Datacenter (part 1) - New Server Manager Tool
- Managing Client Protection : Using Windows Defender (part 1)
- Microsoft PowerPoint 2010 : Inserting Content from External Sources - Inserting New Slides from an Outline
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro