Jump to content
CCleaner Community Forums

APMichael

Experienced Members
  • Content count

    602
  • Joined

  • Last visited

Posts posted by APMichael


  1. Thanks. Here you go I changed 20 of them from the DetectFile to Detect. In My testing they all appeared to detect without issue.Two entries appears to be dupes of APMichael above ignore those :-)

     

    I would prefer for the entry [MS Office Help Cache*] this Detect line: Detect=HKCU\Software\Microsoft\Office\14.0\Common\HelpViewer

    This one is 100% safe.

     

    Or maybe this: Detect=HKCU\Software\Microsoft\Office\14.0

    Because older versions of MS Office doesn't have the new HelpViewer.


  2. I'm not sure, but I think if you have more than one Detect line you have to use Detect1 and Detect2.

    [Visual Studio Backup*]

    LangSecRef=3021

    DetectFile=%Documents%\Visual Studio 2005

    Detect1=HKCU\Software\Microsoft\VisualStudio\8.0

    Detect2=HKCU\Software\Microsoft\VisualStudio\10.0

    Default=false

    FileKey1=%Documents%\Visual Studio 2005\Backup Files|*.*|RECURSE

    FileKey2=%Documents%\Visual Studio 2008\Backup Files|*.*|RECURSE

    FileKey3=%Documents%\Visual Studio 2010\Backup Files|*.*|RECURSE


  3. Changed all my entries from DetectFile to Detect. Here are the new Detect lines:

    [3ware 3DM2*]

    Detect=HKU\.DEFAULT\Software\3ware\3DM2

     

    [Adobe Reader 10.0 Setup Files*]

    Detect=HKCU\Software\Adobe\Acrobat Reader\10.0

     

    [Apple Installer Cache*]

    Detect=HKCU\Software\Apple Computer, Inc.

     

    [brother Printer Debug Logs*]

    Detect=HKLM\SOFTWARE\Brother\BrUtilities

     

    [Citrix Online Plug-in Web Setup Files*]

    Detect=HKLM\SOFTWARE\Citrix\ICA Client

     

    [DVBViewer*]

    Detect=HKLM\SOFTWARE\CM&V\DVBViewer

     

    [DVBViewer Setup Files*]

    Detect=HKLM\SOFTWARE\CM&V\DVBViewer

     

    [Dyn Updater*]

    Detect=HKCU\Software\Dyn Updater

     

    [ElsterFormular*]

    Detect=HKLM\SOFTWARE\Landesfinanzdirektion Thüringen\ElsterFormular

     

    [Malwarebytes Anti Malware Setup File*]

    Detect=HKCU\Software\Malwarebytes' Anti-Malware

     

    [MS Office Help Cache*]

    Detect=HKCU\Software\Microsoft\Office\14.0\Common\HelpViewer

     

    [sun Java Setup Files*]

    Detect=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment


  4. Following entries don't get detected using HKCU. Can you change them to HKLM, please?

    [ASP.NET*]
    LangSecRef=3025
    Detect=HKCU\Software\MicroSoft\ASP.NET
    Default=False
    FileKey1=%WinDir%\Microsoft.net\Framework\*\Temporary ASP.NET Files|*.*|RECURSE
    FileKey2=%WinDir%\Microsoft.net\Framework64\*\Temporary ASP.NET Files|*.*|RECURSE
    
    [FileZilla Temps*]
    LangSecRef=3022
    Detect=HKCU\Software\FileZilla Client
    Default=False
    FileKey1=%ProgramFiles%\FileZilla FTP Client|*.tmp
    


  5. the folder \etc is marked as Read-only but it will clean the backup files as long as they aren't read only

    [Windows HOSTs Backup*]
    LangSecRef=3025
    DetectFile=%WinDir%\System32\drivers\etc\HOSTS
    Default=False
    FileKey1=C:\Windows\System32\drivers\etc|hosts.*.backup
    

     

    I think the entry "[Windows HOSTs Backup*]" is not necessary, because it is included already:

    [spybot Search and Destroy Hosts Backups*]
    LangSecRef=3024
    DetectFile=%ProgramFiles%\Spybot - Search & Destroy
    Default=False
    FileKey1=%WinDir%\System32\drivers\etc|hosts.*.backup
    

    I don't know any other program that makes those backup files ("hosts.yyyymmdd-nnnnnn.backup").


  6. I did get a warning in the event viewer after launching Apple Software Updater if I removed the Installer Cache folder also. But the entry as is it works without trouble.

     

    Right, that's why the entry doesn't remove the folders and deletes the setup files only. If you remove the folders also, there will appear an error message or a repair installation (e.g. QuickTime).


  7. I haven't had any issues with removing these

     

    Thanks for testing! :)

     

    Actually several years ago, before CCleaner advanced from series 2.* to 3.*, I found that this would work for me, and it should be good to Iconcache also :-

    DetectFile=C:\
    

     

    Or maybe this detection line?

    DetectFile=%LocalAppData%
    


  8. And could a user of iTunes test the following entry, please? If iTunes doesn't want to download its installer again, we can add this entry to the winapp2.ini also.

    [Apple Installer Cache*]

    LangSecRef=3023

    DetectFile=%CommonAppData%\Apple Computer

    Default=False

    FileKey1=%CommonAppData%\Apple Computer\Installer Cache\*|*.*

    FileKey2=%CommonAppData%\Apple\Installer Cache\*|*.*

     

    I could test this entry on a friends PC with Windows 7 (x64) and latest iTunes 10.5.3 (x64). We used CC with the entry and started iTunes again: Absolutely nothing happened, no error message or repair-installer appeared and no re-download of the installer started. I think the entry is safe.


  9. I would prefer the long names - just for better matching with the name of the built-in entry.

     

    Here are two more entries without an asterisk. Found thanks to the latest Trim_x.bat from Alan_B.

    [Eset Online Scanner]

    [uTorrent Bar Logs]

     

    We should change the LangSecRef of the following entry:

    [FileZilla FTP Client Temps*]

    LangSecRef=3022

     

    Thanks!


  10. Thanks for the two patch lines. I changed the code to this...

    <%1 (
     for /L %%b in (!LO!,1,!HI!) do (
    set "LN=" & set /p "LN="
    SET "HEAD=!LN!" & SET "TAIL=" & IF "!HEAD:~-1!"==" " SET /A SPC+=1 & CALL :DO_TAIL %%b
    if "!LN:~0,1!"=="[" SET /A OP+=1 & IF "!HEAD:~-2!" NEQ "*]" SET "HEAD=!HEAD:~0,-1!**]"
    ECHO(!HEAD!
     )
    )> %2
    

    ...and everything works fine. All the entries without an asterisk were found and fixed. Now this is really the ultimate tool for a perfect trimmed winapp2.ini! :)

     

    Could a moderator pin this useful thread please?


  11. Found a typo that causes a problem with trim.bat. The name of the following entry has no trailing asterisk (*). Can you rename these 2 entries, please?

    [spybot Search & Destroy Updates] to [spybot Search and Destroy Updates*]

    [spybot Hosts Backups*] to [spybot Search and Destroy Hosts Backups*]


  12. Thanks for the update!

     

    Missed entry:

    [bookmark Backups*]

    LangSecRef=3026

    DetectFile=%AppData%\Mozilla\Firefox

    Warning=This will delete all bookmark backups. Make sure to backup them manually.

    Default=False

    FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\bookmarkbackups|*.json

     

    New entries:

    [3ware 3DM2*]

    LangSecRef=3024

    DetectFile=%CommonAppData%\3ware

    Default=False

    FileKey1=%CommonAppData%\3ware|tw_mgmt.log

    [Dyn Updater*]

    LangSecRef=3022

    DetectFile=%CommonAppData%\Dyn\Updater

    Default=False

    FileKey1=%CommonAppData%\Dyn\Updater|dyndns.log

     

     

    And could a user of iTunes test the following entry, please? If iTunes doesn't want to download its installer again, we can add this entry to the winapp2.ini also.

    [Apple Installer Cache*]

    LangSecRef=3023

    DetectFile=%CommonAppData%\Apple Computer

    Default=False

    FileKey1=%CommonAppData%\Apple Computer\Installer Cache\*|*.*

    FileKey2=%CommonAppData%\Apple\Installer Cache\*|*.*


  13. You're right the file 'Custom.DIC' saves your own additions to the office dictionary. Other two lines are valid.

     

    I can confirm this, now. Today I get a pop-up window with the "Customer Experience Improvement Program" and those files were generated. This is the modified entry:

     

    [MS Office Saved CEIP Data*]

    LangSecRef=3021

    DetectFile=%AppData%\Microsoft\UProof

    Default=False

    FileKey1=%AppData%\Microsoft\UProof|*.bin

    FileKey2=%AppData%\Microsoft\UProof|*.XML


  14. If we're talking cosmetic surely it should be "Malwarebytes Anti-Malware" not "Malwarebytes' Anti-Malware" ;)

    No, for this case "Malwarebytes' Anti-Malware" is correct, because the built-in entry of CC is written exactly like this. The program files folder is labeled "Malwarebytes' Anti-Malware" also.

     

     

    Edit: Big sorry, you are right! CCleaners entry is written "Malwarebytes Anti Malware" (also no hyphen "-"). Shame on me. :( And thanks for your good eyes. :)

     

    Ok, then the entries should be renamed from

    [MalwareBytes' Anti-Malware 1.50 (Logs)*] to [Malwarebytes Anti Malware Logs*]

    [Malwarebytes' Anti-Malware Setup File*] to [Malwarebytes Anti Malware Setup File*]

    I will correct those typos in my post above.


  15. @ siliconman01 & Winapp2.ini: Thanks for your replies.

     

     

    Here are some more changes and new entries. The first 2 are just cosmetic changes. Can you rename them please?

     

    [MalwareBytes' Anti-Malware 1.50 (Logs)*] to [Malwarebytes Anti Malware Logs*]

    [VLC media player More*] to [VLC Media Player More*]

     

    This is a new entry:

     

    [DVBViewer*]

    LangSecRef=3023

    DetectFile=%CommonAppData%\CMUV\DVBViewer

    Default=False

    FileKey1=%CommonAppData%\CMUV\DVBViewer|*.bak

    FileKey2=%CommonAppData%\CMUV\DVBViewer|*.log

     

     

    The following entries are suggestions only. I'm not sure if they are good for all. I'm using a small SSD and therefore searched for unnecessary setup files. It would be great if other users could check and test them.

     

    Adobe Reader X: The only ill effect is that a repair installation doesn't work anymore. But the uninstaller still works.

    [Adobe Reader 10.0 Setup Files*]

    LangSecRef=3021

    DetectFile=%CommonAppData%\Adobe\Acrobat\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

     

    Citrix Web Client: No errors occurred. Uninstaller still works.

    [Citrix Online Plug-in Web Setup Files*]

    LangSecRef=3021

    DetectFile=%CommonAppData%\Citrix\Citrix Online Plug-in - Web

    Default=False

    FileKey1=%CommonAppData%\Citrix\Citrix Online Plug-in - Web|*.msi

    FileKey2=%CommonAppData%\Citrix\Citrix Online Plug-in - Web|*.cab

    FileKey3=%CommonAppData%\Citrix\Citrix Online Plug-in - Web|eula*.rtf

     

    JavaRE 7: No errors occurred. Uninstaller still works.

    [sun Java Setup Files*]

    LangSecRef=3022

    DetectFile=%LocalLowAppData%\Sun\Java

    Default=False

    FileKey1=%LocalLowAppData%\Sun\Java\jre*|*.*|REMOVESELF

     

    Apple Installer: Changed this one a little bit. QuickTime shows no error after deletion. Uninstallers still work. Can somebody test it with latest iTunes please?

    [Apple Installer Cache*]

    LangSecRef=3023

    DetectFile=%CommonAppData%\Apple Computer

    Default=False

    FileKey1=%CommonAppData%\Apple Computer\Installer Cache\*|*.*

    FileKey2=%CommonAppData%\Apple\Installer Cache\*|*.*

     

    DVBViewer: It's not possible to modify the installation anymore. Uninstaller still works.

    [DVBViewer Setup Files*]

    LangSecRef=3023

    DetectFile=%ProgramFiles%\DVBViewer

    Warning=This will prevent a modify installation. You have to download the installer to modify the installation.

    Default=False

    FileKey1=%ProgramFiles%\DVBViewer\setup|*.*

    FileKey2=%ProgramFiles%\DVBViewer\Transponders|*.*

     

    Malwarebytes' Anti-Malware: No errors occurred. Uninstaller still works.

    [Malwarebytes Anti Malware Setup File*]

    LangSecRef=3024

    DetectFile=%CommonAppData%\Malwarebytes\Malwarebytes' Anti-Malware

    Default=False

    FileKey1=%CommonAppData%\Malwarebytes\Malwarebytes' Anti-Malware|mbam-setup.exe

     

    All entries are tested on Windows 7 x64.

     

     

    Edit: Correction of typos. Thanks to JDPower.


  16. Is it possible to include an option to exclude not needed entries? I think a user generated file (with "Notepad", labeled "exlude.txt") in the folder of "trim_x.bat" should be a possible way.

     

    Here an example for "exclude.txt":

    [Remote Desktop Connection More*]
    [Windows 7 MUICache*]
    [Windows 7 ShellBags*]
    

     

    I hope it is understandable what I mean. I just want to copy the names of the not needed entries to the file "exclude.txt" and then "trim_x.bat" doesn't copy them to the trimmed "winapp2.ini". So the new "winapp2.ini" gets even smaller. What do you think about it?


  17. Here is a little "cosmetic" change, because this was the only entry for Firefox using %ProgramFiles% for detection.

     

    [Extensions Logs*]

    LangSecRef=3026

    DetectFile=%AppData%\Mozilla\Firefox

    Default=False

    FileKey1=%AppData%\Mozilla\Firefox\Profiles\*|extensions.log

     

    The next entry has two detection lines. I think the first one (DetectFile) is enough because the entry gets detected regardless if the second one (Detect) matches or not.

     

    [secunia PSI*]

    LangSecRef=3021

    DetectFile=%ProgramFiles%\Secunia\PSI\psi.exe

    Detect=HKCU\Software\Secunia\PSI

    Default=False

    FileKey1=%ProgramFiles%\secunia\PSI|sualog.txt

    FileKey2=%ProgramFiles%\Secunia\PSI|psialog.txt

    FileKey3=%ProgramFiles%\Secunia\PSI|psialog.txt2

     

    And I have a question about the following entry. Are you really sure this is for "MS Customer Experience Improvement Program"? Because the file "Custom.DIC" saves your own additions to the office dictionary (for the spell checker). And until now I didn't find a suspect file in the folder "UProof".

     

    [MS Office Saved CEIP data*]

    LangSecRef=3021

    DetectFile=%AppData%\Microsoft\UProof

    Default=False

    FileKey1=%AppData%\Microsoft\UProof|*.bin

    FileKey2=%AppData%\Microsoft\UProof|*.DIC

    FileKey3=%AppData%\Microsoft\UProof|*.XML


  18. I wrote some new entries (my first ones):

     

    [bookmark Backups*]
    LangSecRef=3026
    DetectFile=%AppData%\Mozilla\Firefox
    Warning=This will delete all bookmark backups. Make sure to backup them manually.
    Default=False
    FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\bookmarkbackups|*.json
    
    [ElsterFormular*]
    LangSecRef=3021
    DetectFile=%ProgramFiles%\ElsterFormular
    Default=False
    FileKey1=%AppData%\elsterformular\eric\log|*.log
    FileKey2=%AppData%\elsterformular\eric\tmp|*.*
    FileKey3=%AppData%\elsterformular\pica\log|*.log
    FileKey4=%AppData%\elsterformular\pluginmanager\tmp|*.*
    FileKey5=%LocalAppData%\.elfohilfe|*.*|REMOVESELF
    
    [MS Office Help Cache*]
    LangSecRef=3021
    DetectFile=%CommonAppData%\Microsoft Help
    Default=False
    FileKey1=%LocalAppData%\Microsoft Help|*.*
    
    [brother Printer Debug Logs*]
    LangSecRef=3024
    DetectFile=%CommonAppData%\Brother\BrLog
    Default=False
    FileKey1=%CommonAppData%\Brother\BrLog|*.log
    

     

    They work flawless on my system (Windows 7 x64).

     

    Maybe you can add these too: http://forum.pirifor...ndpost&p=208541


  19. Thanks for this very useful "winapp2.ini" file. I think a few entries need a warning message:

     

    [Remote Desktop Connection More*]

    Warning=This will reset all Remote Desktop Connection settings.

     

    [Windows 7 ShellBags*] and [Windows XP ShellBags*]

    Warning=This will delete window size, window position and view setting of all folders.

     

    Maybe you can include them in the next release.


  20. Hi!

     

    I first thought that the latest "Trim_5" did not work on my system (Win7 x64). The same problem that was reported for "Trim_4" occurred: Once you hit ENTER, CCleaner launches and the script does not wait for you to run Analyze and close CCleaner.

     

    The causer was the "User Account Control". If I use "run as administrator" on "Trim_5.bat" everything works fine (because UAC does not pop-up anymore). Maybe you can add an advice that "run as administrator" is required.

     

    Thanks,

    Michael

     

    Edit: I was wrong, it only works if I open a "command prompt" as administrator and go to the folder using the "cd" command and then start "Trim_5.bat". Otherwise (using "run as administrator" directly on "Trim_5.bat") the winapp2.ini will not be found.

×