Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

What happened to this project? http://forum.piriform.com/index.php?showtopic=24837

Seems to be pretty useful but the download link is not working anymore.

For example: I found all this crap on my PC where such a tool would be very helpful.

%LocalAppData%\Microsoft\Windows\UsrClass.dat.LOG1
%LocalAppData%\Microsoft\Windows\UsrClass.dat.LOG2
%LocalAppData%\Opera\Opera\upgrade.log
%LocalAppData%\Overwolf\Log\InstallerTrace.log
%LocalAppData%\Overwolf\Log\MSI_2013_9_14_18_55.log.gz
%LocalAppData%\Overwolf\Log\Trace.log
%LocalAppData%\Packard Bell\InfoCtr\*.log
%LocalAppData%\Packard Bell\iUpdator\*.log
%LocalAppData%\Thunderbird\Mozilla Thunderbird\updates\backup-update.log
%LocalAppData%\Thunderbird\Mozilla Thunderbird\updates\last-update.log
%AppData%\I2P\wrapper.log
%AppData%\LockHunter\LockHunter.log.txt
%AppData%\Mozilla\B2G\Profiles\*\marionette.log
%AppData%\Mozilla\Firefox\Profiles\*\PreferencesCleaner\pcln.log
%AppData%\Mozilla\Firefox\Profiles\*\marionette.log
%AppData%\Mozilla\Firefox\Profiles\*\startup.log
%AppData%\Padman\wop\games.log
Question: What about %LocalAppData%\VirtualStore ? Does CCleaner scan this folder? It contains files from program folders that the program could not access because of missing administrative rights.

Very advanced entry (not happy with that):

New

[VirtualStore*]
LangSecRef=3025
Detect/DetectFile=		?Help
Default=False
Warning=This will remove some files from older programs.
FileKey1=%LocalAppData%\VirtualStore|*.*|RECURSE
Missed?

New

[SRWare Iron debug.log*]
LangSecRef=3029
DetectFile1=%LocalAppData%\Torch		Correct?
Default=False
FileKey1=%ProgramFiles%\SRWare Iron|debug.log
Edited

[Steam Logs*]
Section=Games
Detect=HKCU\Software\Valve\Steam
Default=False
FileKey1=%ProgramFiles%\Steam|*.log;*.last|RECURSE
Steam may start very slowly after cleaning this but I never had any problems (edit of http://forum.piriform.com/index.php?showtopic=32310&page=201&do=findComment&comment=247312 ):

New

[Steam Cache and Cookies*]
Section=Games
Detect=HKCU\Software\Valve\Steam
Default=False
FileKey1=%ProgramFiles%\Steam\config\cookies|*.*|RECURSE
FileKey2=%ProgramFiles%\Steam\config\overlaycookies|*.*|RECURSE
FileKey3=%ProgramFiles%\Steam\appcache|*.*|RECURSE
FileKey4=%ProgramFiles%\Steam\steam\cached|*.*|RECURSE
FileKey5=%ProgramFiles%\Steam\depotcache|*.*|RECURSE
FileKey6=%ProgramFiles%\Steam\config\overlayhtmlcache|*.*|RECURSE

[TF2 Cache and Cookies*]
Section=Games
Detect=HKCU\Software\Valve\Steam
Default=False
FileKey1=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\config\cookies|*.*|RECURSE
FileKey2=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\config\html\AppCache|*.*|RECURSE
FileKey3=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\tf\cache|*.*|RECURSE

Share this post


Link to post
Share on other sites

I was looking into the steam cache entry but didn't have enough time to vet it properly. The depot cache seems to have manifests for game updates (similar to .torrent files but for steam) and im unsure what effect deleting them will have

Share this post


Link to post
Share on other sites

I don't get that "Common" folder, and I've used Inno Setup for years.

The program installers that use older versions of Inno Setup create a useless folder and sub folder at that location.

Share this post


Link to post
Share on other sites

These weren't added or missed?

 

EDIT:

 

[Windows Update Logs*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\WindowsUpdate
Default=False
FileKey1=%WinDir%\SoftwareDistribution\DataStore\Logs|*.*
FileKey2=%WinDir%\SoftwareDistribution|*.log

 

Added FileKey2.

 

REMOVE:

 

[Windows ME*]
LangSecRef=3025
DetectFile=%WinDir%\WINFILE.EXE
Default=False
FileKey1=%SystemDrive%|SCANDISK.LOG
FileKey2=%WinDir%|*.tmp
FileKey3=%WinDir%\Application Data|dw.log
FileKey4=%WinDir%\All Users\Application Data\Spybot - Search & Destroy\Logs|*.*
FileKey5=%WinDir%\APPLOG|*.LGC
FileKey6=%WinDir%\Windows Update Setup Files|*.*

 

Windows ME no longer supported.

 

NEW:

 

[Windows Help*]
LangSecRef=3025
Detect=HKLM\Software\Microsoft\HTMLHelp
Default=False
Warning=Only remove if you do not need Windows Help.
FileKey1=%WinDir%\Help|*.*|REMOVESELF

 

EDIT:

 

[Windows Log Files More*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%WinDir%\inf|setupapi.offline.log
FileKey2=%WinDir%\Panther|cbs.log;DDACLSys.log;miglog.xml;Migrep.html
FileKey3=%WinDir%\winsxs|poqexec.log
FileKey4=%WinDir%\debug\WIA|*.log
FileKey5=%WinDir%|SIGVERIF.TXT
FileKey6=%WinDir%\System32\sysprep\Panther\IE|diagerr.xml;diagwrn.xml
FileKey7=%WinDir%\Panther|PostGatherPnPList.log;PreGatherPnPList.log
FileKey8=%WinDir%\Panther\UnattendGC|diagerr.xml;diagwrn.xml
FileKey9=%WinDir%\Logs|*.log|RECURSE

 

Added FileKey 9.

Share this post


Link to post
Share on other sites

FileKey9 is actually built into CCleaner

 

I'm also unsure how wise it is to remove the windows help

Share this post


Link to post
Share on other sites

I'm also unsure how wise it is to remove the windows help

I agree, definitely should not be added IMO (plus that folder also contains Nvidia help files here)

Share this post


Link to post
Share on other sites

I'm also unsure how wise it is to remove the windows help

+3

Share this post


Link to post
Share on other sites

removing the files in \windows\help should be OK, you'll just get an error when trying to view a help file.

but the folder itself should not be removed.

 

Plus mine is only 43meg with 42 of that being nvidia help files - not a big saving.

Share this post


Link to post
Share on other sites

I wouldn't remove Windows Help on my machine. However I do realize I'd have far better success finding real help with an answer using a search engine.

Share this post


Link to post
Share on other sites

Modified [sketchUp Make 2013] from winapp.ini to

[SketchUp Make*]
LangSecRef=3021
Detect=HKCU\Software\SketchUp
Default=False
FileKey1=%AppData%\SketchUp\SketchUp *\SketchUp|~*.tmp
RegKey1=HKCU\Software\SketchUp\SketchUp 2013\Recent File List
RegKey2=HKCU\Software\SketchUp\SketchUp 2014\Recent File List

Edited by Coffee4Joe

Share this post


Link to post
Share on other sites

When to use Recurse and when to use Removeself? I don't quite understand https://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-add-your-own-program-for-ccleaner-to-clean (Sorry for dumb questions).

 

Addition for TF2 entry ( http://forum.piriform.com/index.php?showtopic=32310&page=202&do=findComment&comment=247478 ):

[TF2 Cache and Cookies*]
Section=Games
Detect=HKCU\Software\Valve\Steam
Default=False
FileKey1=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\config\cookies|*.*|RECURSE
FileKey2=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\config\html\AppCache|*.*|RECURSE
FileKey3=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\tf\cache|*.*|RECURSE
FileKey4=%ProgramFiles%\Steam\SteamApps\common\Team Fortress 2\tf\materials\temp|*.vtf|RECURSE
More Info: http://redd.it/1yrds8

 

New

[Steam Old Files*]
Section=Games
Detect=HKCU\Software\Valve\Steam
Default=False
FileKey1=%ProgramFiles%\Steam|*.old

Share this post


Link to post
Share on other sites

+1 on adding the Steam Cookies and cache and adding tf2 entries. I also noticed the steam .old files in there. Wasn't for sure what the resembled, but I deleted them off my system a few days ago and steam is running just fine.

Share this post


Link to post
Share on other sites

NEW ENTRIES

 

[Cached Certification Files*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%LocalLowAppData%\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey2=%LocalLowAppData%\Microsoft\CryptnetUrlCache\MetaData|*.*|RECURSE

[LocalService Cached Certification Files*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%WinDir%\ServiceProfiles\LocalService\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey2=%WinDir%\ServiceProfiles\LocalService\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*|RECURSE

[NetworkService Cached Certification Files*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey2=%WinDir%\ServiceProfiles\NetworkService\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*|RECURSE

[LocalSystem Cached Certification Files*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%WinDir%\System32\config\SystemProfile\Application Data\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey2=%WinDir%\System32\config\SystemProfile\Application Data\Microsoft\CryptnetUrlCache\MetaData|*.*RECURSE
FileKey3=%WinDir%\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey4=%WinDir%\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*|RECURSE
FileKey5=%WinDir%\SysWOW64\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*|RECURSE
FileKey6=%WinDir%\SysWOW64\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*|RECURSE

 

[NetworkService Diagnostics Logs*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\debug|*.log

[Reliability Monitoring Traces*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%CommonAppData%\Microsoft\RAC\StateData|*.log;*.jrs
FileKey2=%CommonAppData%\Microsoft\RAC\PublishedData|*.log;*.jrs

[software Quality Monitoring Traces*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%CommonAppData%\Microsoft\Windows\Sqm\Manifest|*.bin
FileKey2=%CommonAppData%\Microsoft\Windows\Sqm\Sessions|*.psqm
FileKey3=%CommonAppData%\Microsoft\Windows\Sqm\Sessions|*.sqm

[sRU Monitoring Traces*]
LangSecRef=3025
Detect=HKLM\SOFTWARE\Microsoft\Windows
Default=False
FileKey1=%WinDir%\System32\sru|*.*|RECURSE

 

SRU=System Resource Usage

[sync Traces*]
DetectOS=6.2|
LangSecRef=3025
Default=False
FileKey1=%LocalAppData%\Microsoft\Windows\SettingSync\metastore|*.jrs
FileKey2=%LocalAppData%\Microsoft\Windows\SettingSync\remotemetastore\*|*.jrs

Edited by SMalik

Share this post


Link to post
Share on other sites

REVISED ENTRIES

 

[internet Explorer More*]
LangSecRef=3022
Detect=HKCU\Software\Microsoft\Internet Explorer
Default=False
FileKey1=%AppData%\Microsoft\Internet Explorer|brndlog.bak;brndlog.txt
FileKey2=%AppData%\Microsoft\Internet Explorer\UserData|*.*|RECURSE
FileKey3=%LocalAppData%\Microsoft\Internet Explorer|brndlog.txt;brndlog.bak
FileKey4=%SystemDrive%\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer|brndlog.bak;brndlog.txt
FileKey5=%LocalAppData%\Microsoft\Internet Explorer\Recovery\Last Active|*.*|RECURSE
FileKey6=%WinDir%\System32\config\SystemProfile\AppData\LocalLow\Microsoft\Internet Explorer|brndlog.bak;brndlog.txt
FileKey7=%WinDir%\System32\config\SystemProfile\Application Data\Microsoft\Internet Explorer|brndlog.bak;brndlog.txt
RegKey1=HKCU\Software\Microsoft\Internet Explorer\International|CNum_CpCache
RegKey2=HKCU\Software\Microsoft\Internet Explorer\International|CpCache
RegKey3=HKCU\Software\Microsoft\Internet Explorer\International\CpMRU
RegKey4=HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore
RegKey5=HKCU\Software\Microsoft\Internet Explorer\PageSetup
RegKey6=HKCU\Software\Microsoft\Internet Explorer\Recovery\PendingDelete
RegKey7=HKCU\Software\Microsoft\Windows\CurrentVersion\Ext\Stats
 

Removed from the entry listed above and added into [Cached Certification Files*] & [LocalSystem Cached Certification Files*] entries.

 

FileKey6=%LocalLowAppData%\Microsoft\CryptnetUrlCache\Content|*.*
FileKey7=%LocalLowAppData%\Microsoft\CryptnetUrlCache\MetaData|*.*
FileKey9=%WinDir%\System32\config\SystemProfile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*
FileKey10=%WinDir%\System32\config\SystemProfile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*
FileKey12=%WinDir%\System32\config\SystemProfile\Application Data\Microsoft\CryptnetUrlCache\Content|*.*
FileKey13=%WinDir%\System32\config\SystemProfile\Application Data\Microsoft\CryptnetUrlCache\MetaData|*.*

 

 

[Windows System Profile*]
DetectOS=6.0
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files|*.*|RECURSE
FileKey2=%WinDir%\System32\config\systemprofile\AppData\Local\Temp|*.*|RECURSE
FileKey3=%WinDir%\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Cookies|*.*|RECURSE
FileKey4=%WinDir%\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\IETldCache|*.*|RECURSE
FileKey5=%WinDir%\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files|*.*|RECURSE
FileKey6=%WinDir%\SysWOW64\config\systemprofile\AppData\Local\Temp|*.*|RECURSE
FileKey7=%WinDir%\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Cookies|*.*|RECURSE
FileKey8=%WinDir%\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\IETldCache|*.*|RECURSE

Removed from the entry listed above and added into [LocalSystem Cached Certification Files*] entry.

FileKey3=%WinDir%\System32\config\SystemProfile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content|*.*
FileKey4=%WinDir%\System32\config\SystemProfile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData|*.*

Share this post


Link to post
Share on other sites

@SMalik

is there any reason why you split the entries?

I guess it's just for a better overall view.

 

@SMalik

+1 For the cached certificates. If that works it would be great. I have like 10.000 files in these folders.

Share this post


Link to post
Share on other sites

There is no reason to be judgmental. SMalik did a very good job at finding more system files that are useless. Winapp2 hasn't had many new system file updates lately.

 

I am looking at the Peerblock entry and for some reason, it's not being detected on my system, meaning the entry isn't showing up in the cleaner.

 

[Peerblock*]
LangSecRef=3024
DetectFile=%ProgramFiles%\Peerblock
FileKey1=%ProgramFiles%\Peerblock|*.log;History.db;*.bak;cache.p2b

 

My path directory is located in ProgramFiles (not x86) then under PeerBlock. I did not find any registry keys or appdata in relation to Peerblock. Anyone have any idea why it's not being detected on my system?

Share this post


Link to post
Share on other sites

There is no reason to be judgmental. SMalik did a very good job at finding more system files that are useless. Winapp2 hasn't had many new system file updates lately.

 

I am looking at the Peerblock entry and for some reason, it's not being detected on my system, meaning the entry isn't showing up in the cleaner.

 

[Peerblock*]

LangSecRef=3024

DetectFile=%ProgramFiles%\Peerblock

FileKey1=%ProgramFiles%\Peerblock|*.log;History.db;*.bak;cache.p2b

 

My path directory is located in ProgramFiles (not x86) then under PeerBlock. I did not find any registry keys or appdata in relation to Peerblock. Anyone have any idea why it's not being detected on my system?

The normal rules are that "C:\Program Files (x86)" is only used by 32 bit applications on a 64 bit system,

and "C:\Program Files" is used by 32 bit Windows and 64 bit applications on 64 bit Windows.

But rules is rules and they are there to be broken :rolleyes:

Share this post


Link to post
Share on other sites

The interesting bit is that CCleaner corrects internally for programfiles vs programfiles(x86) (as we learned 3½ years ago in this thread).. Try moving it to programfiles(x86) just to see what happens, I guess

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...