have you tried windows disk cleanup?
just type cleanup
into the start-menu search-box.
*edit* sorry, re-reading your post it seems you want to automate it.
you can use task-scheduler to (wait-for-it) schedule tasks,
but i don't know how to automate the cleanup options
...read this tutorial
- it's for an annual (!) cleanup, but can be easily modified.