# Apply quota on network shared directories > Apply quota on network shared directories. Published on 2021-11-30 | Tags: share, permissions, quota https://xsec.fr/en/windows/quota/ --- import { Tree } from '@shared/components/ui/file-tree' ## Context You need to set up restrictions for several user groups. Based on the configuration from the previous tutorial: [Multi-site Active Directory, network shares and user rights management](active-directory-tp-uo-ou-gg-gl-partages-et-droits-utilisateurs.md) We will apply "quotas" to folder shares on the Chassignieu server as an example. Here is the shared folders tree structure: Here are the company requirements: Technicians | Common | Administrative | Common | Chassignieu Technicians | Chassignieu Administrative | Management --- | --- | --- | --- | --- | --- | --- 1GB | 500MB | 1GB | 500MB | 2GB | 4GB | 4GB - Profiles - Users - Base folder ## Adding the "File Server Resource Manager" role ![](/media/windows/quota/q1.webp) ![](/media/windows/quota/q2.webp) ![](/media/windows/quota/q3.webp) ![](/media/windows/quota/q4.webp) ![](/media/windows/quota/q5.webp) ![](/media/windows/quota/q6.webp) ![](/media/windows/quota/q7.webp) ![](/media/windows/quota/q8.webp) ![](/media/windows/quota/q9.webp) ![](/media/windows/quota/q10.webp) ## Creating a quota template ![](/media/windows/quota/q11.webp) ![List of default templates](/media/windows/quota/q12.webp) ![](/media/windows/quota/q13.webp) ![](/media/windows/quota/q14.webp) ## Applying quotas ![](/media/windows/quota/q15.webp) ![](/media/windows/quota/q16.webp) ![](/media/windows/quota/q17.webp) ## Bonus: Applying filters ![](/media/windows/quota/q18.webp) ![Select the type of file you want to block](/media/windows/quota/q19.webp) ![](/media/windows/quota/q20.webp)