dcsimg
Results 1 to 18 of 18

Thread: Windows 10 Temp File Huge Even After Disk Cleanup

  1. #1

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Windows 10 Temp File Huge Even After Disk Cleanup

    Hello,

    Our system administrator did a maintenance routine on my laptop specifically disk cleanup and cc cleaner. To our surprise, the temp files is huge like 25.3GB.

    Is there an alternative solution or a tool to remove the temporary files this big? Or perhaps the folder location of these files?

    Name:  TempFileHuge.jpg
Views: 125
Size:  16.2 KB

    Note: This laptop is part of a domain.

    Regards,

    KGC
    Last edited by KGComputers; Apr 10th, 2019 at 04:17 AM.
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  2. #2
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    583

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    The environment variables TMP/TEMP specify the location for the temp folder for each user. Usually these point to a folder within the users profile so that each user has a separate temp folder, but these locations can be changed.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.1.3)

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    40,896

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    There are a lot of developer-specific file/folder types that get created in the temp folder, and some of them can be rather large... I've deleted about 2.5 GB of them this week (out of a 3 GB temp folder).

    If you tell us the naming style (eg: "xc_(6 hex digits).tmp") of some common/large items, we can hopefully explain which one(s) are safe to delete.

  4. #4
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    583

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    I've found that if anything in TEMP can be deleted, it's safe to be deleted. I've never had any issues from deleting everything there that can be. If a file/folder residing there can't be deleted it's probably because it's in use for something and so shouldn't be deleted.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.1.3)

  5. #5
    Administrator Steve R Jones's Avatar
    Join Date
    Apr 2012
    Location
    Dallas, TX
    Posts
    985

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Look in this folder:

    C:\Users\USER NAME\AppData\Local\Temp

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    40,896

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by 2kaud View Post
    I've found that if anything in TEMP can be deleted, it's safe to be deleted. I've never had any issues from deleting everything there that can be. If a file/folder residing there can't be deleted it's probably because it's in use for something and so shouldn't be deleted.
    There are some things it is best to not delete, such as Log files for various things, including large 'sets' of them from Visual Studio.

    For the Visual Studio ones, if there has been a failure during an update, keeping the log files is likely to be a good idea - because getting a fix for whatever it was might become important to you (and the log files help you to get that fix).

    There are several other things it is best to keep too (hence my 0.5 GB remaining), so a quick check is worth doing.

  7. #7
    Frenzied Member jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    1,352

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Note that Windows 10 is now reserving 7 GB of space for "updates" as well. You won't be able to reclaim that.

  8. #8

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by 2kaud View Post
    The environment variables TMP/TEMP specify the location for the temp folder for each user. Usually these point to a folder within the users profile so that each user has a separate temp folder, but these locations can be changed.
    The size of this folder is only 250+MB..

    -kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  9. #9

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by si_the_geek View Post
    There are a lot of developer-specific file/folder types that get created in the temp folder, and some of them can be rather large... I've deleted about 2.5 GB of them this week (out of a 3 GB temp folder).

    If you tell us the naming style (eg: "xc_(6 hex digits).tmp") of some common/large items, we can hopefully explain which one(s) are safe to delete.
    si,

    so far these files don't reach GB in size. As an add-on our network/workstations have Sophos Antivirus Enterprise. I performed a scan, no issues detected.

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  10. #10

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by Steve R Jones View Post
    Look in this folder:

    C:\Users\USER NAME\AppData\Local\Temp
    Steve,

    The size of this folder is 300MB+.

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  11. #11

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by jdc2000 View Post
    Note that Windows 10 is now reserving 7 GB of space for "updates" as well. You won't be able to reclaim that.
    jdc,

    I'll pass this information to our sys admin.

    I did some research and the articles says that the 'reserved storage' is under System and Reserved. Not Temporary Files.

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  12. #12
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,116

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    So what specific folders are these 25 GB of "temporary files" located? If you don't know, TreeSize Free is a handy tool to quickly find out your disk usage.

  13. #13

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by topshot View Post
    So what specific folders are these 25 GB of "temporary files" located? If you don't know, TreeSize Free is a handy tool to quickly find out your disk usage.
    topshot,

    Yes, I didn't know the specific folders associated with temporary files. Our systems admin will install this tool next week in my laptop. Will provide updates next week.

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  14. #14
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    1,819

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by KGComputers View Post
    *snipp*

    Is there an alternative solution or a tool to remove the temporary files this big? Or perhaps the folder location of these files?
    *snipp*
    Yes..... "Format c:"
    ....and install Linux.....
    One System to rule them all, One IDE to find them,
    One Code to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    For health reasons i try to avoid reading unformatted Code

  15. #15
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    583

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by Zvoni View Post
    Yes..... "Format c:"
    ....and install Linux.....
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.1.3)

  16. #16

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,944

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    Quote Originally Posted by Zvoni View Post
    Yes..... "Format c:"
    ....and install Linux.....
    Windows 10 != Linux

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  17. #17

  18. #18
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    583

    Re: Windows 10 Temp File Huge Even After Disk Cleanup

    A couple of further thoughts:

    You mention that this laptop is part of a domain. With roaming profiles, the profile for every user who has logged into the domain from that laptop will be stored there. Some user's profile can be quite large.

    Also, the temporary files could include the internet browser cache files.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.1.3)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width