I was wondering - is there any way to force avast to write its temporary real-time-scanning file (as least that’s what I think it is, as the .tmp file only seems to increase in size/write when downloading a file) onto a different drive? My primary drive is an SSD, and I don’t want to write unnecessarily to it.
As an example directory/file, the path “C:\Windows\Temp_avast_\ws0000011B.tmp”.
If my information on this file/function is incorrect, please let me know.
I’m not saying all Avast components obey that setting, but you can try to create the value TempFolder in HKEY_LOCAL_MACHINE\Software\Wow6432Node\Avast Software\Avast and point it to an existing folder elsewhere (e.g. D:\Temp), it should relocate some/most of the files.
The “Wow6432Node” is there only on a 64bit operating systems - if you have 32bit Windows, it’s just HKLM\Software\Avast Software\Avast.
I believe you will have to disable Avast self-defense (Settings / Troubleshooting / Enable Avast self-defense module) temporarily, to be able to add the value. The machine (or at least Avast service) should be restarted for the new value to be loaded. Make sure the added value is OK, because if it pointed to an invalid location, weird things could happen (such as Avast protection not working).
My primary drive is an SSD, and I don't want to write unnecessarily to it.
Unless you don't want things to be scanned at all, it is not unnecessarily writing that happens.
Next to that, a SSD is a drive.
It is created to write to/read from all the time.
The reading/writing isn't doing any harm to it.
Same problem : c:\windows\ avast filling with very big files ws******.tmp until disk is full, only manner to repare it is to “stop avast agents for 10 minutes”, and the big fles are immeditately deleted. But I have to do this operation about once a week ! Any solution from Avast ?
Whilst this isn’t really what this topic is about.
The avast folder is where avast unpacks or sends files to be scanned. Once scanned than avast should clear that folder, so there shouldn’t be any remnants other than the AvastLock.txt file.
If there are remnants the usual reason is having another AV or anti-malware installed and it is file/folder whilst it scans. This locking prevents avast from clearing the file/s after they have been scanned.
What other security based software do you have installed (that may have this effect or locks folders) ?
rmorel: are you running any special tools, either some which may scan or otherwise lock various files on disk (AV or other security maybe?), or something that may continuously download data from the Internet?
I’ve seen a few similar posts on the forum, but we’ve never been able to reproduce such behavior… it just doesn’t happen here.
Thanks.