Jump to content
Piriform Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

Whoops! Oh well. I'll ammend that in the upcoming update.

 

Just a note- feel free to donate your own entries (everyone! :) ) I dont have every program in the world you know :lol:

Share this post


Link to post
Share on other sites

Hi winapp2.ini ~ here is one that I just added to The Web Atom file. Its incomplete as I don't actually use the program, however its somewhere to start :) More to come as I work out what is in my file that isn't in yours.

 

[VirtualDub*]

LangSecRef=3023

Detect=HKCU\Software\VirtualDub.org\VirtualDub

Default=False

RegKey1=HKCU\Software\VirtualDub.org\VirtualDub\MRU List

Share this post


Link to post
Share on other sites

[Nitro PDF Reader*]

LangSecRef=3024

Detect=HKCU\Software\NitroPDF\Reader\1.0

Default=False

RegKey1=HKCU\Software\Nitro PDF\Reader\1.0\Recent File List

Share this post


Link to post
Share on other sites

Here's some I've never submitted before in TwistedMetal's winapp2.ini, and since this winapp2.ini is very active I'll submit them here. You can put the asterisk in the program header/name wherever you wish so it's not seen as a default app cleaned by CCleaner.

 

[File Shredder]
; Removes the recently shredded files history, possibly a privacy issue.
LangSecRef=3024
Detect=HKCU\Software\Shredder
Default=False
RegKey1=HKCU\Software\Shredder\{FF14D9EE-48EB-4873-80AC-8E224BEE5823}

 

[HandBrake (Crash Log)]
; Removes HandBrake's crash/stack dump overflow logs, since it crashes allot.
LangSecRef=3023
DetectFile=%ProgramFiles%\HandBrake\Handbrake.exe
Default=False
FileKey1=%ProgramFiles%\HandBrake|*.stackdump

 

[NVIDIA (Play On My TV)]
; Removes the NVIDIA "Play On My TV" shell extension for .AVI, .MPG, .MPEG, and .WMV
; video files. The shell extension isn't necessary if you don't output to a TV!
LangSecRef=3023
Detect=HKLM\Software\NVIDIA Corporation
Default=False
RegKey1=HKCR\AVIFile\shellex\ContextMenuHandlers\PlayOnMyTV
RegKey2=HKCR\mpegfile\shellex\ContextMenuHandlers\PlayOnMyTV
RegKey3=HKCR\WMVFile\shellex\ContextMenuHandlers\PlayOnMyTV
RegKey4=HKLM\SOFTWARE\Classes\AVIFile\shellex\ContextMenuHandlers\PlayOnMyTV
RegKey5=HKLM\SOFTWARE\Classes\mpegfile\shellex\ContextMenuHandlers\PlayOnMyTV
RegKey6=HKLM\SOFTWARE\Classes\WMVFile\shellex\ContextMenuHandlers\PlayOnMyTV

 

[NVIDIA (Startup)]
; Removes a registry key automatically created by the installation of NVIDIA Display Driver
; that starts NvMediaCenter when Windows does. The startup isn't necessary!
LangSecRef=3023
Detect=HKLM\Software\NVIDIA Corporation
Default=False
RegKey1=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run|NvMediaCenter

Share this post


Link to post
Share on other sites

Chromium

 

[Chromium - Cache*]
Section=Chromium
LangRef=Cache
DetectFile=%localappdata%\Chromium\Application\chrome.exe
Default=False
FileKey1=%localappdata%\Chromium\User Data\Default\Cache|*.*

[Chromium - Cookies*]
Section=Chromium
LangRef=Cookies
DetectFile=%localappdata%\Chromium\Application\chrome.exe
Default=False
FileKey1=%localappdata%\Chromium\User Data\Default|*Cookies

[Chromium - History*]
Section=Chromium
LangRef=History
DetectFile=%localappdata%\Chromium\Application\chrome.exe
Default=False
FileKey1=%localappdata%\Chromium\User Data\Default|*History*
FileKey2=%localappdata%\Chromium\User Data\Default|Thumbnails
FileKey3=%localappdata%\Chromium\User Data\Default|Visited Links

[Chromium - Form Data*]
Section=Chromium
LangRef=Form Data
DetectFile=%localappdata%\Chromium\Application\chrome.exe
Default=False
FileKey1=%localappdata%\Chromium\User Data\Default|Web Data

[Chromium - Session Restore*]
Section=Chromium
LangRef=Session Restore
DetectFile=%localappdata%\Chromium\Application\chrome.exe
Default=False
FileKey1=%localappdata%\Chromium\User Data\Default|Current*
FileKey2=%localappdata%\Chromium\User Data\Default|Last*

Share this post


Link to post
Share on other sites

BDX, Chromium is already covered by ccleaner (I believe it's included in the google-chrome boxes)

Added support to clean custom Chromium based browsers.

e.g. CustomLocation1=CHROME|C:\Chromium\IronPortable\Profile\Default

CustomLocation2=CHROME|C:\ChromePlus\ChromePlusUserData\Default

Share this post


Link to post
Share on other sites
[Windows Backup*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows\DWM
Default=False
FileKey1=%windir%\Logs\WindowsBackup|*.etl

Share this post


Link to post
Share on other sites

@TheWebAtom/WinApp2.ini/TwistedMetal (the users)

 

My fears have come to pass, good WinApp2.ini's are becoming fractured, in that now there are 3 versions where before there was only 1!

 

Now I dont know how/if you guys work with each other, or use each others work as a base... as far as i can think with looking with windiff, WinApp2.ini's is built off of TwistedMetel's, while i havent diff'd TheWebAtom's with the other 2...

 

 

 

Can you guys maybe get together or something... I know TwistedMetel's is now outdated so its going to be WebApp2.ini or TheWebAtom's (who makes CCleaner Enhancer, an over-glorified WinApp2.ini downloader, not saying its bad or that i dont like it, because i DO like it, but thats what it is)...

Share this post


Link to post
Share on other sites

We sort of build off of each others I think, but his has a regular update schedule and mine does not.

 

Although if TheWebAtom wanted to collaborate entries via some web service, I wouldn't be opposed :P

Share this post


Link to post
Share on other sites

I would be more than interested in doing that. I think given that you essentially have all the same entry's that I have now, of course I will keep checking for ones you have missed :)

 

I will send you a PM on the asap so we can discuss this without cluttering the forums.

 

 

Finally, @Kane3162: Haha, it's very true. Originally I wrote it as a small app so that my father could get more CCleaner awesomeness without having to navigate the internet (something he is woeful at), since I was bored one evening I decided I would post it on my blog - never expecting more than a handful of friends to ever use it. It popularity (given how essentially pointless it is) came as a huge surprise.

Share this post


Link to post
Share on other sites

I wish this non-descriptive entry:

[internet Logs*]
LangSecRef=3025
DetectFile=%windir%\Internet Logs
Default=False
FileKey1=%windir%\Internet Logs|*.dmp
FileKey2=%windir%\Internet Logs|*.log
FileKey3=%windir%\Internet Logs|*.tmp
FileKey4=%windir%\Internet Logs|*.zip

 

could be changed to this descriptive entry, since it's for ZoneAlarm:

[ZoneAlarm Internet Logs*]
LangSecRef=3025
DetectFile=%windir%\Internet Logs
Default=False
FileKey1=%windir%\Internet Logs|*.dmp
FileKey2=%windir%\Internet Logs|*.log
FileKey3=%windir%\Internet Logs|*.tmp
FileKey4=%windir%\Internet Logs|*.zip

 

Edit:

Also don't forget the cleaning routines I submitted here don't have the asterisk after the heading name.

Share this post


Link to post
Share on other sites

Make no mistake TheWebAtom, if it was built into CCleaner somehow, i would be over the moon :D I just try to keep a little bit of sanity with my life!

 

Actually, its OT, but if you changed it from an "Updater" to an "Updater/Launcher" (IE an advanced feature that takes over the "open/run" recyclebin options and the CCleaner shortcuts, updates the winapp2.ini, auto selects all newly added options then runs -well for the "run" part-)... that would be cool and useful... hell make it an AIO! grab your package, it grabs ccleaner when you run it, installs it, and updates winapp2.ini! ok wishing i could do any sort of coding/programming now...

Share this post


Link to post
Share on other sites

There have been 2 new separate releases of the FAR Manager from farmanager.com since the last official winapp2.ini - including an open source V2.0 - so the old entry only works for one version now. Here's the full monty:

 

[*FAR Manager 1.7]
LangSecRef=3021
Detect=HKCU\Software\Far\
Default=True
RegKey1=HKCU\Software\Far\SavedDialogHistory
RegKey2=HKCU\Software\Far\SavedFolderHistory
RegKey3=HKCU\Software\Far\SavedHistory
RegKey4=HKCU\Software\Far\SavedViewHistory
RegKey5=HKCU\Software\Far\Editor\LastPositions
RegKey6=HKCU\Software\Far\Viewer\LastPositions
RegKey7=HKCU\Software\Far\SavedDialogHistory\PersPath

[*FAR Manager 1.8]
LangSecRef=3021
Detect=HKCU\Software\Far18\
Default=True
RegKey1=HKCU\Software\Far18\SavedDialogHistory
RegKey2=HKCU\Software\Far18\SavedFolderHistory
RegKey3=HKCU\Software\Far18\SavedHistory
RegKey4=HKCU\Software\Far18\SavedViewHistory
RegKey5=HKCU\Software\Far18\Editor\LastPositions
RegKey6=HKCU\Software\Far18\Viewer\LastPositions
RegKey7=HKCU\Software\Far18\SavedDialogHistory\PersPath

[*FAR Manager 2.0]
LangSecRef=3021
Detect=HKCU\Software\Far2\
Default=True
RegKey1=HKCU\Software\Far2\SavedDialogHistory
RegKey2=HKCU\Software\Far2\SavedFolderHistory
RegKey3=HKCU\Software\Far2\SavedHistory
RegKey4=HKCU\Software\Far2\SavedViewHistory
RegKey5=HKCU\Software\Far2\Editor\LastPositions
RegKey6=HKCU\Software\Far2\Viewer\LastPositions
RegKey7=HKCU\Software\Far2\SavedDialogHistory\PersPath

Edited by Nergal
Put entries into code for easier reading

Share this post


Link to post
Share on other sites

Whoa, this entry should be deleted from the file:

 

[Google Update Files*]

LangSecRef=3022

DetectFile=%Localappdata%\Google\update\

DetectFile=%userprofile%\local settings\google\update\

Default=false

FileKey1=%localappdata%\google\update\|*.*|REMOVESELF

Filekey2=%userprofile%\local settings\google\update\|*.*|REMOVESELF

 

It doesn't remove GU's temporary files, it destroys the entire updater, damaging Google Chrome, Google Earth, etc. - they can no longer even check for newer versions if this is done.

Share this post


Link to post
Share on other sites

Thanks for this work. I've got a few suggestions:

 

(1) The asterisk-syntax is not totally consistent. See these entries:

 

[*FAR Manager 1.7]
[*FAR Manager 1.8]
[*FAR Manager 2.0]
[File Shredder]
[HandBrake (Crash Log)]
[NVIDIA (Play On My TV)]
[NVIDIA (Startup)]

Can they all be changed to have an asterisk suffix, so as to be consistent with the rest of the entries?

 

(2) The NVIDIA "Play On My TV" registry keys seem to be a bit off on Windows 7, with the newest NVIDIA ForceWare driver package installed (260.89). This is what it should be, for this system:

 

[NVIDIA (Play On My TV)]
; Removes the NVIDIA "Play On My TV" shell extension for .AVI, .MPG, .MPEG, and .WMV
; video files. The shell extension isn't necessary if you don't output to a TV!
LangSecRef=3023
Detect=HKLM\Software\NVIDIA Corporation
Default=False
RegKey1=HKCR\AVIFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey2=HKCR\mpegfile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey3=HKCR\WMVFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey4=HKLM\SOFTWARE\Classes\AVIFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey5=HKLM\SOFTWARE\Classes\mpegfile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey6=HKLM\SOFTWARE\Classes\WMVFile\shellex\ContextMenuHandlers\NvPlayOnMyTV

The only change is that all instances of "PlayOnMyTV" become "NvPlayOnMyTV". I'm not sure if the former key name is found on other systems with older ForceWare drivers or not, as I have not done further investigation.

 

(3) The Flash 10 entry deletes the settings.sol file, which contains the settings you may have customized using the Flash Player Settings Manager. Even if we want all temp/history files deleted, we probably want to keep this settings.sol file.

 

The offending line is "FileKey1" in:

 

[Flash 10*]
LangSecRef=3023
DetectFile=%windir%\system32\Macromed\flash\flashplayer.xpt
Default=False
FileKey1=%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys|*.*|REMOVESELF|
FileKey2=%appdata%\macromedia\flash player\#sharedobjects\|*.*|RECURSE|REMOVESELF|

since the settings.sol file resides in "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys", and the above line nukes every file therein.

 

A couple years ago, while using an older version of Flash, I noted that every other item in the above directory, besides for settings.sol, began with a "#". I therefore modified my own winapp2.ini to contain the following line:

 

FileKey1=%appdata%\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys|#*|RECURSE

Assuming that Flash 10 behaves in the same way (which is likely), then the above line might successfully remove everything from "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys" while leaving settings.sol intact. I will try to experiment with this and confirm that it is true.

 

Alternatively, one can just add "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys\settings.sol" to their Exclude list.

Share this post


Link to post
Share on other sites

Duplicate found

 

[Yahoo! Toolbar*]
LangSecRef=3022
Detect=HKCU\Software\Yahoo\Companion
Default=False
RegKey1=HKCU\Software\Yahoo\Companion\SearchHistory

 

Now exists in Embedded

Share this post


Link to post
Share on other sites

[AVG AntiVirus 2011*] 
LangSecRef=3024 
Detect=HKLM\SOFTWARE\AVG\AVG10 
Default=True 
FileKey1=%allusersprofile%\Application Data\avg10\Log|*.log 
FileKey2=%allusersprofile%\Application Data\avg10\scanlogs|*.log 
FileKey3=%allusersprofile%\Application Data\avg10\Log|*.xml 
FileKey4=%allusersprofile%\Application Data\avg10\update\backup|*.* 
FileKey5=%allusersprofile%\Application Data\avg10\Emc\Log|*.log

Only tested on Win XP SP3

Share this post


Link to post
Share on other sites

Why these rules don't include in CCleaner by default?

 

Add please:

[MRU Photoshop FileList*]
LangSecRef=3021
Detect=HKLM\SOFTWARE\Adobe\Photoshop
Default=False
RegKey1=HKCU\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList

Share this post


Link to post
Share on other sites

Why these rules don't include in CCleaner by default?

 

Most programs in the Winapp2 file are either not widely used or at some point graduate to the ccleaner programing. Think of winapp2 as a testing ground for programs suggested by users, or in the casse of this newest version the testing ground for better 64bit OS cleaning

 

as far as your photoshop entry can you give us a few more bits of information. what version of photoshop have you tested this entry on? on which OS(es) has it been tested on? (see my previous post for example of what I mean)

 

the reason I ask is the following Adobe Photoshops are already cleaned by ccleaner by default

[Adobe Photoshop 6.0]
ID=2024
LangSecRef=3021
Default=True
Detect=HKCU\Software\Adobe\Photoshop\6.0
RegKey1=HKCU\Software\Adobe\Photoshop\6.0\VisitedDirs

[Adobe Photoshop 7.0]
ID=2025
LangSecRef=3021
Default=True
Detect=HKCU\Software\Adobe\Photoshop\7.0
RegKey1=HKCU\Software\Adobe\Photoshop\7.0\VisitedDirs

[Adobe Photoshop CS]
ID=2026
LangSecRef=3021
Default=True
Detect=HKCU\Software\Adobe\Photoshop\8.0
RegKey1=HKCU\Software\Adobe\Photoshop\8.0\VisitedDirs

[Adobe Photoshop CS2]
ID=2027
LangSecRef=3021
Detect=HKCU\Software\Adobe\Photoshop\9.0
Default=True
RegKey1=HKCU\Software\Adobe\Photoshop\9.0\VisitedDirs
RegKey2=HKCU\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList
FileKey1=%appdata%\Adobe\CameraRaw\Cache|*.*

[Adobe Photoshop CS3]
ID=2139
LangSecRef=3021
Detect=HKCU\Software\Adobe\Photoshop\10.0
Default=True
RegKey1=HKCU\Software\Adobe\Photoshop\10.0\VisitedDirs
RegKey2=HKCU\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList

[Adobe Photoshop CS4]
ID=2140
LangSecRef=3021
Detect=HKCU\Software\Adobe\Photoshop\11.0
Default=True
RegKey1=HKCU\Software\Adobe\Photoshop\11.0\VisitedDirs
RegKey2=HKCU\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList

[Adobe Photoshop CS5]
ID=2156
LangSecRef=3021
Detect=HKCU\Software\Adobe\Photoshop\12.0
Default=True
RegKey1=HKCU\Software\Adobe\Photoshop\12.0\VisitedDirs
RegKey2=HKCU\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList

 

as well as this entry in the most current winapp2

[Adobe Photoshop 5.5*]
LangSecRef=3021
Detect=HKCU\Software\Adobe\Photoshop\5.5
Default=False
RegKey1=HKCU\Software\Adobe\Photoshop\5.5\VisitedDirs

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

×