Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Access Denied: WinRM has exceed the number of user connections allowed

Access Denied: WinRM has exceed the number of user connections allowed

Overview

Access Denied: WinRM has exceed the number of user connections allowed.

Environment

All SAM versions

Resolution

Open either command prompt or PowerShell session in Administrator context
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 #

 

Last modified

Tags

Classifications

Public