Windows Management Framework 5.0 Preview September 2014

This article describes an update for Windows Management Framework 5.0. Before you install this update, see the steps to install and uninstall the update, and also learn about the known issues and known incompatibilities.

About this update

Windows Management Framework (WMF) 5.0 Preview September 2014 contains functionality that is updated from WMF 4.0. WMF 5.0 Preview September 2014 is available for installation on computers that are running Windows 8.1 or Windows Server 2012 R2, and it contains updated versions of the following features:

  • Windows PowerShell

  • Windows PowerShell Integrated Scripting Environment (ISE)

  • Windows PowerShell Web Services (Management OData IIS Extension)

  • Windows PowerShell Desired State Configuration (DSC)

  • Windows Remote Management (WinRM)

  • Windows Management Instrumentation (WMI)

How to obtain this update

Microsoft Download Center

The following file is available for download from the Microsoft Download Center:

Download Download the WMF 5.0 Preview September 2014 package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

How to install and uninstall WMF 5.0 Preview September 2014

PrerequisitesTo install this update, there is no prerequisite.

Notes

  • If you installed WMF 5.0 Experimental Release July 2014, you must uninstall it before you install WMF 5.0 Preview September 2014.

  • To install this update on a computer that has Windows PowerShell 2.0 installed, you must enable Windows PowerShell 2.0 by running the following commands at a command prompt:

    • dism /online /enable-feature:MicrosoftWindowsPowerShellV2

    • dism /online /enable-feature:MicrosoftWindowsPowerShellV2-WOW64

Installation methods

To install WMF 5.0 from Windows Explorer (or File Explorer in Windows Server 2012 R2)

  1. Locate to the folder into which you downloaded the MSU file.

  2. Double-click the MSU file to run it.

To install WMF 5.0 by using a command prompt

  1. After you download the correct package for your computer's architecture, open a Command Prompt window with elevated user rights (run as administrator). By default, on the Server Core installation options of Windows Server 2012 R2, a command prompt opens with elevated user rights.

  2. Change directories to locate the folder in which you have downloaded or copied the WMF 5.0 installation package.

  3. Run one of the following commands:

    • On x64-based computers that are running Windows 8.1 Pro, Windows 8.1 Enterprise, or Windows Server 2012 R2 run Windows8.1-KB2969050-x64.msu /quiet.

    • On x86-based computers that are running Windows 8.1 Pro, Windows 8.1 Enterprise, or Windows Server 2012 R2 run Windows8.1-KB2969050-x86.msu /quiet.


Removal methods

To uninstall WMF 5.0 by using Control Panel

  1. Open Control Panel.

  2. Open Programs, and then click Uninstall a program.

  3. Click View installed updates.

  4. Select Windows Management Framework 5.0 Preview September 2014 from the list of installed updates. This corresponds to KB2969050. Click Uninstall.

To uninstall WMF 5.0 by using the Command Prompt

  1. Open a Command Prompt.

  2. Run the following command:

    wusa /uninstall /kb: KB2969050


Known issues after you install this update


Known issue 1When you revert from WMF 5.0 to a Windows 8.1 or Windows Server 2012 R2 build, the DSC cmdlets are broken. This behavior is caused by updates in the metaconfig.mof file.

To resolve this issue, delete the metaconfig.mof file. To do this, follow these steps:

  1. Open powershell.exe with elevated user rights (run as administrator).

  2. Run the following command:

    Remove-Item -Path $env:SystemRoot\system32\Configuration\metaconfig.mof

Known issue 2 When you install WMF 5.0 Preview September 2014, some computers show that the installation succeeds or fails. However, the installation reverts changes after the computer is restarted.

To resolve this, delete the \\root\microsoft\windows\desiredstateconfiguration namespace in WMI. To do this, follow these steps:

  1. Open powershell.exe with elevated user rights (run as administrator).

  2. Run the following commands in the given order:

    • $dscNamespace = Get-CimInstance -Namespace root\microsoft\windows -Query "select * from __namespace where name = 'desiredstateconfiguration'"

    • $dscNamespace | Remove-CimInstance

    • mofcomp.exe %windir%\system32\wbem\DSCCoreConfProv.mof

  3. Install the WMF 5.0 Preview package.

Known issue 3When you try to uninstall WMF 5.0 Preview September 2014 or WMF 5.0 Experimental Release July 2014, the operation may fail on some computers and then revert changes during the restart step of uninstallation.

To resolve this issue, delete the \\root\microsoft\windows\desiredstateconfiguration namespace in WMI before you uninstall WMF 5.0 Preview September 2014 or WMF 5.0 Experimental Release July 2014. To do this, follow these steps:

  1. Open powershell.exe with elevated user rights (run as administrator).

  2. Run the following commands in order:

    • $dscNamespace = Get-CimInstance -Namespace root\microsoft\windows -Query "select * from __namespace where name = 'desiredstateconfiguration'"

    • $dscNamespace | Remove-CimInstance

Known incompatibilities

Systems that are running the following server applications should not currently run Windows Management Framework 5.0:

  • System Center 2012 Configuration Manager (excluding Service Pack 1)

  • Windows Small Business Server 2011 Standard

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×