Manage user disk quotas in Windows

Priya 211 Reputation points
2021-06-03T12:54:13.523+00:00

Hello,

With 2 node windows 2019 cluster, i want to manage the user disk quotas. My understanding is that with FSRM, we can do only capacity quota enforcement and not user/group quotas. Hence i explored the disk quota enabled using fsutil for user/group quota.

For the local user i have set the hardlimit as 2MB and wrote data more than 2MB, it didnt complain that user has reached the limit and i could write to the drive without any issues. What am i missing here.

fsutil quota modify H: 1048576 2097152 \Administrator
fsutil quota enforce H:

PS h:\> fsutil quota query H:
FileSystemControlFlags = 0x00000001
Quotas are tracked on this volume
Logging for quota events is not enabled
The quota values are up to date

Default Quota Threshold = 0xffffffffffffffff
Default Quota Limit = 0xffffffffffffffff

SID Name = BUILTIN\Administrators (Alias)
Change time = Thursday, June 3, 2021 12:23:46 PM
Quota Used = 17375232
Quota Threshold = 18446744073709551615
Quota Limit = 18446744073709551615

SID Name = WIN-EST2RNNNHJO\Administrator (User)
Change time = Thursday, June 3, 2021 12:22:25 PM
Quota Used = 0
Quota Threshold = 1048576
Quota Limit = 2097152

SID Name = NT AUTHORITY\NETWORK SERVICE (WellKnownGroup)
Change time = Thursday, June 3, 2021 12:21:47 PM
Quota Used = 1024
Quota Threshold = 18446744073709551615
Quota Limit = 18446744073709551615

SID Name = NT AUTHORITY\SYSTEM (WellKnownGroup)
Change time = Thursday, June 3, 2021 12:21:47 PM
Quota Used = 6293504
Quota Threshold = 18446744073709551615
Quota Limit = 18446744073709551615

I have couple of questions

  1. Can we use FSRM for user/group quota?
  2. If not, fsutil is the only way to achieve user/group quota?
  3. In a clustered environment, can i use fsutil to do the user quota enforcement.

Thanks!

Windows for business Windows Server Storage high availability Other
{count} votes

Accepted answer
  1. Leon Laude 86,026 Reputation points
    2021-06-03T13:01:08.193+00:00

    Hi @Priya ,

    1. Can we use FSRM for user/group quota?

    Unfortunately it is not possible with File Server Resource Manager (FSRM) to do user/group quotas.

    2. If not, fsutil is the only way to achieve user/group quota?

    Yes fsutil is one way of achieving this, or third-party tools.

    3. In a clustered environment, can i use fsutil to do the user quota enforcement.

    It should be possible to do in a clustered environment.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.