technology and zen of life

“A heisenbug (named after the Heisenberg Uncertainty Principle) is a computer bug that disappears or alters its characteristics when an attempt is made to study it.”

Exchange 2013 Disk Cleaning

After some troubles with mailflow due to Back Pressure on my relatively small virtual machine for Exchange, I had to try somewhat harder to reclaim disk space inside the Exchange VM. After the steps described below, I freed nearly 10 GB.

When you use Exchange inside a Virtual Machine, you might want to keep the size of the VM under control, so you can backup the VM with more ease.

Manual directory check

Manually empty these directories:

  • C:\Program Files\Microsoft\Exchange Server\V15\Logging\Diagnostics\DailyPerformanceLogs
    Ref.: Richard SchwendimanExchange 2013 Logging and Space Requirements, 2013
  • C:\Program Files\Microsoft\Exchange Server\V15\Logging\lodctr_backups
    Ref.: Tony RedmondFreeing up disk space after Exchange 2010 installations, 2010
  • C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs
  • C:\Windows\Temp
  • C:\inetpub\logs\LogFiles

Limit transaction log size

  • Use backup software that clears the transaction logs.
  • Use other backup methods and enable circular logging.

Clean the WinSXS folder

The WinSXS folder holds often more than is needed.
Ref.: Lefteris KarafilisWinSXS cleanup in Windows 2012 and Windows 8, 2013

Get-WindowsFeature | where-object{$_.Installed -eq 0 -and $_.InstallState -eq 'Available'} | uninstall-windowsfeature -remove

dism /online /cleanup-image /SPSuperseded
dism /online /cleanup-image /StartComponentCleanup
dism /online /cleanup-image /StartComponentCleanup /ResetBase

Use specific tools

 Exchange 2013 Disk Cleaning

About Evert Mouw

Interested in kinda everything, studied political science, now studying medical informatics. MCSE, Linux enthousiast, and believing that technology is the path to enlightenment ;-) Best RTS game ever is Warhammer Soulstorm (IMHO). Other hobbies include hiking, kayaking, reading and when I have time, trying to have an ant colony in an artificial nest (formicarium).

Leave a Reply

Email Subscription

Disclaimer

The views expressed on this blog are personal. We do not claim to be a representative voice of the views of any organisation whatsoever. We are not responsible for the content present on the blogs to which we have linked.Views expressed are solely that of the author and does not reflect a collective opinion of contributors.
%d bloggers like this: