Moin, ich weiß ja nicht was alles weg soll,
aber für kleine Sachen würde vielleicht auch eine bat reichen z.B.
@echo off
echo j | del c:\windows\recent\*.*
echo j | del c:\windows\temp\*.*
echo j | del c:\windows\pif\*.*
echo j | del c:\windows\*.tmp
usw..... was man halt will
deltree /Y C:\windows\temp\*.*
@echo !!