PowerShell Version 3 Installation Failure on Windows Server 2008 R2 Server Core Installation (no-GUI)

You have a server which runs the Windows Server 2008 R2 with SP1 operating system that was installed using the “Server Core Installation” option (no-GUI):

You’ve given this server a name, added it to the domain, configured the IP address settings, and configured options 1 -3 in the “Configure Remote Management” portion of sconfig as shown in the following image:

PowerShell version 2 works fine on the server, but you’ve been tasked with loading PowerShell version 3 on it. You’ve downloaded and installed the specific version of the .NET Framework 4.0 that’s for Server Core from the Microsoft Download Center:

You’ve also downloaded and installed the Windows Management Framework 3.0 from the Microsoft Download Center (Windows6.1-KB2506143-x64.msu). This installer includes PowerShell 3.0, WMI, and WinRM:

This installation required a restart. Upon restarting the server, you receive the following message: “Failure configuring Windows updates Reverting changes. Do not turn off your computer.”

What’s the cause of this problem? Simply not reading the instructions for installing the .NET Framework 4.0 on Server Core:

If you followed those instructions, two features; WoW64-NetFx2-Support and WoW64-NetFx2 would be enabled in addition to the two features that were already enabled. I’m going to go ahead and enable the WoW64-PowerShell feature also since it’s listed as being necessary in the documentation to manage a 2008 R2 Server Core machine from the new Windows Server 2012 Server Manager interface:

Enabling the one parent feature will automatically enable the two child features:

Verifying the features were enabled:

Enabling those features allows the Windows Management Framework 3.0 installation to complete successfully. I’ve re-run the installation of Windows Management Framework 3.0 and restarted the server. PowerShell version 3.0 was successfully installed:

In a future blog article, I’ll cover the remainder of the necessary configuration to manage a Windows Server 2008 R2 machine from the new Windows Server 2012 Server Manager:

µ

1 Comment

  1. justpaul (@justpaul)

    Thanks for posting this. I have no doubt that I would have fallen into this when installing on one of my core boxes.

    Reply

Leave a Reply

%d bloggers like this: