Tuesday, March 15, 2011

Is it possible to limit folder size in a Windows environment?

Is it possible to limit a folder size in Windows so that when a user tries to write to the folder when it is full he receives an error message?

From stackoverflow
  • Do you mean disk quotas as described at, e.g. http://www.windowsnetworking.com/articles_tutorials/Configuring-Disk-Quotas-Windows-2003.html?

    ZombieSheep : Dagnabit, Rob, every question I answer, I answer about 20-30 seconds after you with the same info. :( ;)
    Assaf Lavie : Can you define quotas per folder?
    Alceu Costa : I don't believe disk quotas will work. The followring text is from the link in your answer "Disk quotas are configured on a per volume basis and cannot be set on a file or folder level."
  • Have a look at Quotas for NTFS file systems..

  • It depends on how limiting you want to be. :)

    For example, it's not difficult to write a program that listens/monitors a folder and displays a message box error/warning in case the user exceeds his quota. But that doesn't prevent him from exceeding it - just notifies him he did so.

  • Keep in mind that Disk Quotas are per user not per folder, there are other solutions that will allow you to lock down a folder size regardless of user, my experience has been with Veritas Storage Exec, but it seems to be discontinued.

0 comments:

Post a Comment