Thursday, August 29, 2013

Windows Server 2012 R2 WSUS Post-Installation Task Fails

Windows Server Update Services has been improved in Windows Server 2012 R2 by adding SHA256 hash capability for additional security SSL Certificates for secure Deployment on Microsoft Security Updates.

Windows Server Update Services is a built-in server role that includes the following enhancements:

  • Can be added and removed by using the Server Manager
  • Includes Windows PowerShell cmdlets to manage the ten most important administrative tasks in WSUS
  • Adds SHA256 hash capability for additional security
  • Provides client and server separation: Versions of the Windows Update Agent (WUA) can ship independently of WSUS

Configuring the Windows Server 2012 R2 WSUS role with the Windows Internal Database (WID) brings back an error within the Post-Installation Task as seen below.

 
 
The reason for this error is that in my case a SCSI Hard Drive is configured instead of a local attached disk. As seen below.
 
 
 
WSUS in this case needs a locally attached Drive which is shown below.
 
 
 
 

After the changes have been made let's open WSUS again to re-run the Post-Installation Task again. 
 
 
 

 
 
 
 Success!!!!!
 
 
 
Now you can finish off the WSUS Configuration and Deployment!!!
 
 
 
Happy Administrating!!!!
 
To Download a free trial of Windows Server 2012 R2 visit http://aka.ms/msproducts
 
For a 30 day trial of Azure visit http://aka.ms/try-azure
 
 
 

 
 
 


Saturday, August 10, 2013

Mounting an Image to Convert Windows Server 2012 R2 Core to Full Installation

PowerShell is proving more and more to be an Administrators right hand in handling many task. Converting a Core Installation to a GUI Installation in Windows Server 2012 R2 is one of those task. Many times I have come across a File Server that is running on Core and more roles such as Windows Deployment Services needs to be installed but is not supported. Here starts the story of either backing up the data or migrating the data off to another File Server or Storage resource.

In a Full Install of Windows Server 2012 R2 that has been turned into Core running the PowerShell command
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart –Source
will install the Gui back on the server.

However, if you run that same command on a Core Install you will get an error message as the screen below shows.



In a Core R2 Install to convert from the CUI to GUI we will have to mount an image of Server 2012 R2. To do this we will need the installation media on which we installed Server 2012 Core R2. Next we will have to make a Directory for our image to be mounted in.

On our Server Core Server we will make a directory called mount-image on the root of C:\ as shown below.


Next we will mount the image to the mount-image folder. Our install media is in the D:\ drive. We will need to see what version of Server we do need to mount. To do this we need to type the PowerShell command Get-WindowsImage -ImagePath D:\Sources\Install.wim as seen below. We installed Server 2012 Standard Core so we will mount Index Image 2 for the Full Server GUI.


To mount the image type the PowerShell Command

Mount-WindowsImage -ImagePath D:\sources\install.wim -Path C:\mount-Image –Index:2 -readonly

This process can take a while as seen below.
 


 
The next step is install the image we just mounted by running the below cmdlet.

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –Restart –Source C:\Mount-Image\Windows\WINSXS


 
 
 


Now the Full Installation of Server 2012 R2 is installed!!!!


Happy Server Administrating. If you need to download Server resources or if you would like to try this lab in Azure visit:

For Server Downloads - http://aka.ms/msproducts

For a free trial of Windows Azure - http://aka.ms/try-azure

By:
Adnan Cartwright