Here's the line to add to autoexec.bat to delete your temp files every time you boot:
deltree /y c:\windows\temp\ >NUL
I have used this for a long time with no problems whatsoever. And, this has never
interfered with any software installations which require a reboot to complete an
install.