Specify maximum number of remote shells per user
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Windows Remote Shell
Supported on
At least Windows Vista

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista

This policy setting configures the maximum number of concurrent shells any user can remotely open on the same system. Any number from 0 to 0x7FFFFFFF cand be set, where 0 means unlimited number of shells. If you enable this policy setting, the user cannot open new remote shells if the count exceeds the specified limit. If you disable or do not configure this policy setting, by default the limit is set to two remote shells per user.

Internal name
MaxShellsPerUser
Policy ID
9a96c2b9678b
Elements
1

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.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
MaxShellsPerUser
ID MaxShellsPerUser
decimal
Path
Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
Value name
MaxShellsPerUser
Type
REG_DWORD
Range: 0 to 2147483647
MaxShellsPerUser
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
Value name
MaxShellsPerUser
Type
REG_DWORD
Details
Range: 0 to 2147483647