NTFAQFr DépartNewsDiscussion AreaLinksrechercheSpaceHelp

Q. Comment limiter la taille des profils utilisateurs ?

R. Le Service Pack 4 introduit l'utilitaire PROQUOTA.EXE qui permet de fixer des limites a la taille des profils utilisateurs.

Les quotas pour les profils se mettent en place en utilisant une stratégie systeme.

  1. Lancez l'editeur de  stratégies systemes.(poledit.exe)
  2. Ouvrez le modele de base Common.adm et Winnt.adm (A partir du menu Options selectionnez   "Modele " puis allez dans le répertoire %systemroot%\inf )
  3. Créez une nouvelle stratégie (Fichier - "Nouvelle stratégie")
  4. Ouvrez l'utilisateur par défaut , puis depliez les profils d'utilisateurs Windows NT.
  5. Lorsque vous choississez "Limiter la taille des profils ", les options suivantes sont disponibles :
    - Custom Message - The text in the dialog box that appears when the user's profile exceeds the quota.
    - Max Profile Size - The maximum size of the user profile. This value defaults to 30,000 KB, so administrators will want to carefully consider how low they set this value. This is especially true, given the fact that users will not be able to successfully log off if their profile is too large.
    - Include registry in file list - When the user exceeds the profile quota, an error icon appears in the system tray. Double-clicking the icon brings up a tool that lists all the files in the profile, as well as the file size from the largest file to the smallest. By default, the list does not include files that are smaller than 2 KB. Users can consult this list to determine which files can be erased, moved to server-based storage, or backed up to offline storage. When this option is checked, the users' registry settings, Ntuser.dat, will be included in the list. Users cannot delete this file.
    - Notify user when profile storage space is exceeded - By default, users will get a dialog box informing them that their user profile is too large only when they attempt to log off. With this option selected, a dialog box appears as soon as the profile reaches the quota size, and at a configurable interval thereafter.
  6. A second option is to select "Exclude directories in roaming profile" which does not include specified directories as part of the users profile
  7. Once complete save the file to the netlogon share of the domain controller as NTCONFIG.POL

Ensure clients have the PROQUOTA.EXE image by either installation Service Pack 4 on them or manually copy the file to the %systemroot%\system32 directory.

When the clients log back on they will now have their quotas monitored and these can be examined by clicking the proquotasmall icon.

NOTE: Remember that the user will not be able to log off if the user profile quota is exceeded, and, by default, small files are not listed in the dialog that displays the files contained in the profile. If Internet Explorer 4.x is installed, these small files could include the entries in the Temporary Internet Files folder. This cache uses a small percentage of the total drive space, but can easily grow to be several megabytes in size. To delete these files, the user will need to empty the cache through the Internet Explorer Internet Options dialog box.

If quotas are enabled and the user cannot logoff, the PROQUOTA.EXE process can be killed in Task Manager. This will allow the user to logoff.

The following list describes the registry keys and values for Profile Quotas in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System


Un commentaire , une précision ? Ecrivez nous.