Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > 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
12:55, 17 Apr 2017

Tags

Classifications

Public