Prevent Windows 10 from emptying %temp%

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 23
    Windows 10 x64, Pro
    Thread Starter
       #11

    OK this is odd then. I never once had Windows 7 clear out this folder on multiple computers..

    Now I have two Windows 10's (a surface and a Dell inspiron laptop) and it does it on both. So I am imagining there is a default setting that is triggering this.

    As an aside there should be a process which is doing it (since it is not happening in real time: only periodically), and one would think this would be listed in the event log. But it does not seem that anyone wants to answer what process that is (not just "windows does this")
      My Computer


  2. Posts : 23
    Windows 10 x64, Pro
    Thread Starter
       #12

    Again, I am not looking for additional ways to clean things!!!

    I would like to know what process is doing the deleting. If it is not too much to ask, if people could address that I would appreciate it.
      My Computer


  3. Posts : 5,200
    Windows 11 Home
       #13

    MonkeyMan123 said:
    As an aside there should be a process which is doing it (since it is not happening in real time: only periodically), and one would think this would be listed in the event log. But it does not seem that anyone wants to answer what process that is (not just "windows does this")
    Because it is hard to tell, I would love to know, but we can only guess, the deletion is most likely based on the date the file was created. Your request is unique and unusual, so it is hard to address, I remove temp folders with CCleaner every day. As mentioned, you could try to disable automatic maintenance, but there are MS tasks, which might be involved too.

    Enable or Disable Automatic Maintenance in Windows 10 Performance Maintenance Tutorials
      My Computer


  4. Posts : 61,909
    64-bit Windows 11 Pro for Workstations
       #14

    MonkeyMan123 said:
    Again, I am not looking for additional ways to clean things!!!

    I would like to know what process is doing the deleting. If it is not too much to ask, if people could address that I would appreciate it.
    You asked what would delete files in the %Temp% folder, and that is exactly what the others are trying to tell you.

    In addition to what the others posted, apps themselves will often cleanup their own files in the %Temp% folder when done working.

    There is not just one process that deletes files in the %Temp% folder since it is a working directory used by just about everything.
      My Computers


  5. Posts : 772
    Windows 10 Home x64 - Version 21H2 (OS Build 19044.1766)
       #15

    I don't know if this would make a difference or not on the OP's particular folder; but maybe he could untick some of these check boxes?

    Turn On or Off Automatically Free Up Space in Windows 10 Performance Maintenance Tutorials

    Prevent Windows 10 from emptying %temp%-maybe.jpg
      My Computer


  6. Posts : 23
    Windows 10 x64, Pro
    Thread Starter
       #16

    Thanks EyeInTheSky: that is exactly the kind of suggestion I was looking for!

    Alas I have already turned off Storage Sense so that is not the source of deletions on my PC
      My Computer


  7. Posts : 1,250
    Windows 10 Pro
       #17

    Windows components can delete their temp files whenever they wish. The same for applications. This may happen at times other than expected. The activities of Storage sense are in addition to this.

    Edit: The temp folders are for the exclusive use of Windows and applications. They are not for user usage.
      My Computer


  8. Posts : 39,995
    windows 10 professional version 1607 build 14393.969 64 bit
       #18

    In the left lower corner search type clean > open disk cleanup > scroll up and down > post images into the thread
      My Computer


  9. Posts : 23
    Windows 10 x64, Pro
    Thread Starter
       #19

    zbook when I open DiskClean I do not have options like you said. I get this:
    Prevent Windows 10 from emptying %temp%-capture.png

    On the next screen "Temporary Files" (which is the folder I am interested in) is unchecked.
      My Computer


  10. Posts : 39,995
    windows 10 professional version 1607 build 14393.969 64 bit
       #20

    click OK then scroll up and down > post images into the thread

    It should look similar to this: Prevent Windows 10 from emptying %temp%-disk-cleanup-1215-2017.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:47.
Find Us




Windows 10 Forums