Windows 10: Prevent Windows 10 from emptying %temp%

Page 4 of 4 FirstFirst ... 234
  1.    16 Dec 2017 #31

    The behavior seen here is not a problem and there is no culprit. It is only some program doing exactly what it was designed to do. As the temporary file was created by Firefox it seems reasonable that Firefox itself would delete it. This is recommended behavior and most people would expect it. I certainly would. Not doing so would be seen by many as a security or privacy risk, and indeed it is. I would not expect any sort of setting to disable this.

    Temporary files are themselves a necessary evil and have some well known security issues. They really should be securely disposed of as quickly as possible after they are no longer needed. Unfortunately the user isn't in the best position to judge when that is. Windows delays deleting them because developers sometimes have different expectations of what "temporary" means and expect them to be available well beyond when they were created. Not recommended behavior but it happens.

    You really have no assurance that temporary files will survive beyond when they are no longer needed by the process that created them. It would be best to follow the advice of Barman58 and use other methods to obtain the information needed.
      My ComputerSystem Spec


  2. Posts : 976
    Windows 7/64 Professional
       16 Dec 2017 #32

    When you do a Disk Cleanup and you still see left over temps their is a reason.
    Programs or Windows 10 needs and wants them.

    Once I understood that, I went on my way to worry about something else.

    Jack
      My ComputersSystem Spec


  3. Posts : 2,140
    Windows 10 Pro x64 FCU - XP/Vista/Win7/Win8.1 in VM for testing
       16 Dec 2017 #33

    One other thing as this is Firefox downloads we are discussing we assume. These will by default be located in the downloads folder, If you wish you can simply move the files to a more suitable folder for use later, and of course unless you delete them they will remain where placed .

    A better option, in my opinion, is to go into the settings and set Firefox to prompt you for where to save to on a file by file basis,

    When downloading a file that you know you intend to use again place it in a suitable folder in your user profile folder, Documents, images, videos, Downloads Etc, or even a specific Project folder
    For files that you are not sure of, you could follow my practice ...

    I keep a some folders on the Desktop - WIP, (Work in Progress), For processing, and New Stuff,

    I download files I Want to check out to the desktop and then at the end of a session I move them into one of the folders.

    Anything I decide is unlikely to be needed after the session I delete which of course sends them to the Recycle Bin. Which retains them until I decide to delete them.

    As the current tasks are completed the related contents of the desktop folders are transferred into the regular folders created for each "Project"

    That is a system that gives everything that is relying on searching through the Temp Files and uses the correct methods to get the best out of the Operating System

    This system can be modified in many ways but if you use the features of Windows like their real world office counterparts a file goes into a folder you keep things you are working with on your desk and others go into a filing cabinet (other folders by Project) if you do not want to keep something you bin it and it stays into the bin until you "take out The trash"
      My ComputerSystem Spec


  4. Posts : 5,660
    Windows 10 Pro X64 16299.192
       16 Dec 2017 #34

    The %temp% folder is used by Firefox and other browsers for everything except downloads. All web pages, images, pdfs you view, etc. Maybe that is the kind of data he's talking about, not normal downloads.
      My ComputersSystem Spec


  5. Posts : 2,140
    Windows 10 Pro x64 FCU - XP/Vista/Win7/Win8.1 in VM for testing
       16 Dec 2017 #35

    That's the reason that I mentioned the browser history - It's automatically sorted by date too, which is not always the case with temp files
      My ComputerSystem Spec


  6. Posts : 976
    Windows 7/64 Professional
       17 Dec 2017 #36

    I do as Nigel does.

    I download files I Want to check out to the desktop and then at the end of a session I move them into one of the folders.
    I keep Firefox set (Never Remember History).

    Jack
      My ComputersSystem Spec


  7. Posts : 12
    Windows 10 x64, Pro
    Thread Starter
       17 Dec 2017 #37

    If there was a way to change where "opened" files are cached in Firefox and other programs I agree that would solve the problem (e.g. I could just tell them to put them somewhere else like C:\SCRATCH). I do not see how that is possible (looking even on a program basis).
      My ComputerSystem Spec


  8. Posts : 2,140
    Windows 10 Pro x64 FCU - XP/Vista/Win7/Win8.1 in VM for testing
       17 Dec 2017 #38

    Firefox and other programs are storing temporary files exactly where they should be stored, they are temporary and transitory files and should be cleaned by the OS regularly.to prevent issues

    All modern browsers store a complete history of each and every site visit They are stored in the programs history

    I no longer use Firefox after the release of 57 but have found the history useful myself in the past where I lost something I'd downloaded some weeks previously. One potential issue is that websites are by their nature transitory and finding a file / fragment of a web page in the temporary area of the local system has no guarantee that the data is still correct, Using history will take you back to the same site which will have up to date information and data.

    There are also sites and services such as Way Back When for when you must have outdated information.

    Internet Archive: Wayback Machine

    Top 5 Best Internet Archive Wayback Machine Alternative Sites
      My ComputerSystem Spec


 
Page 4 of 4 FirstFirst ... 234

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 18:30.
Find Us