Windows 10: Prevent Windows 10 from emptying %temp%

Page 2 of 4 FirstFirst 1234 LastLast
  1.    15 Dec 2017 #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 ComputerSystem Spec

  2.    15 Dec 2017 #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 ComputerSystem Spec


  3. Posts : 3,209
    10.5 Home 1803 x64
       15 Dec 2017 #13

    MonkeyMan123 said: View Post
    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 ComputerSystem Spec


  4. Posts : 29,366
    64-bit Windows 10 Pro build 17672
       15 Dec 2017 #14

    MonkeyMan123 said: View Post
    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 ComputersSystem Spec


  5. Posts : 78
    Windows 10 Home/64bit -Version 1803-Build 17134.81
       15 Dec 2017 #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

    Click image for larger version. 

Name:	maybe.JPG 
Views:	45 
Size:	55.3 KB 
ID:	168305
      My ComputerSystem Spec

  6.    15 Dec 2017 #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 ComputerSystem Spec

  7.    15 Dec 2017 #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 ComputerSystem Spec


  • Posts : 17,808
    windows 10 professional version 1607 build 14393.969 64 bit
       15 Dec 2017 #18

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

  •    15 Dec 2017 #19

    zbook when I open DiskClean I do not have options like you said. I get this:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	31 
Size:	8.6 KB 
ID:	168335

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


  • Posts : 17,808
    windows 10 professional version 1607 build 14393.969 64 bit
       15 Dec 2017 #20

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

    It should look similar to this: Click image for larger version. 

Name:	disk cleanup 1215 2017.PNG 
Views:	30 
Size:	20.5 KB 
ID:	168337
      My ComputerSystem Spec


  •  
    Page 2 of 4 FirstFirst 1234 LastLast

    Related Threads
    Windows 10 temp profile issue in General Support
    Hello, I am deploying Windows 10 to PCs, but there is an issue with computers that are used by multiple domain users. Every time different user tries to log in, he is sent to temp profile. After logout and login again, he is on his own profile....
    Windows 10 Temp Folder in Performance & Maintenance
    I have 19 items in my temp folder that will not delete. They all start with AppX. When I try to delete, I get a can't delete in use by another file message. I have tried searching the items but nothing. I have been unsuccessful in...
    Temp folder %temp % in Software and Apps
    Hello I recently installed 2 updates from NVIDEA. I have run disc clean up and Ccleaner>Windows but this attachment says it all. I could use 'Unlocker' but do not want to do damage if the file should not be removed. Do you have any suggestions?...
    Can we delete all folders and files in the above folder?
    CPU not showing temp in Open hardware monitor or core temp Used to show ok, I am certain...In the BIOS when I boot the PC it shows ok approx 60-65oC But not in the aforementioned apps....cant think why Thanks
    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 10:56.
    Find Us