Full hard drive on Windows 2008 Server

Today a production XenApp 5 Windows 2008 Enterprise Server ran out of disk space. I only added it to the farm yesterday at which time it had 18GB of free space, so I knew something odd was up. Checking the folder sizes it only took a few minutes to find the culprit:
%windir%\system32\spool\spooler.xml

This file was 18GB and the cause of the low disk space. Stopping the print spooler allowed me to delete the file and a Google search quickly explained how to stop this from occurring again, see here and here – basically it’s Windows Error Reporting going nuts.

I’m adding this to the build for all Windows 2008 Server installs so this doesn’t occur again:
reg add HKLM\System\CurrentControlSet\Control\Print /v DisableWERLogging /t REG_DWORD /d 1

Leave a Reply

Contact Deptive

Location
Deptive - Commercial Bay
11-19 Customs Street West St
Commercial Bay Tower, Level 17, Room 1715
Auckland 1010

Contact Details

0800 000 141

Postal Address
PO Box 34797,
Birkenhead, Auckland 0746