Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

in [MS AntiMalware More*], I'd like to suggest adding FileKey4 for completeness:

[MS AntiMalware More*]
LangSecRef=3025
Detect=HKLM\Software\Microsoft\Microsoft Antimalware
Default=False
FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Temp|MpCmdRun.log
FileKey2=%SystemDrive%\Documents and Settings\NetworkService.NT*\Temp|MpCmdRun.log
FileKey3=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Temp|MpCmdRun.log
FileKey4=%WinDir%\Temp|MpCmdRun.log

Share this post


Link to post
Share on other sites

Suggesting to change to LangSecRef=3022 for [Amaya*] as it is both a web editor and reference web browser so it seems more correct there.

[Amaya*]
LangSecRef=3022
DetectFile=%UserProfile%\amaya
Default=False
FileKey1=%UserProfile%\amaya\libwww-cache|*.*
FileKey2=%UserProfile%\amaya|list_url_utf8.dat
FileKey3=%UserProfile%\amaya\*|*.*|REMOVESELF

Share this post


Link to post
Share on other sites

Due to DxO's inconsistent spelling of "crashs" and "crashes" between versions, there needs to be the correction below.  I've managed to crash each version now and verify the file removal with this.

[DxO Optics Pro Cleanup*]
LangSecRef=3021
DetectFile1=%LocalAppData%\DxO_Labs\DataCache
DetectFile2=%LocalAppData%\DxO_Labs\DxO Optics Pro 8\Cache
DetectFile3=%LocalAppData%\DxO_Labs\DxO Optics Pro 9\Cache
DetectFile4=%LocalAppData%\DxO_Labs\DxO OpticsPro 10\Cache
DetectFile5=%LocalAppData%\DxO_Labs\DxO OpticsPro 11\Cache
Default=False
FileKey1=%LocalAppData%\DxO_Labs\DataCache|*.*|RECURSE
FileKey2=%LocalAppData%\DxO_Labs\Logs|*.*
FileKey3=%LocalAppData%\DxO_Labs\DxO Optics Pro 8\Cache|*.*|RECURSE
FileKey4=%LocalAppData%\DxO_Labs\DxO Optics Pro 9\Cache|*.*|RECURSE
FileKey5=%LocalAppData%\DxO_Labs\DxO OpticsPro 10\Cache|*.*|RECURSE
FileKey6=%LocalAppData%\DxO_Labs\DxO OpticsPro 11\Cache|*.*|RECURSE
FileKey7=%LocalAppData%\DxO_Labs\DxO FilmPack 5\CrashReports|*.*
FileKey8=%LocalAppData%\DxO_Labs\DxO FilmPack 5\DiskCache|*.*
FileKey9=%LocalAppData%\DxO_Labs\DxO FilmPack 5\Logs|*.*
FileKey10=%LocalAppData%\DxO_Labs\DxO ViewPoint 3\Logs|*.*
FileKey11=%Documents%\DxO FilmPack 3\log|*.*
FileKey12=%Documents%\DxO FilmPack 4\log|*.*
FileKey13=%Documents%\DxO ViewPoint\log|*.*
FileKey14=%Documents%\DxO ViewPoint 2\log|*.*
FileKey15=%Documents%\DxO Optics Pro v7 crashs|*.*
FileKey16=%Documents%\DxO Optics Pro v7 logs|*.*
FileKey17=%Documents%\DxO Optics Pro v8 crashes|*.*
FileKey18=%Documents%\DxO Optics Pro v8 logs|*.*
FileKey19=%Documents%\DxO Optics Pro v9 crashes|*.*
FileKey20=%Documents%\DxO Optics Pro v9 logs|*.*
FileKey21=%Documents%\DxO OpticsPro 10 crashes|*.*
FileKey22=%Documents%\DxO OpticsPro 10 logs|*.*
FileKey23=%Documents%\DxO OpticsPro 11 crashes|*.*
FileKey24=%Documents%\DxO OpticsPro 11 logs|*.*

Thank you ROCKNROLL for maintaining Winapp2.ini.  I've enjoyed it for years and have wanted to give some back to the community by helping to add to and debug the file.

Share this post


Link to post
Share on other sites

Updates: https://github.com/MoscaDotTo/Winapp2/commit/fc54e3b72fd840e829849dd8efe023416c507801

 

I won't add the temp entries within other entries like that because some people don't want to remove temp files, or maybe only wants to remove it after sometime and mixing them up with other entries would not be good.

Share this post


Link to post
Share on other sites

I agree with the philosophy @ROCKNROLL laid out in the previous post. Anyone else have an opinion?

Share this post


Link to post
Share on other sites

Updates: https://github.com/MoscaDotTo/Winapp2/commit/fc54e3b72fd840e829849dd8efe023416c507801

 

I won't add the temp entries within other entries like that because some people don't want to remove temp files, or maybe only wants to remove it after sometime and mixing them up with other entries would not be good.

With reference to?

 

 

Share this post


Link to post
Share on other sites

With reference to?

Picpro's opera more suggestion a few posts up

in [Opera More*], I'd like to suggest adding FileKey13-21:

FileKey13=%AppData%\Opera Software\Opera Stable|Login Data
FileKey14=%AppData%\Opera Software\Opera Stable|previews_opt_out.db
FileKey15=%AppData%\Opera Software\Opera Stable|Favicons
FileKey16=%AppData%\Opera Software\Opera Stable\databases|Databases.db
FileKey17=%temp%|opera_crashreporter.log
FileKey18=%temp%|CProgram Files (x86)Opera*.*
FileKey19=%temp%\Opera Installer|*.*|REMOVESELF
FileKey20=%WinDir%\Temp|CProgram Files (x86)Opera*.*
FileKey21=%WinDir%\Temp\opera autoupdate|*.*|REMOVESELF
Although 17-21 should be removed when cleaning temp files, usually the default in CCleaner is to only remove temp files older than 24 hours. If you choose to clean Opera, then you probably want all of its leftovers removed right away so I am suggesting to add removal of these temp folder files. Opera doesn't delete the files itself either.

Share this post


Link to post
Share on other sites

I agree with the philosophy @ROCKNROLL laid out in the previous post. Anyone else have an opinion?

 

I agree too. If we start adding TEMP entries this will unnecessarily blow up the winapp2.ini file.

Share this post


Link to post
Share on other sites

Picpro's opera more suggestion a few posts up

I was all set to disagree, till you pointed me in the direction of the relevant post. Surely the simple solution for those entries is to just untick the "not older than 24 hours" box in CC's options, not add additional entries to winapp2 when the capability is already present within CC.

 

So, short answer - I agree :P

Share this post


Link to post
Share on other sites

I agree with that rationale as well.

 

I've been looking for FileKey entries that don't have a "|" as they don't delete anything that way..  This may be something to add to WinappDebug.

 

So far I have found:



[ART*]
FileKey2=%CommonProgramFiles%\Microsoft\ART\Backup\Google Chrome\Default\Preferences.bak

[Skype Temporary Files*]
FileKey13=%UserProfile%\Tracing\WPPMedia\*.*|RECURSE

[Softonic*]
FileKey1=%LocalAppData%\Softonic\cache\*.*|RECURSE

Which should be:



[ART*]
FileKey2=%CommonProgramFiles%\Microsoft\ART\Backup\Google Chrome\Default|Preferences.bak

[Skype Temporary Files*]
FileKey13=%UserProfile%\Tracing\WPPMedia|*.*|RECURSE

[Softonic*]
FileKey1=%LocalAppData%\Softonic\cache|*.*|RECURSE

Share this post


Link to post
Share on other sites

Added FileKey10....

 

[AOL More*]
LangSecRef=3022
Detect=HKCU\Software\America Online
Default=False
FileKey1=%AppData%\AOL\C_AOL*|*.tmp|RECURSE
FileKey2=%CommonAppData%\AOL\C_AOL*|*.tmp|RECURSE
FileKey3=%CommonAppData%\AOL\C_AOL*\bart|*.*|RECURSE
FileKey4=%CommonAppData%\AOL\C_AOL*\spool|*.*|RECURSE
FileKey5=%CommonAppData%\AOL Downloads|*.*|RECURSE
FileKey6=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*|*.tmp|RECURSE
FileKey7=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*\bart|*.*|RECURSE
FileKey8=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*\spool|*.*|RECURSE
FileKey9=%LocalAppData%\VirtualStore\ProgramData\AOL Downloads|*.*|RECURSE
FileKey10=%LocalAppData%\AOL\AOLDiag\AOL\AOLBrowserUSGM\Win32\*\|*.tmp
;  above  %LocalAppData%\AOL\AOLDiag\AOL\AOLBrowserUSGM\Win32\0.7.42.1\fcs24DF.tmp
RegKey1=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\recent IM ScreenNames
RegKey2=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\recent ScreenNames
RegKey3=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\Users
 

Share this post


Link to post
Share on other sites

Added FileKey10....

 

[AOL More*]

LangSecRef=3022

Detect=HKCU\Software\America Online

Default=False

FileKey1=%AppData%\AOL\C_AOL*|*.tmp|RECURSE

FileKey2=%CommonAppData%\AOL\C_AOL*|*.tmp|RECURSE

FileKey3=%CommonAppData%\AOL\C_AOL*\bart|*.*|RECURSE

FileKey4=%CommonAppData%\AOL\C_AOL*\spool|*.*|RECURSE

FileKey5=%CommonAppData%\AOL Downloads|*.*|RECURSE

FileKey6=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*|*.tmp|RECURSE

FileKey7=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*\bart|*.*|RECURSE

FileKey8=%LocalAppData%\VirtualStore\ProgramData\AOL\C_AOL*\spool|*.*|RECURSE

FileKey9=%LocalAppData%\VirtualStore\ProgramData\AOL Downloads|*.*|RECURSE

FileKey10=%LocalAppData%\AOL\AOLDiag\AOL\AOLBrowserUSGM\Win32\*\|*.tmp

;  above  %LocalAppData%\AOL\AOLDiag\AOL\AOLBrowserUSGM\Win32\0.7.42.1\fcs24DF.tmp

RegKey1=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\recent IM ScreenNames

RegKey2=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\recent ScreenNames

RegKey3=HKCU\Software\America Online\AOL Instant Messenger â„¢\CurrentVersion\Users

 

 

Do people still use this? Also, your FK10 makes no sense, please fix it.

Share this post


Link to post
Share on other sites

Not sure what the correct FK10 would be as I assume the "0.7.42.1" would be different but in that folder I want to remove all *.TMP files...

 

And yes I just used CC on a system that has AOL installed...

Share this post


Link to post
Share on other sites

 

I've been looking for FileKey entries that don't have a "|" as they don't delete anything that way.

 

I think it's very long overdue that they allow both \ and |. It's been years ago when they stated they may add the ability to use \ still waiting forenever for it to appear!

Share this post


Link to post
Share on other sites

I went looking through Winapp2.ini to find any environment variables that were missing % symbols and found these two:

[Ford Sync My iTunes*]
FileKey1=AppData%\Ford Motor Company\logs|*.*

should be:

[Ford Sync My iTunes*]
FileKey1=%AppData%\Ford Motor Company\logs|*.*

and:

[Windows Retail Demo*]
DetectFile=CommonAppData%\Microsoft\Windows\RetailDemo

should be:

[Windows Retail Demo*]
DetectFile=%CommonAppData%\Microsoft\Windows\RetailDemo

Share this post


Link to post
Share on other sites

PICPro,

 

Thanks for doing some extra checking to discover bugs in Winapp2.ini.  These errors can certainly slip into this file undetected unless we are all vigilant in checking-rechecking things.   B)

Share this post


Link to post
Share on other sites

Compilers like MPLabX and Arduino bundle their own copy of Java.  This results in the detect being a bit different and the usage log in a different location.  The [Java] entry in winapp.ini in CCleaner has 3 detects so that these java installations do get detected.  [Java More*] only had one of these detect keys and misses these java installations.

 

I'd like to suggest updating [Java More*] to

[Java More*]
LangSecRef=3022
Detect1=HKLM\SOFTWARE\JavaSoft\Java Plug-in
Detect2=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment
Detect3=HKLM\SOFTWARE\JavaSoft\Java Web Start
Default=False
FileKey1=%AppData%\Sun\Java\Deployment\SystemCache|*.*|RECURSE
FileKey2=%LocalAppData%\Sun\Java\Deployment\cache|*.*|RECURSE
FileKey3=%LocalAppData%\Sun\Java\Deployment\SystemCache|*.*|RECURSE
FileKey4=%LocalAppData%\VirtualStore\Program Files*\Java\jre*|*PATCH.ERR
FileKey5=%LocalAppData%\VirtualStore\Program Files*\Java\jre*\lib\security|*.bak
FileKey6=%LocalLowAppData%\Sun\Java\Deployment\SystemCache|*.*|RECURSE
FileKey7=%ProgramFiles%\Java\jre*|*PATCH.ERR
FileKey8=%ProgramFiles%\Java\jre*\lib\security|*.bak
FileKey9=%SystemDrive%\Users\*\.oracle_jre_usage|*.*|REMOVESELF
FileKey10=%WinDir%\System32\config\systemprofile\AppData\LocalLow\Sun\Java\Deployment\Cache|*.*|RECURSE
FileKey11=%WinDir%\SysWOW64\config\systemprofile\AppData\LocalLow\Sun\Java\Deployment\Cache|*.*|RECURSE
FileKey12=%CommonAppData%\Oracle\Java\.oracle_jre_usage|*.*

I added FileKe12 to delete the usage logs for where they appear from using the bundled Java, and added the additional detects from CCleaner's [Java] so that java gets detected correctly.

Share this post


Link to post
Share on other sites

New entry:

[Winamp More*]
LangSecRef=3023
Detect=HKCU\Software\Winamp
Default=False
Warning=This removes the current playlist.
FileKey1=%APPDATA%\Winamp|Winamp.m3u;Winamp.m3u8

CCleaner has a [Winamp] section however it doesn't clean these two files.  These files contain the MRU list of the last usage of WinAMP.  Other cleaner programs also delete these.  I added the warning in case someone has an unsaved playlist.  The warning can be removed if it is annoying.

Share this post


Link to post
Share on other sites

Added detect2 and filekey2 to this (detects and cleans the last unwatermarked free version that many use):

[ManyCam Thumbnails*]
LangSecRef=3023
Detect1=HKLM\Software\ManyCam
Detect2=HKCU\Software\ManyCam
Default=False
FileKey1=%AppData%\ManyCam\Settings\MoviesThumbnails|*.*|RECURSE
FileKey2=%LocalAppData%\ManyCam\cache\gallery|*.*|RECURSE

Share this post


Link to post
Share on other sites

Has anyone tried deleting the files at C:\Program Files (x86)\Common Files\Windows Live\.cache? Seems to be a load of cached installers that haven't been modified since Windows install?

Share this post


Link to post
Share on other sites

 

Added detect2 and filekey2 to this (detects and cleans the last unwatermarked free version that many use):

[ManyCam Thumbnails*]
LangSecRef=3023
Detect1=HKLM\Software\ManyCam
Detect2=HKCU\Software\ManyCam
Default=False
FileKey1=%AppData%\ManyCam\Settings\MoviesThumbnails|*.*|RECURSE
FileKey2=%LocalAppData%\ManyCam\cache\gallery|*.*|RECURSE

 

Updated: https://github.com/MoscaDotTo/Winapp2/commit/237280dca025c23c9943ed13ab884ade6b4a6e68

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×