Windows 10: Prevent Windows 10 from emptying %temp%

Discus and support Prevent Windows 10 from emptying %temp% in Windows 10 Support to solve the problem; 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... Discussion in 'Windows 10 Support' started by MonkeyMan123, Dec 14, 2017.

  1. Brink
    Brink New Member

    Prevent Windows 10 from emptying %temp%


    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.
     
    Brink, Dec 14, 2017
    #16
  2. EyeInTheSky, Dec 14, 2017
    #17
  3. 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
     
    MonkeyMan123, Dec 14, 2017
    #18
  4. LMiller7 Win User

    Prevent Windows 10 from emptying %temp%

    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.
     
    LMiller7, Dec 14, 2017
    #19
  5. zbook New Member
    In the left lower corner search type clean > open disk cleanup > scroll up and down > post images into the thread
     
    zbook, Dec 14, 2017
    #20
  6. zbook when I open DiskClean I do not have options like you said. I get this:

    Prevent Windows 10 from emptying %temp% [​IMG]


    On the next screen "Temporary Files" (which is the folder I am interested in) is unchecked.
     
    MonkeyMan123, Dec 15, 2017
    #21
  7. zbook New Member
    click OK then scroll up and down > post images into the thread

    It should look similar to this:
    Prevent Windows 10 from emptying %temp% [​IMG]
     
    zbook, Dec 15, 2017
    #22
  8. Prevent Windows 10 from emptying %temp%

    looks identical to what you posted
     
    MonkeyMan123, Dec 15, 2017
    #23
  9. zbook New Member
    Make sure the files that you want to retain are not checked within the menu.
     
    zbook, Dec 15, 2017
    #24
  10. yep... if you scroll down to TEMP folder it is unchecked
    Prevent Windows 10 from emptying %temp% [​IMG]
     
    MonkeyMan123, Dec 15, 2017
    #25
  11. zbook New Member
    If you use Ccleaner or similar cleaning software post an image into the thread.
    For Ccleaner > click windows tab > scroll down to system and advanced > post an image into the thread
     
    zbook, Dec 15, 2017
    #26
  12. Barman58 Win User
    Windows has cleaned the it's temporary files from various places,in every version of Windows I've used since the Mid 1980's as have the many various other operating systems I've used, the cleaning is performed by many processes, based on various criteria

    If you shut down every process that removes Temporary files you would create a rather expensive doorstop, as the operating system would cease to work, either because the system processes would have been stopped or because the temporary files had filled every bit of space on the system

    The temporary name should give a clue to the purpose of a temporary file. If you wish to retain files place them in any regular user folder - It's a simple way around your "Issue"
     
    Barman58, Dec 15, 2017
    #27
  13. Ztruker Win User

    Prevent Windows 10 from emptying %temp%

    Look at Task Scheduler. Probably some actions being triggered out of there as well that affect Temp files and Folders.
     
    Ztruker, Dec 15, 2017
    #28
  14. Stitch194 Win User
    [I want to revisit a file I have downloaded previously, say a spreadsheet]
    Why on earth are you looking in %Temp% for a downloaded file.
    Prevent Windows 10 from emptying %temp% [​IMG]
     
    Stitch194, Dec 15, 2017
    #29
  15. - no Ccleaner
    - task scheduler: see below. No obvious culprit but thanks for the suggestion
    - I mean I open a file via firefox: when you do so it leaves a copy in %temp% (in firefox btw I have unchecked all options for it to delete cache files so that is not the source of my issues)

    Prevent Windows 10 from emptying %temp% [​IMG]
     
    MonkeyMan123, Dec 15, 2017
    #30
Thema:

Prevent Windows 10 from emptying %temp%

Loading...
  1. Prevent Windows 10 from emptying %temp% - Similar Threads - Prevent emptying %temp%

  2. prevent Windows from creating an empty partition after repair install or clean install

    in Windows 10 Gaming
    prevent Windows from creating an empty partition after repair install or clean install: hi,Does anyone know how I can preventWindows from creating an empty partition after repair install or clean install? https://answers.microsoft.com/en-us/windows/forum/all/prevent-windows-from-creating-an-empty-partition/a9ae823c-ccb6-4868-994a-9ed510562359
  3. prevent Windows from creating an empty partition after repair install or clean install

    in Windows 10 Software and Apps
    prevent Windows from creating an empty partition after repair install or clean install: hi,Does anyone know how I can preventWindows from creating an empty partition after repair install or clean install? https://answers.microsoft.com/en-us/windows/forum/all/prevent-windows-from-creating-an-empty-partition/a9ae823c-ccb6-4868-994a-9ed510562359
  4. Huge number of empty folders in my Windows 11 Windows\Temp folder

    in Windows 10 Gaming
    Huge number of empty folders in my Windows 11 Windows\Temp folder: Is this a problem? I seem to have very many folders sitting in windows\temp, which remain even after doing a full Disk Cleanup. meaning even after doing a Clean Up System Files.,I suppose I could delete them all using File Explorer, but that should not be necessary. How many...
  5. Huge number of empty folders in my Windows 11 Windows\Temp folder

    in Windows 10 Software and Apps
    Huge number of empty folders in my Windows 11 Windows\Temp folder: Is this a problem? I seem to have very many folders sitting in windows\temp, which remain even after doing a full Disk Cleanup. meaning even after doing a Clean Up System Files.,I suppose I could delete them all using File Explorer, but that should not be necessary. How many...
  6. Temp Folder Emptied?

    in Windows 10 Performance & Maintenance
    Temp Folder Emptied?: Does the Temp folder get emptied regularly? I have a screensaver that stores the options in the Temp folder, and every weekend I have to setup the options again. Something is clearing the folder out every weekend, I just had to go in and redo the setting again this morning,...
  7. How is this a thing? (%Temp% is empty)

    in Windows 10 Ask Insider
    How is this a thing? (%Temp% is empty): [ATTACH] submitted by /u/Fluxxum_ [link] [comments] https://www.reddit.com/r/Windows10/comments/dzp5tk/how_is_this_a_thing_temp_is_empty/
  8. Windows\Temp Empty Folders

    in Windows 10 Network and Sharing
    Windows\Temp Empty Folders: Starting this month, I have noticed a bunch of empty folders being created in the Windows\Temp folder. This is occurring on both v1809 and v1903. They appear to be generated shortly after boot up creating approximately 19 of these folders each time. The empty folders have the...
  9. Prevent local user from emptying the recycle bin

    in Windows 10 Customization
    Prevent local user from emptying the recycle bin: I have a windows 10 device where I am the Admin and my children have a local acct (no microsoft acct). I want to make it so that you have to enter the admin PIN/PW to empty the bin. Is that something that's possible to do in Windows 10?...
  10. C:\Windows\WinSxS\Temp\InFlight EMPTY FOLDERS

    in Windows 10 Network and Sharing
    C:\Windows\WinSxS\Temp\InFlight EMPTY FOLDERS: I have run Disk Cleanup for System Files already a few times and it has done nothing to delete the 4400+ empty folders in C:\Windows\WinSxS\Temp\InFlight. I know enough to never delete even a single file in the Windows folder. What about completely empty folders though?...