Page 1 of 1 1
Topic Options
#161789 - 2006-05-10 04:52 AM How to set a folder's quota?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
In other words, if I want to limit a folder's size, what should I do?

Thanks in advance!

Top
#161790 - 2006-05-10 05:23 AM Re: How to set a folder's quota?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11563
Loc: CA
How about letting us have a little more information please.

What OS? What Network? NT4 or AD?

What version of KiXtart ?

Top
#161791 - 2006-05-10 05:47 AM Re: How to set a folder's quota?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
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.

Top
#161792 - 2006-05-10 05:55 AM Re: How to set a folder's quota?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
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?
Top
#161793 - 2006-05-10 05:58 AM Re: How to set a folder's quota?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11563
Loc: CA
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.

Top
#161794 - 2006-05-10 09:49 AM Re: How to set a folder's quota?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
NTDOC,you are so kind.

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

Top
#161795 - 2006-05-10 11:25 AM Re: How to set a folder's quota?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11563
Loc: CA
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

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 22 anonymous users online.
Newest Members
Hadfevfegrt477a, Hdrthtsr19956, Kylie99, msmile042, rayd8
17598 Registered Users

Generated in 0.077 seconds in which 0.03 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org