Windows 7 temp folder: do not delete files when exit program

MonkeyMan123

Senior Member
Hi all:

I have a bit of an unusual issue. I am trying to prevent Win 7 from deleting files from the temp folder (C:\Users\<NAME>\AppData\Local\Temp) when I close a program (in my case Firefox). I believe it is the OS, and not the program or my AV, which is deleting the files, though if folks think otherwise please let me know. Does anyone have suggestions on options to change to prevent files from being expunged from my \temp directory?



Here are the specifics:
I am trying to prevent Firefox from deleting files which I download using the Download Manager using the "open with" (rather than "save as") option.

These files remain in my folder, C:\Users\<NAME>\AppData\Local\Temp until after I close Firefox at which point they are deleted. Note: I am sure it is Windows which is deleting the files since:
* I have disabled my antivirus and related programs (Malwarebytes real time protection)
* I can see the file disappear from the \Temp folder a few seconds after Firefox is closed down
* when I terminate the Firefox process via the task manager the file deletion does not occur


Some other comments:
* I do not believe this is influenced by the Tools>Options>Privacy settings in Firefox, but I have set it to "Use Custom Settings for History" and unchecked "Clear History when Firefox Closes"
* I have experimented with various settings in Firefox's about:config (privacy.clearOnShutdown.* options are all set to false)
* files downloaded during previous sessions are not removed from \Temp when the browser is closed (so if I terminate Firefox via task manager it will not be removed when I exit again later)


My set-up:
OS: Win 7 Enterprise x64
Browser: Firefox 3.6.21
AV: Sophos
 
Back
Top