-
Apr 10th, 2019, 03:24 AM
#1
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?
Note: This laptop is part of a domain.
Regards,
KGC
Last edited by KGComputers; Apr 10th, 2019 at 04:17 AM.
-
Apr 10th, 2019, 04:00 AM
#2
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++23 Compiler: Microsoft VS2022 (17.6.5)
-
Apr 10th, 2019, 04:24 AM
#3
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.
-
Apr 10th, 2019, 04:49 AM
#4
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++23 Compiler: Microsoft VS2022 (17.6.5)
-
Apr 10th, 2019, 05:11 AM
#5
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Look in this folder:
C:\Users\USER NAME\AppData\Local\Temp
-
Apr 10th, 2019, 05:12 AM
#6
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by 2kaud
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.
-
Apr 10th, 2019, 09:15 AM
#7
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.
-
Apr 11th, 2019, 09:29 AM
#8
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by 2kaud
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
-
Apr 11th, 2019, 09:31 AM
#9
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by si_the_geek
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
-
Apr 11th, 2019, 09:32 AM
#10
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by Steve R Jones
Look in this folder:
C:\Users\USER NAME\AppData\Local\Temp
Steve,
The size of this folder is 300MB+.
- kgc
-
Apr 11th, 2019, 09:36 AM
#11
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by jdc2000
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
-
Apr 11th, 2019, 09:42 AM
#12
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.
-
Apr 12th, 2019, 10:42 AM
#13
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by topshot
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
-
Apr 12th, 2019, 12:34 PM
#14
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by KGComputers
*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.....
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE 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.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Apr 13th, 2019, 05:36 AM
#15
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by Zvoni
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++23 Compiler: Microsoft VS2022 (17.6.5)
-
Apr 15th, 2019, 01:59 AM
#16
Re: Windows 10 Temp File Huge Even After Disk Cleanup
Originally Posted by Zvoni
Yes..... "Format c:"
....and install Linux.....
Windows 10 != Linux
- kgc
-
Apr 15th, 2019, 09:46 AM
#17
Re: Windows 10 Temp File Huge Even After Disk Cleanup
-
Apr 16th, 2019, 04:07 AM
#18
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++23 Compiler: Microsoft VS2022 (17.6.5)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|