Configuring The Envelope Size For WinRM
To configure
the envelope size for WinRM:
NOTE: On WinRM version 2.0,
enable the compatibility mode for WinRM version 2.0 to use port 443.
WinRM version 2.0 uses port 5986 by default. To enable the compatibility
mode, type the following command:
winrm s winrm/config/Service @{EnableCompatibilityHttpsListener="true"}
Open a command prompt.
Type
winrm g winrm/config
.Check the value of the MaxEnvelopeSizekb attribute. If the value is less than 4608, type the following command:
winrm s winrm/config @{MaxEnvelopeSizekb="4608"}
Set the value of MaxTimeoutms to 3 minutes:
winrm s winrm/config @{MaxTimeoutms ="180000"}