• Windows/Temp folder is huge(80gb)

    Home » Forums » AskWoody support » Windows » Windows 7 » Questions: Windows 7 » Windows/Temp folder is huge(80gb)

    Author
    Topic
    #490358

    Lately , I noticed that my computer was really filled up … and I also noticed it was getting filled up from files being generated in the temp folder
    As I searched , I noticed that the temp folder was filled up with many files , but a bunch of text files (8 to 20 mb each) were the main cause of it being very huge
    their names are : KB*************Microsoft .NET Framework 4 ***-MSP0.txt
    and also KB*************Microsoft .NET Framework 4 ***-MSP0.html(but are 60kb each) …
    all of these text files form up to make 75 gb of my temp file which is very annoying

    Note: i noticed these *.txt files were generating since 2011(just a month after i bought the computer) by a rate of 4 files every 2 days

    SO my question is : Is it safe to delete them ? I mean they are just *.txt files

    I’m sorry if my english is not very good and I would appreciate any help 😀

    Viewing 10 reply threads
    Author
    Replies
    • #1404603

      The text files are OK to delete. I’m not sure why .net framework is depositing them with such frequency though. I have seen this happen before but it does not happen on mine.

    • #1404689

      I clean ALL temp files regularly, including Temp Internet Files. Regular maintenance can help to speed things up and free up a lot of space. In fact I have a Clean up batch file I use at Boot that automatically cleans all these temp files and runs the Windows Disk Cleanup app on steroids.

      Code:
      @Echo off
      cls
      [COLOR="#FF0000"]cleanmgr /sageset:65535[/COLOR]
      del /F /S /Q  "%systemroot%temp*.*"
      
      
      del /F /S /Q  "C:AppDataLocalMicrosoftWindowsHistory*.*"
      del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesContent.IE5*.*"
      del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesLowContent.IE5*.*"
      del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesTemporary Internet FilesContent.IE5*.*"
      del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesTemporary Internet FilesLowContent.IE5*.*"
      
      del /F /S /Q  "C:Users%UserName%AppDataLocalTemp*.*"
      del /F /S /Q  "C:Temp*.*"
      del /F /S /Q  "C:Users%UserName%AppDataLocalMicrosoftWindowsTemporary Internet FilesLowContent.IE5*.*
      del /F /S /Q  "C:Users%UserName%AppDataLocalMicrosoftWindowsHistory*.*
      
      
      ::Rem:  No need to duplicate the following section for each registered User
      del /F /S /Q  "%homepath%Cookies*.*"
      del /F /S /Q  "%homepath%recent*.*"
      del /F /S /Q  "%homepath%Local Settingscookies*.*"
      
      del /F /S /Q  "%homepath%Local SettingsHistory*.*"
      del /F /S /Q  "%homepath%Local SettingsTemp*.*"
      del /F /S /Q  "%homepath%Local SettingsTemporary Internet FilesContent.IE5*.*"
      
      
      del /F /S /Q "C:$Recycle.Bin.Bin*.*" 
      
      del /F /S /Q "C:Recycled*.*"
      
      cleanmgr /sagerun:65535

      Note: The sageset line (highlighted in red) can be deleted after the initial run because it remains set.

      This will run many more cleanup sections than the normal Cleanup Manager. Just put a checkmark on everything you wish to delete. I check mark everything myself.

      Simply paste this code into Notepad, then Save As a .bat file on your desktop. The first time you run it, it may take a while to complete.

      • #1404816

        Thanks for the help
        I tried to delete the text files and everything was okay…
        😀

      • #1405071

        I clean ALL temp files regularly, including Temp Internet Files. Regular maintenance can help to speed things up and free up a lot of space. In fact I have a Clean up batch file I use at Boot that automatically cleans all these temp files and runs the Windows Disk Cleanup app on steroids.

        Code:
        @Echo off
        cls
        [COLOR="#FF0000"]cleanmgr /sageset:65535[/COLOR]
        del /F /S /Q  "%systemroot%temp*.*"
        
        
        del /F /S /Q  "C:AppDataLocalMicrosoftWindowsHistory*.*"
        del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesContent.IE5*.*"
        del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesLowContent.IE5*.*"
        del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesTemporary Internet FilesContent.IE5*.*"
        del /F /S /Q  "C:AppDataLocalMicrosoftWindowsTemporary Internet FilesTemporary Internet FilesLowContent.IE5*.*"
        
        del /F /S /Q  "C:Users%UserName%AppDataLocalTemp*.*"
        del /F /S /Q  "C:Temp*.*"
        del /F /S /Q  "C:Users%UserName%AppDataLocalMicrosoftWindowsTemporary Internet FilesLowContent.IE5*.*
        del /F /S /Q  "C:Users%UserName%AppDataLocalMicrosoftWindowsHistory*.*
        
        
        ::Rem:  No need to duplicate the following section for each registered User
        del /F /S /Q  "%homepath%Cookies*.*"
        del /F /S /Q  "%homepath%recent*.*"
        del /F /S /Q  "%homepath%Local Settingscookies*.*"
        
        del /F /S /Q  "%homepath%Local SettingsHistory*.*"
        del /F /S /Q  "%homepath%Local SettingsTemp*.*"
        del /F /S /Q  "%homepath%Local SettingsTemporary Internet FilesContent.IE5*.*"
        
        
        del /F /S /Q "C:$Recycle.Bin.Bin*.*" 
        
        del /F /S /Q "C:Recycled*.*"
        
        cleanmgr /sagerun:65535

        Note: The sageset line (highlighted in red) can be deleted after the initial run because it remains set.

        This will run many more cleanup sections than the normal Cleanup Manager. Just put a checkmark on everything you wish to delete. I check mark everything myself.

        Simply paste this code into Notepad, then Save As a .bat file on your desktop. The first time you run it, it may take a while to complete.

        So Medicio, I imagine this file you made is better than using CCleaner or SlimCleaner?

        Thanks for the info…………Glenda

      • #1483968

        I clean ALL temp files regularly, including Temp Internet Files. Regular maintenance can help to speed things up and free up a lot of space. In fact I have a Clean up batch file I use at Boot that automatically cleans all these temp files and runs the Windows Disk Cleanup app on steroids.

        This point is not made nearly enough. With or without your batch file, regular maintenance, using the tools built into Windows, would stop half of people’s problems.

    • #1404994

      Just a bit of explanation: The KB*.NET Framework*.txt files are the installation logs from .NET Framework patches applied by Windows Update. The only reason to keep any one of them is if Windows Update notifies you that a patch failed to install, and if you want to find out what error caused the failure. The logs are hard to read, so the corresponding .html file will show a summary in your web browser. If lots of patches fail to install, a tech would want to examine the big log files to find out what’s going wrong.

      Once an update patch has successfully installed, there’s no reason to keep these files any longer, and it won’t damage anything to delete them.

    • #1405083

      I also use CCleaner regularly as it finds things that I might have missed. I generally only use the Registry cleaner after an app uninstall to find leftovers, but the temp file cleaner is used regularly.

      • #1482527

        I also use CCleaner regularly as it finds things that I might have missed. I generally only use the Registry cleaner after an app uninstall to find leftovers, but the temp file cleaner is used regularly.

        Will this work on the XP system. I have used it on Win 7 Pro and it works great and seems to run faster than when it was new. But my sister-in-law has the old XP and I plan on installing it on her machine.
        Thanks

    • #1482531

      Cleaning temporary files is fine, registry cleaning is not. Cleaning the registry may result in things not behaving if the cleaner gets it wrong. If you must clean the registry make sure you have an image backup first.

      cheers, Paul

      • #1482533

        Thanks Paul T, but will his code work on an XP machine. I’m not that techie. Thanks again

    • #1482538

      Yes the code is valid in XP.

      cheers, Paul

    • #1482540

      CCleaner seems to work well for me at cleaning Temp files and Registry errors ( I uncheck a few things on the Temp & registry part ). The nice thing on the registry checker is that CCleaner always ask’s if you want to make a backup of the files being deleted, which I do, and if no problems come up within a month, I delete the old Reg. saves.
      BUT as Paul T recommends, I always have an image backup just in case.

      Don't take yourself so seriously, no one else does 🙂
      All W10 Pro at 22H2,(2 Desktops, 1 Laptop).

      • #1482582

        Thanks for all the help. I tried to load the code on her computer and couldn’t even get windows to come up. Had to reload XP from disk for her. It seems to be running ok for now.
        Thanks again to all that helped.

        • #1483248

          My problem seems to be similar however my system files almost doubled. It is on parents win 7 machine. Went from 180 gb to almost 500 gb in about 2 weeks? They don’t d/l video files, they do have a lot of jpegs but they are around 4-5mb each. When I defrag using defraggler they show as unmovable system files, before this sudden increase they were shown at the front of the harddrive. Any ideas on the sudden increase?

          Thanks in advance for your reply,
          g3b

    • #1483254

      You need to use Treesize free to show you what directories contain the most files and what files are largest. When you find out let us know what is using the space.

      cheers, Paul

      p.s. It’s worth starting a new thread for a new topic, next time.

    • #1483942

      Found out the reason for the huge increase…my system restore function was set at 50% of harddrive space…What would the optinum size be for the system restore section?

      Thanks again
      g3b

      • #1483944

        Found out the reason for the huge increase…my system restore function was set at 50% of harddrive space…What would the optinum size be for the system restore section?

        Thanks again
        g3b

        Largely depends on how much space is available, but normally 5% or maybe 10% should be more than enough.

    • #1483952

      5% is more than enough if you have image backups.

      cheers, Paul

    • #1483983

      Medico, I tried your cleanmanager Sageset 65535 BATchfile both with quotation marks surrounding the paths and without quotation marks surrounding the paths, both versions generate cannot find path and/or cannot find files. No problem, will incorporate your ideas into ccleaner’s option’s include folders/files section via ccleaner’s built-in treeclimber. Thanks for the ideas!

      "Take care of thy backups and thy restores shall take care of thee." Ben Franklin, revisted

    Viewing 10 reply threads
    Reply To: Windows/Temp folder is huge(80gb)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: