kingfisher
(Fresh Scripter)
2006-05-10 04:52 AM
How to set a folder's quota?

In other words, if I want to limit a folder's size, what should I do?

Thanks in advance!


NTDOCAdministrator
(KiX Master)
2006-05-10 05:23 AM
Re: How to set a folder's quota?

How about letting us have a little more information please.

What OS? What Network? NT4 or AD?

What version of KiXtart ?


kingfisher
(Fresh Scripter)
2006-05-10 05:47 AM
Re: How to set a folder's quota?

Sorry for my miss.

My KiXtart version is 4.51, the client is Windows XP sp2, server is windows 2003sp1 and using AD.

I am a newbie for this, any suggestion is appreciate.


kingfisher
(Fresh Scripter)
2006-05-10 05:55 AM
Re: How to set a folder's quota?

Is that a way, write script to monitor the folder,when the folder size is about to achieve the quota, the script immediately changes the folder's permission, modify the property to only read?

NTDOCAdministrator
(KiX Master)
2006-05-10 05:58 AM
Re: How to set a folder's quota?

Okay, well here are some links to the information you seek.

Designing a Disk Quota Strategy
http://technet2.microsoft.com/WindowsSer...3.mspx?mfr=true


Disk Quotas Tools and Settings
http://technet2.microsoft.com/WindowsSer...3.mspx?mfr=true

How Can I Retrieve Disk Quota Information for a Single User?
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1124.mspx

How Can I Determine Which Users are Using the Most Disk Space on a Drive?
http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct05/hey1011.mspx

Win32_DiskQuota
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_diskquota.asp

Let us know if you need further assistance.


kingfisher
(Fresh Scripter)
2006-05-10 09:49 AM
Re: How to set a folder's quota?

NTDOC,you are so kind.

And I have a question now, how can I retrieve the folder's permission, and add/remove a member?


NTDOCAdministrator
(KiX Master)
2006-05-10 11:25 AM
Re: How to set a folder's quota?

Please take a look here and see if this is of any help. There are other methods and tools if this does not work.

SharePerms() - Sets Share Permissions
http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Board=UBB12&Number=161552


ACL Scripting without use of external programs (BLOG)
http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=154512