Skip to main content
Barracuda MSP Partner Toolkit

How to manually configure the Windows Management Framework

Starting with Managed Workplace 2013 R1 FP3, the Managed Workplace Onsite Managers will now be querying WMI over the WS-Management Protocol. If the WS-Management protocol is not available on a device, Managed Workplace Onsite Manager will revert to querying WMI over DCOM.

In order to utilize WS-Man, Windows Management Framework (WinRM 2.0) or greater must be installed. Below are the steps required to configure the Windows Management Framework manually on a device.

To determine the version of the Windows Management Framework
  1. Launch Command Prompt as Administrator
  2. Run the following command and look for the version

1

PowerShell.exe Get-Host

Configuring WinRM 2.0
  • Launch Command Prompt as Administrator

1

winrm quickconfig -q

  • Run the following commands to apply the required configuration change

1

2

3

4

5

6

7

winrm set winrm/config @{MaxEnvelopeSizekb = "2000"}

winrm set winrm/config/client @{TrustedHosts="*"}

winrm set winrm/config/client/auth @{Basic="true"}

winrm set winrm/config/service @{EnumerationTimeoutms="240000"}

winrm set winrm/config/service @{MaxConcurrentOperationsPerUser="1500"}

winrm set winrm/config/service @{MaxConnections="50"}

winrm set winrm/config/service/auth @{Basic="true"}

Configuring WinRM 3.0 or higher
  • Launch Command Prompt as Administrator
  • Run the following command and follow the prompts to enable WinRM

1

winrm quickconfig -q

  • Run the following commands to apply the required configuration changes

1

2

3

4

5

6

7

8

winrm set winrm/config @{MaxEnvelopeSizekb = "2000"}

winrm set winrm/config/client @{TrustedHosts="*"}

winrm set winrm/config/client/auth @{Basic="true"}

winrm set winrm/config/service @{EnumerationTimeoutms="240000"}

winrm set winrm/config/service @{MaxConcurrentOperationsPerUser="1500"}

winrm set winrm/config/service @{MaxConnections="300"}

winrm set winrm/config/service/auth @{Basic="true"}

winrm set winrm/config/service @{AllowRemoteAccess = "true"}

Script

The script below is also available in the wiki which will automate the above manual process if all you want is to configure an existing Windows Management Framework.

  • Was this article helpful?