Specify maximum number of remote shells per user

Policy ID
MaxShellsPerUser
Scope
Computer Configuration
Supported on
At least Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Remote Shell

Description

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.

Options

  • MaxShellsPerUser

Registry

ComputerHKEY_LOCAL_MACHINE
  • MaxShellsPerUserREG_DWORD

Other policies in the same category

View all policies in this category (7)