WinRM, exceeded MaxEnvelopeSize quota

luca 08/03/2017 0

Today, while I was configuring an Exchange 2010 server, I got the following error:

The WinRM […] was notified that the request size exceeded the configured MaxEnvelopeSize quota


The MaxEnvelopeSize parameter defines the maximum size (in Kb) of a single SOAP request. Sometimes you may need to increase the value to be able to run a big script/command (via powershell or using the GUI).

The default maximum size is 500Kb and you can show the actual value with the command:

winrm get winrm/config


To change the value, run the following command (in the example I’m increasing the value to 1000Kb):


If you got the error from the Exchange management console, you probably need also to increase the value in the web.config file (InstallDir\ClientAccess\PowerShell). If the parameter is not already present, it can be added:


Leave A Response »

This website uses cookies to ensure you get the best experience on our website maggiori informazioni

Questo sito utilizza i cookie per fonire la migliore esperienza di navigazione possibile. Continuando a utilizzare questo sito senza modificare le impostazioni dei cookie o clicchi su "Accetta" permetti al loro utilizzo.