Home Dashboard Directory Help
Search

Quotas ignored after WMF 3.0 update by Keno M Fischer


Status: 

Active


3
0
Sign in
to vote
Type: Bug
ID: 775399
Opened: 12/28/2012 11:58:17 AM
Access Restriction: Public
0
Workaround(s)
view
2
User(s) can reproduce this bug

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)
Details
Sign in to post a comment.
Sign in to post a workaround.