Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're developing a SaaS application which, among other things, provides space for Mercurial (Hg) repositories. Now, Hg repo is just a directory on a disk and each user is allowed to have as many of them as possible, but the limiting factor here is the amount of disk space allocated based on their subscription (like, 100 Mb for Free plan, 6 Gb for Premium, etc).

What we're trying to do is to have per-directory quotas for one user (which will be the user ASP.NET site will be running under). Is this doable under Windows Server? If it is, can it be done programmatically?

share|improve this question

Apparently it is possible -- see this blog entry: New feature in Windows Server 2003 R2: directory-level quotas. However this seems to only act on the folder, and not a folder-user pairing, but you may be able to use this in conjunction with the per-user quota (that acts at the volume level) somehow.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.