Deploy Windows Management Framework 5

Deploy Windows Management Framework 5 with ConfigMgr

How to deploy Windows Management Framework 5 with Configuration Manager. Windows Management Framework 5.0 provides a lot of new features, including PowerShell version 5 and Windows Remote Management. This is how you deploy Windows Management Framework 5 to your devices with SCCM.

Note that WMF 4 need to be installed before you can install / upgrade to version 5.0 so we will cover that as well.

Update: See my guide: How to deploy Windows Management Framework 5.1 with ConfigMgr.

Supported Operating Systems

  • Windows 8.1
  • Windows 7 SP1
  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2

Dependencies

  • .Net Framework 4.5 or newer. We will install 4.6.1
  • Windows Management Framework 4.0

.Net Framework 4.6.1

Windows Management Framework 5.0 requires .Net Framework 4.5 or newer. I choose .Net Framework 4.6.1 as it is the newest at the time of this blog post and it includes 4.5 as well. Create .Net Framework as an application in Configuration Manager. We will set this application as a dependency later when we create the Windows Management Framework 5.0 Application.

Download: https://www.microsoft.com/en-us/download/details.aspx?id=49982

Install string for .Net Framework 4.6.1 64-bit (Windows 7 and Windows Server 2008 R2)

Detection method: Registry

  • Hive/Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
  • Value: Release
  • Data type: Integer
    Greater than or equal to 394271

Set .Net Framework 4.6.1 to superseed any previous version you have of .Net Framework.

Note that there .Net Framework 4.6.2 is out. See my guide: How to Deploy .Net Framework 4.6.2 with SCCM

Windows Management Framework 4

Download: https://www.microsoft.com/en-us/download/details.aspx?id=40855

Install string for Windows Management Framework 4 (Windows 7 and Windows Server 2008 R2)

Detection method:

Deploy Windows Management Framework 5

Download: https://www.microsoft.com/en-us/download/details.aspx?id=50395

Tip: Make sure to check “Allow this application to be installed from the Install Application task sequene action without being deployed”. This is a very good application to install in your image. That goes for the dependencies as well.

Install string for Windows Management Framework 5.0 (Windows 7 and Windows Server 2008 R2)

Detection method

Installed PowerShell version is a great way to detect if Windows Management Framework is installed or not. WMF 5 will also have PowerShell major version 5 installed. PowerShell Variable $PSVersionTable.PSVersion holds the version number of the installed PowerShell version.

This is my PowerShell detection method, it only looks at major version but you can easily tweak it to look for minor version as well.

The Windows Management Framework 5 application do not need to superseed any previous version of Windows Management Framework as it is not required to uninstall an previous versions. Just make sure to remove any active deployments deployments from Windows Management Framework 3 and 4 so you don’t try to reinstall them after your systems are upgraded to 5.0

Anders Rødland

Anders Rødland started his IT career in 2006. My main focus is MS Configuration Manager and client management, and I currently hold active 15 Microsoft certifications. Certified on Windows Server, Windows Client, SQL, Exchange and System Center Configuration Manager. Anders Rødland also holds an ITIL Foundation certification. This is my private blog and do not represent my employer. I use this to share information that I find useful. Sharing is caring.

  • Jesse Rothfork

    Would this deployment work on 2012 server? Thanks!

    • Hi yes this should work deploying it to 2012 server as well.

      • Jesse Rothfork

        Great! Thank you!