Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

I recommend that [MountPoints2*] be removed from Winapp2.ini. It is causing disk labeling issues on Windows 7 SP1 x64 and x86. And according to the Warning it is causing icon problems with Windows 8. I have attached a couple of pictures showing a before and after cleaning with MountPoints2* check marked.

 

[MountPoints2*]
LangSecRef=3025
Warning=Can cause issues with Windows 8 System Drive Icon
Detect=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer
Default=False
RegKey1=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

Share this post


Link to post
Share on other sites

I recommend that [MountPoints2*] be removed from Winapp2.ini.

based on evidence given +1

Share this post


Link to post
Share on other sites

This also prevented auto updating of adobe reader from version 10.1.0 to 10.1.4.

 

[Adobe Reader 10.0 Setup Files*]
LangSecRef=3021
Detect=HKCU\Software\Adobe\Acrobat Reader\10.0
Warning=This will prevent a repair installation. You have to download the installer for a reinstallation.
Default=False
FileKey1=%CommonAppData%\Adobe\ARM\Reader_10.*|*.*|REMOVESELF
FileKey2=%CommonAppData%\Adobe\Setup\{AC76BA86-7AD7-*-7B44-AA1000000001}|*.*|REMOVESELF

Share this post


Link to post
Share on other sites

only FileKey3=%LocalAppData%\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE

 

is in winapp.ini, so I suppose I could take that out and leave the XP ones, putting in a DetectOS

 

I think it is better to have just the [Windows Media Player More*] entry for all the OS's, which I provided above.

Share this post


Link to post
Share on other sites

no don't merge databases, why are entries constantly being made without thought for the actual use of the program. When you delete the database it screws up your library, it's a separate because

%LocalAppData%\Microsoft\Media Player|*.wmdb that's your ratings, play count, and custom tags (afaik)

you removed the warning completely

 

also the windows media player database entry isn't even deleting the wmdb anymore for the user but the networkservices user

Share this post


Link to post
Share on other sites

I vote for leaving them separate as shown below (modified to reflect what is already in Winapp.ini [Windows Media Player]. [Windows Media Player (Databases*] should have the proper DetectOS added to prevent it from showing up in Windows 7 and Windows 8, eh?

 

[Windows Media Player (Album Art Cache)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE
FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE
FileKey3=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE

[Windows Media Player (Databases)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Warning=This will remove ratings, play counts, last played, etc.
Default=False
FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player|*.*|REMOVESELF
FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player|*.*|REMOVESELF

[Windows Media Player (MediaGuide)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Default=False
RegKey1=HKCU\Software\Microsoft\MediaPlayer\Preferences|CurrentBackgroundScanFolder

Share this post


Link to post
Share on other sites

Modified Entry: [DriverMax*] again. Added FileKey5 and FileKey6

 

[DriverMax*]
LangSecRef=3024
Detect=HKCU\Software\Innovative Solutions\DriverMax
Default=False
FileKey1=%LocalAppData%\Innovative Solutions\DriverMax\Backup|*.*
FileKey2=%LocalAppData%\Innovative Solutions\DriverMax\Temp|*.*
FileKey3=%LocalAppData%\Innovative Solutions\DriverMax\TempBackup|*.*
FileKey4=%LocalAppData%\Innovative Solutions\DriverMax\Agent\Downloded Drivers|*.*
FileKey5=%LocalAppData%\Innovative Solutions\DriverMax\Agent\Uploads|*.*|RECURSE
FileKey6=%LocalAppData%\Innovative Solutions\DriverMax\LastScan|*.*

 

Is it just me or is there a bug in the ExcludeKey=FILE|..... that prevents it from excluding a file name with multiple periods such as globalize.culture.ar-min.js ??

Share this post


Link to post
Share on other sites

I vote for leaving them separate as shown below (modified to reflect what is already in Winapp.ini [Windows Media Player]. [Windows Media Player (Databases*] should have the proper DetectOS added to prevent it from showing up in Windows 7 and Windows 8, eh?

 

[Windows Media Player (Album Art Cache)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE
FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE
FileKey3=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player\Art Cache\LocalMLS|*.*|RECURSE

[Windows Media Player (Databases)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Warning=This will remove ratings, play counts, last played, etc.
Default=False
FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player|*.*|REMOVESELF
FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player|*.*|REMOVESELF

[Windows Media Player (MediaGuide)*]
LangSecRef=3023
Detect=HKCU\Software\Microsoft\MediaPlayer
Default=False
RegKey1=HKCU\Software\Microsoft\MediaPlayer\Preferences|CurrentBackgroundScanFolder

 

Why just for XP only? Windows 7 and 8 need these entries but with correct paths. The highlighted lines are for Windows 7 and 8 also. You can keep them seperate but, correct the entries.

 

[Windows Media Player More*]

LangSecRef=3023

Detect=HKCU\Software\Microsoft\MediaPlayer

Default=False

RegKey1=HKCU\Software\Microsoft\MediaPlayer\Preferences|CurrentBackgroundScanFolder

RegKey2=HKCU\Software\Microsoft\MediaPlayer\Services\MediaGuide|CachedIconPath

RegKey3=HKCU\Software\Microsoft\MediaPlayer\Services\MediaGuide|CachedLargeLogoPath

FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player|*.*|REMOVESELF

FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player|*.*|REMOVESELF

FileKey3=%LocalAppData%\Microsoft\Media Player\Transcoded Files Cache|*.*|RECURSE

FileKey4=%AppData%\Microsoft\Media Player|*.*|RECURSE

FileKey5=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Media Player|*.*|RECURSE

Share this post


Link to post
Share on other sites

Modified Entry:

Added Detect2 so that the Intel folder is detected on Windows 7 x86 and x64.

 

[intel Installation Logs*]
LangSecRef=3024
Detect1=HKCU\Software\Intel
Detect2=HKLM\Software\Intel
Default=False
FileKey1=%SystemDrive%\Intel|*.*|REMOVESELF

Share this post


Link to post
Share on other sites

Here is the seperate corrected entry. The highlighted line is the one that removes ratings, play counts, last played, etc (Databases). If you like you can remove the line but, then change the entry name.

 

[Windows Media Player (Databases)*]

LangSecRef=3023

Detect=HKCU\Software\Microsoft\MediaPlayer

Warning=This will remove ratings, play counts, last played, etc.

Default=False

FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Microsoft\Media Player|*.*|REMOVESELF

FileKey2=%SystemDrive%\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Media Player|*.*|REMOVESELF

FileKey3=%LocalAppData%\Microsoft\Media Player\Transcoded Files Cache|*.*|RECURSE

FileKey4=%LocalAppData%\Microsoft\Media Player|*.wmdb

FileKey5=%AppData%\Microsoft\Media Player|*.*|RECURSE

FileKey6=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Media Player|*.*|RECURSE

 

[Windows Media Player (Album Art Cache)*] is in CCleaner's Windows Media Player entry now and no change to [Windows Media Player (MediaGuide)*].

 

So whats difference here [Windows Media Player (Databases)*] + [Windows Media Player (MediaGuide)]* = [Windows Media Player More*] :)

Share this post


Link to post
Share on other sites

I recommend that [MountPoints2*] be removed from Winapp2.ini. It is causing disk labeling issues on Windows 7 SP1 x64 and x86. And according to the Warning it is causing icon problems with Windows 8. I have attached a couple of pictures showing a before and after cleaning with MountPoints2* check marked.

 

[MountPoints2*]
LangSecRef=3025
Warning=Can cause issues with Windows 8 System Drive Icon
Detect=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer
Default=False
RegKey1=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

 

I never had any problem with this entry. I uses Windows 7 and 8. I just removed all the MountPoints and no problem with Windows 8 system drive icon. I am attaching a snapshot.

 

East-Tec Eraser and R-Wipe & Clean have this entry.

Share this post


Link to post
Share on other sites

[sonic Visualiser*]
LangSecRef=3023
DetectFile=%UserProfile%\.Sonic Visualiser
Default=False
FileKey1=%UserProfile%\.Sonic Visualiser\cache|*.*

 

 

update for Jdownloader *.logs

[JDownloader Logs*]
LangSecRef=3022
Detect=HKLM\Software\JDownloader
Default=False
FileKey1=%ProgramFiles%\JDownloader|*.log;updateLog.txt;*.lck
FileKey2=%UserProfile%\.jd_home\logs|*.0
FileKey3=%UserProfile%\.jd_home|JDownloader.log

Share this post


Link to post
Share on other sites

I created a batch file to split winapp2.ini into separate text files by the category codes. I needed to get all the game entries in winapp2.ini into one file. I wanted to share it if some else finds use for it.

 

It also creates "rebuild.bat" which can be used to rebuild winapp2.ini using the splitted text files. e.g. to exclude a category from winapp2.ini, first delete its text file, or edit the categories individually from their own text files.

split.zip

Share this post


Link to post
Share on other sites

Today my background is broken(no change everytime black :-( ) again .... And thats the resolve:

 

information: http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/ab8e5a85-a2e5-45e4-bbb8-fbdb7d9c15bd

 

[Windows 7 delt Transcoded Wallpaper cache*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
DetectOS=|6.1
Default=False
Warning= You have to refresh your background! Information http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/ab8e5a85-a2e5-45e4-bbb8-fbdb7d9c15bd
FileKey1=%AppData%\Microsoft\Windows\Themes|TranscodedWallpaper.jpg

Share this post


Link to post
Share on other sites

@Back_track: What? also Thanks!

 

@Rohk: Thanks! This seems neat. Alan_B might get territorial ;)

Share this post


Link to post
Share on other sites

@Rohk: Thanks! This seems neat. Alan_B might get territorial ;)

No problem here - I am happy to pass on the baton :)

p.s. I like the code.

Share this post


Link to post
Share on other sites

Please add a warning to [Copernic] saying it will remove your search items and the search results.

Share this post


Link to post
Share on other sites

What is

[Application History*]
LangSecRef=3025
DetectFile=%LocalAppData%\ApplicationHistory
Default=False
FileKey1=%LocalAppData%\ApplicationHistory|*.*|RECURSE

?

I can't find it in the Thread :(

 

What's Up with Filekey 5-6 don't seem to relate to entry heading, and I'm pretty sure it deletes all the users cookies (and no it does NOT respect cookies to keep)

[LocalService Cookies*]
LangSecRef=3022
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%SystemDrive%\Documents and Settings\LocalService\Cookies|*.*|RECURSE
FileKey2=%WinDir%\ServiceProfiles\LocalService\AppData\Local\Temp\Cookies|*.*|REMOVESELF
FileKey3=%WinDir%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\Windows\Cookies|*.*|REMOVESELF
FileKey4=%SystemDrive%\Documents and Settings\LocalService.NT*\Cookies|*.*|RECURSE
FileKey5=%AppData%\Microsoft\Windows\Cookies|*.*
FileKey6=%AppData%\Microsoft\Windows\Cookies\Low|*.*|REMOVESELF

 

Suggested Modification

Current: Quicken Deluxe Logs*

Suggest: Quicken Logs*

as it works and cleans my Home and Business Quicken too

 

Proposed change (name and warning)

[speccy debug dump*]
LangSecRef=3024
Warning=If you have run Debug Mode at the request of support, do not clean this unless told the dump is unneeded.
Detect=HKLM\Software\Piriform\Speccy
Default=False
FileKey1=%ProgramFiles%\Speccy|*.dmp

Edited by Nergal

Share this post


Link to post
Share on other sites

[software Protection Platform Cache*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%SystemDrive%\Documents and Settings\NetworkService\Application Data\Microsoft\SoftwareProtectionPlatform\Cache|*.*|RECURSE
FileKey2=%WinDir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\Cache|*.*|RECURSE

not sure where this one comes from but I can find no proof that cleaning this cache is benificial or prudent. can someone point me to something? or is this a case of searching for cache and adding it to the file :huh:

Seems to Have snuck back into the Winapp2 file. Follow the quoted passage for your, my and Hazelnut's discussion on it

Share this post


Link to post
Share on other sites

 

 

What's Up with Filekey 5-6 don't seem to relate to entry heading, and I'm pretty sure it deletes all the users cookies (and no it does NOT respect cookies to keep)

[LocalService Cookies*]
LangSecRef=3022
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%SystemDrive%\Documents and Settings\LocalService\Cookies|*.*|RECURSE
FileKey2=%WinDir%\ServiceProfiles\LocalService\AppData\Local\Temp\Cookies|*.*|REMOVESELF
FileKey3=%WinDir%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\Windows\Cookies|*.*|REMOVESELF
FileKey4=%SystemDrive%\Documents and Settings\LocalService.NT*\Cookies|*.*|RECURSE
FileKey5=%AppData%\Microsoft\Windows\Cookies|*.*
FileKey6=%AppData%\Microsoft\Windows\Cookies\Low|*.*|REMOVESELF

 

I am the guilty party who requested FileKey5 and FileKey6 be added in this code....and it was an mistake to make this request. I recommend that these two keys be removed from [LocalService Cookies*]. CCleaner is not coded yet to properly handle IE 10's cookies on Windows 7 and this was an effort to clean out cookies of IE 10. Sorry about that. :wacko:

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...