Applications Systems
Access Denied: WinRM has exceed the number of user connections allowed
This article describes where you see the following error in a SAM component details: Access Denied: WinRM has exceed the number of user connections allowed.
First published date
Last published date
Overview
Product section
Resolution
To view the WinRS settings, type:
In CLI: winrm get winrm/config/winrs In PS: Get-Item WSMan:\localhost\Shell* | Select-Object Name,Value
To modify MaxConcurrentUsers, type:
In CLI: winrm set winrm/config/winrs @{MaxConcurrentUsers = "#"}
In PS: Set-Item WSMan:\localhost\Shell\MaxConcurrentUsers #
To modify MaxShellsPerUser, type:
In CLI: winrm set winrm/config/winrs @{MaxShellsPerUser="#"}
In PS: Set-Item WSMan:\localhost\Shell\MaxShellsPerUser #
To modify MaxMemoryPerShell, type:
In CLI: winrm set winrm/config/winrs @{MaxMemoryPerShellMB="#"}
In PS: Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB #