Specify maximum amount of memory in MB per Shell

Configures maximum total amount of memory in megabytes that can be allocated by any active remote shell and all its child processes.

Any value from 0 to 0x7FFFFFFF can be set, where 0 equals unlimited memory, which means the ability of remote operations to allocate memory is only limited by the available virtual memory.

If you enable this policy setting, the remote operation will be terminated when a new allocation exceeds the specified quota.

If you disable or do not configure this policy setting, the value 150 will used by default.


Supported on: At least Windows Vista
MaxMemoryPerShellMB

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\WinRM\Service\WinRS
Value NameMaxMemoryPerShellMB
Value TypeREG_DWORD
Default Value150
Min Value0
Max Value2147483647

windowsremoteshell.admx

Administrative Templates (Computers)

Administrative Templates (Users)