Jump to content
CCleaner Community Forums

APMichael

Experienced Members
  • Content Count

    630
  • Joined

  • Last visited

Posts posted by APMichael


  1. Alternatively, perhaps you just want to REMOVE all comments, in which case you need the command

    find /V ";" < winapp2.ini > no-comment.txt

    That too is easy, but it hits every user with an extra 181 kByte file, or yet another option to (S)kip

     

    Thank you very much for your fast reply. Yes, I just want to remove all my comments before I trim the winapp2.ini. I'm happy with the command line command, so you do not have to add it to your official Trim.bat version. Thanks again! :)


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


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


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


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


  6. 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").


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


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


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


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


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


  12. 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*]


  13. 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\*|*.*


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


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


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


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


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


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

×
×
  • Create New...