How to minimize SYSVOL size by removing administrative templates (.adm files)
Because Administrative Templates (that is, .adm files) take up the most space in policies, remove them to significantly reduce the size of SYSVOL. For example, with the default Administrative Templates, each policy takes up 870 kilobytes (KB) of disk space. If you have 1,300 policies, you can reduce the size of SYSVOL from 1,100 megabytes (MB) to 35 MB (or 27 KB per policy).
You can use Group Policy settings to change the behavior of Group Policy Editor regarding .adm files in Microsoft Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
An easy way to remove Administrative Templates if you have not added any special or custom ones is to search in Explorer on the PDC emulator for *.adm files. Sort the results by name, and then delete all the Administrative Template folders. After you make these changes, wait until the replication process has successfully replicated the changes to the other domain controllers. To complete the process, set the filter for Administrative Templates.
If you have custom Administrative Templates, copy these to a different directory structure. For best results, use the Robust File Copy utility (Robocopy.exe) from the Resource Kit. The command syntax is:
An example of the command to copy custom Administrative Templates to a different directory structure is the following:
To edit this attribute:
- In ADSIEDIT, locate the following object:CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,DC=your_domain
- In the properties for the object, click fRSFileFilter in Select a property to view.
The value appears in the Value line.
- Click Clear to bring the attribute to the Edit Attribute line.
- Change this line to *.tmp, *.bak, *.adm, ~*.
- Click Set.
- Click OK.
You can then use the Robust File Copy utility to copy the Administrative Template folders back to the guid folders if you want. The command syntax is:
If you move the PDC emulator role, you may also want to move the Administrative Templates. For best results, use the Robust File Copy utility. The command syntax is:
An example of the command to move the Administrative Templates is the following:
Unless you have specific Administrative Template requirements (for example, you use certain Administrative Templates only for certain policies), a good idea is to combine these approaches to have a complete set of Administrative Templates for editing a GPO.
Article ID: 813338 - Last Review: 03/16/2007 16:25:01 - Revision: 4.6
- kbinfo kbhowto KB813338