Quotas ignored after WMF 3.0 update - by Keno M Fischer

Status : 

 


4
0
Sign in
to vote
ID 775399 Comments
Status Active Workarounds
Type Bug Repros 3
Opened 12/28/2012 11:58:17 AM
Access Restriction Public

Description

All quotas as described in http://msdn.microsoft.com/en-us/library/windows/desktop/ee309367%28v=vs.85%29.aspx are ignored after the update to WMF 3.0. This used to work in WMF 2.0. See the following example: 

Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\vagrant> winrs -r:http://localhost:5985/wsman -u:vagrant -p:vagrant cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\vagrant>cmd /C cmd /C cmd /C cmd /C cmd /C cmd /C cmd /C  cmd /C cmd /C cmd /C cmd /C cmd /C cmd /C cmd /C cmd
/C cmd /C cmd /C cmd /C cmd /C cmd /C cmd /C cmd
Not enough quota is available to process this command.

C:\Users\vagrant>winrm get winrm/config/winrs
Winrs
    AllowRemoteShellAccess = true
    IdleTimeout = 7200000
    MaxConcurrentUsers = 10
    MaxShellRunTime = 2147483647
    MaxProcessesPerShell = 1024
    MaxMemoryPerShellMB = 1024
    MaxShellsPerUser = 30

The quota should not have been triggered. The same holds true for other quotas as well (see e.g. http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/51810d3b-6236-44f8-99fd-10f004ad8002)
Sign in to post a comment.
Posted by Cristi-Ingineru on 8/11/2014 at 7:09 AM
Is this bug present in WMF 4.0 too? I'm asking because I have the same symptoms but the critical fix (http://support.microsoft.com/kb/2842230/en-us) doesn't install against my Windows 7 enterprise + Powershell 4.0