This script uses Eraser 5.86a or 5.8.8 to securely erase all of the unused space on C. Eraser is a free program available for download. The script checks for Eraser’s presence before running and does a single pass of pseudo-random data. It can be modified to run any algorithm in Eraser and logs the results. Results of the run are logged to the user temp folder in a file labeled wksAutoITscript_logfile.txt. Erase Free Space does not work with Eraser 6.0.6 which does not have documented command line features as of this writing.
This is useful for scheduling a late night maintenance window and can add another layer of security when used with Deep Freeze.