Deploying Windows Management Framework 4.0 with ConfigMgr

The Windows Management Framework 4.0 is an update for devices running Windows 7 SP1, Windows Embedded 7, Windows Server 2008 R2 SP1, and Windows Server 2012. It allows these operating systems to gain some of the new improvements and functionality available in Windows 8.1 and Windows Server 2012 R2.

More specifically, the Windows Management Framework 4.0 provides updates to the following features:

  • Windows PowerShell, PowerShell ISE, and PowerShell Web Services
  • Windows Remote Management
  • Windows Management Instrumentation

Installing the Windows Management Framework 4.0 in the environment helps maintain some consistency between different operating systems. Having all operating systems use the same version of PowerShell and WMI can be beneficial from both a compatibility and troubleshooting standpoint.

Getting Started
.NET Framework 4.5 is a prerequisite for WMF 4.0. See Now Micro’s previous blog post for instructions on how to create a .NET Framework 4.5 Application. To download the Windows Management Framework 4.0 installation files, click here.

Follow the outlined process to create an application in ConfigMgr 2012 with deployment types for both the 32-bit and 64-bit versions of the Windows Management Framework 4.0:

    1. Go to the software library in the Configuration Manager console and click Create Application.
    2. On the first window, choose the option to Manually specify the application information. Then click Next.
    3. Enter a name for the application. Then click Next.
    4. For any customizations to the App Catalog, do so on this window. Then click Next.
    5. On the Deployment Types window, click Add to create a new deployment type.
    6. In the new window that appears, choose Script Installer from the drop-down menu. Then click Next.
    7. Enter a descriptive name for the Deployment Type. Then click Next.
    8. In the Content Location box, browse to the network location where the WMF installer is saved.
    9. In the Installation Program box, browse to the WMF installer.
    10. Here is the full install command line: wusa.exe Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestartWindows Management Framework 4.0 with ConfigMgr
    11. On the Detection Methods window, choose the Use a custom script to detect the presence of this deployment type option.
    12. Click Edit. Then select PowerShell in the drop-down menu.
    13. Here is the PowerShell detection script: if ($psversiontable.pscompatibleversions -contains ‘4.0’){Return $True}
      This script reads the value of the PSCompatibleVersions attribute. If version 4.0 is included, then WMF 4.0 has been successfully installed.PowerShell Script - Compatible Versions
    14. On the User Experience window, choose Install for System, Whether or Not a User is Logged On, and Hidden. Then click Next.
    15. On the Requirements window, click Add to create a new requirement.
    16. In the window that appears, select Windows 7 SP1 (64-bit), Windows Server 2008 R2 SP1 (64-bit), Windows Server 2008 R2 SP1 Core (64-bit), and All Windows Server 2012 (64-bit).Requirements - Windows Management Framework 4.0
    17. On the Dependencies window, click Add to create a new dependency.
    18. Give the dependency group a name.Windows MGMT Framework 4.0 ConfigMgr


  1. Click Add to add an application to the dependency group.
  2. Choose the .NET Framework 4.5 Application..NET Framework 4.5 Application
  3. Click Ok twice to complete the creation of the dependency.
  4. Click Next on the Dependencies window.
  5. Click Next on the Summary window.
    1. Click Finish.
      For 32-bit machines in the environment that need the WMF 4.0 installed, click Add to create a second deployment type. The steps are the same as above, except for the following: (1) On the Content Window, browse to the location where the 32-bit installer is saved in the Content Location box. (2) On the Content Window in the Installation Program box, browse to the 32-bit installer. The full installation command line is wusa.exe “Windows6.1-KB2819745-x86-MultiPkg.msu” /quiet /norestart. (3) When creating the OS requirement, select only Windows 7 SP1 (32-bit).
  6. After creating the 64-bit and 32-bit deployment types, click Next on the Deployment Types window.Windows Management Framework 4.0 with ConfigMgr
  7. Click Next on the Summary window.
  8. Click Finish.