Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · WindowsRemoteShell.admx

WindowsRemoteShell.admx: 7 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Allow Remote Shell Access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
Value nameAllowRemoteShellAccess
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures access to remote shells.

If you enable or do not configure this policy setting, new remote shell connections are accepted by the server.

If you set this policy to ‘disabled’, new remote shell connections are rejected by the server.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'AllowRemoteShellAccess' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name AllowRemoteShellAccess

MaxConcurrentUsers

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
MaxConcurrentUsersMaxConcurrentUsersREG_DWORDNumber 1 to 100
What it does (vendor explanation)

This policy setting configures the maximum number of users able to concurrently perform remote shell operations on the system.

The value can be any number from 1 to 100.

If you enable this policy setting, the new shell connections are rejected if they exceed the specified limit.

If you disable or do not configure this policy setting, the default number is five users.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > MaxConcurrentUsers

PowerShell equivalent (generated from the template)
# MaxConcurrentUsers
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'MaxConcurrentUsers' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name MaxConcurrentUsers

Specify Shell Timeout

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
ShellTimeOutShellTimeOutREG_DWORDNumber 0 to 2147483647
What it does (vendor explanation)

This policy setting is deprecated and has no effect when set to any state: Enabled, Disabled, or Not Configured.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Specify Shell Timeout

PowerShell equivalent (generated from the template)
# ShellTimeOut
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'ShellTimeOut' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name ShellTimeOut

Specify idle Timeout

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
IdleTimeoutIdleTimeoutREG_DWORDNumber 0 to 2147483647
What it does (vendor explanation)

This policy setting configures the maximum time in milliseconds remote shell will stay open without any user activity until it is automatically deleted.

Any value from 0 to 0x7FFFFFFF can be set. A minimum of 60000 milliseconds (1 minute) is used for smaller values.

If you enable this policy setting, the server will wait for the specified amount of time since the last received message from the client before terminating the open shell.

If you do not configure or disable this policy setting, the default value of 900000 or 15 min will be used.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Specify idle Timeout

PowerShell equivalent (generated from the template)
# IdleTimeout
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'IdleTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name IdleTimeout

Specify maximum amount of memory in MB per Shell

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
MaxMemoryPerShellMBMaxMemoryPerShellMBREG_DWORDNumber 0 to 2147483647
What it does (vendor explanation)

This policy setting configures the 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 is terminated when a new allocation exceeds the specified quota.

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

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Specify maximum amount of memory in MB per Shell

PowerShell equivalent (generated from the template)
# MaxMemoryPerShellMB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'MaxMemoryPerShellMB' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name MaxMemoryPerShellMB

Specify maximum number of processes per Shell

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
MaxProcessesPerShellMaxProcessesPerShellREG_DWORDNumber 0 to 2147483647
What it does (vendor explanation)

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.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Specify maximum number of processes per Shell

PowerShell equivalent (generated from the template)
# MaxProcessesPerShell
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'MaxProcessesPerShell' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name MaxProcessesPerShell

Specify maximum number of remote shells per user

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS
OptionValueTypeAllowed values
MaxShellsPerUserMaxShellsPerUserREG_DWORDNumber 0 to 2147483647
What it does (vendor explanation)

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.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Specify maximum number of remote shells per user

PowerShell equivalent (generated from the template)
# MaxShellsPerUser
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service\WinRS' -Name 'MaxShellsPerUser' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopADMX: WindowsRemoteShell.admx · policy name MaxShellsPerUser