Jump to content

Winapp2.ini additions


Winapp2.ini

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
Link to comment
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.

Link to comment
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.

I am a maintainer for Winapp2. I also have a open-source group on Steam.

http://steamcommunity.com/groups/opencommunity

Link to comment
Share on other sites

  • Moderators

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

+3

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to comment
Share on other sites

+3

+4

Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 500 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA Nvidia GeForce 980 Titan card (Home Built System);  Windows 11x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet.  ASUS RT-AC88U router, 14 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, MS Edge Chromium, MS Office 2021 (Local), Casper 11, DisplayFusion (3 Flat Panel Displays per system):   Kaspersky Internet Security 2021, Malwarebytes 4, Quicken, Weather Watcher Live, ThumbsPlus 10, Sticky Password 8, WD Smartware, CyberLink PowerDVD21, MSI Burner, Rainmeter, Windows Sidebar, WD Smartware and many more.

Link to comment
Share on other sites

  • Moderators

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.

Backup now & backup often.
It's your digital life - protect it with a backup.
Three things are certain; Birth, Death and loss of data. You control the last.

Link to comment
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
Link to comment
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
Link to comment
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.

I am a maintainer for Winapp2. I also have a open-source group on Steam.

http://steamcommunity.com/groups/opencommunity

Link to comment
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
Link to comment
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|*.*

Link to comment
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.

Link to comment
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?

I am a maintainer for Winapp2. I also have a open-source group on Steam.

http://steamcommunity.com/groups/opencommunity

Link to comment
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:

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.