Spooler.Xml File - Huge Space

                       Spooler.Xml File - Huge Space in the directory %windir%\system32\spool folder.

you face this any time on Printer server, that Spooler.xml file is occupying huge space %windir%\system32\spool folder.

This is due to the Windows Error Reporting service for print spooler which has introduced from 2003 SP1. The majority of issues where seen in Windows 2008 server where print spooler is installed and if the Print Spooler  enters into a error state or crash or a busy condition the Windows Error Reporting starts writing the activity into Spooler.xml and keep on goes increasin its size. This log is like Extra level of logging for spooler.

This Windows Error Reporting  for spooler is enabled by Default, you can diable this feature by using the registry key.

  • Click Start, click Run, type regedit, and then click OK.
  • Expand the following subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
  • Create a new DWORD Value, and then type DisableWERLogging in the New Value field.
  • Right-click the DisableWERLogging registry entry, and then click Modify.
  • In the Value data box, type 1, and then click OK.

Once the registry changes are made, please restart the print spooler service.

Done now we have stopped the logging of Spooler.xml file, go a head and delete the file to get the free space back on the server.
Reactions:

4 comments:

Post a Comment