Policy
Specify maximum number of processes per Shell
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting configures the maximum number of processes a remote shell is allowed to launch. If you enable this policy setting, you can specify any number from 0 to 0x7FFFFFFF to set the maximum number of process per shell. Zero (0) means unlimited number of processes. If you disable or do not configure this policy setting, the limit is five processes per shell.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | MaxProcessesPerShell ID MaxProcessesPerShell | decimal | Path Software\Policies\Microsoft\Windows\WinRM\Service\WinRS Value name MaxProcessesPerShell Type REG_DWORD | Range: 0 to 2147483647 |