If you find that you’re out of hard drive space on your computer, or you simple hate keeping unnecessary files around, give this a try.

1. Create a batch script and put this code in it. (or download it here)

   @echo off
   FOR /F "tokens=*" %%G IN ('DIR /B /AD /S 
   "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\"') 
   DO RMDIR /S /Q "%%G"
   
   *The 3 lines above should be on one line. They are broken apart here for clarity sake.

2. Create a scheduled task to run at logon and have it call the batch script you just created

Enjoy the free ~20GB.