Group based quotas in Windows Server 2008

Is there any way in Server 2008 to set up quotas based on a user's group membership? What I would like to do is give members of mydomain\teachers a 500 mb quota and members of mydomain\students a 100 mb quota. Is this possible?
zgreenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SirtenKenCommented:
Can you have all the students under one folder and all the teachers under another?
e.g
\\server\students\student1
\\server\students\student2
\\server\students\student3
and
\\server\teachers\teacher1
\\server\teachers\teacher2 etc.

If you can set it up this way, two separate autoquotas can be made, which will have the desired effect.
The autoquota for the teachers folder will be 500mb and the one for studnets will be 100mb. New folders will receive these quotas when they are created, at account creation time. You would also need to modify the templates used to create new accounts.

I had to put quotas on hundreds of users at different levels and found the GUI more than capable of handling multiple selection changes. If it is easy to visually identify the teachers, applying the quotas manually shouldn't take too long.

For doing the quotas by group, you can have a script run the dirquota command (in code snippet) based on group membership, but then you'll still have to manually change the quotas when new members arrive.
 
dirquota quota modify /path:<Path> [/sourcetemplate:<TemplateName>]    [/limit:<Limit>[kb | mb | gb]] [/type:{hard | soft}]    [/status:{enabled | disabled}] [/reset-peakusage]    [/add-threshold:<Level>] [...] [/delete-threshold:<Level>] [...]    [/modify-threshold:<OldLevel>,<NewLevel>] [...]    [/add-notification:<Level>,<NotifyType>,<ConfigFile>] [...]    [/delete-notification:<Level>,<NotifyType>] [...]    [/modify-notification:<Level>,<NotifyType>,<ConfigFile>] [...]    [/remote:<ComputerName>]

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zgreenAuthor Commented:
So I assume by your answer, quotas based on group membership are not possible.

I may have to do a scripting solution as you suggested, but I was just hoping for the much more simple and logical solution of having quotas based on group membership.

Thanks for the help.
0
zgreenAuthor Commented:
His answer is the answer; just not the answer I was hoping for.
0
SirtenKenCommented:
Glad I could help, zgreen.
Many more applications are using the logical solution of checking for membership in a group so as to centralize management to Active Directory. We can hope that MicroSoft will add this feature at some point. I'm glad they finally got it right and have quotas based on folder rather than on owner, which never worked that well. Of course, Novell's Netware was doing this 10 years ago.

Cheers!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.