APMichael
-
Posts
984 -
Joined
-
Last visited
Posts posted by APMichael
-
-
Thank you for the updated version.
Another try: Could a moderator pin this useful thread, please? Thanks!
-
Please do remove FileKey2 from this entry. The default code for Malwarebytes also clears out the quarantine folder which is NOT a good idea and therefore is left unchecked by some of us users.
I think you mean "Please do not remove FileKey2 from this entry", right?
-
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!
-
Is it possible to include a function which sorts all comment lines out (they start with a semicolon ";")? Reason: I want to comment some of the entries in the complete version of winapp2.ini, but those comments shouldn't make it into the trimmed version.
-
I checked and actually the Microsoft Office Help Cache is also used in the 2007 version of office as well Updated detects to detect either version
Thank you very much for checking this. Now the entry is perfect.
-
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.
-
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
-
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
-
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
-
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").
-
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).
-
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%
-
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.
-
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!
-
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?
-
Great, trim_9.bat works flawless with #_Exclude.txt. Now I have a perfect matching winapp2.ini with just a double click. Thank you very much.
I have a suggestion for an additional "bad" entry check: Can you check if all entries of the original winapp2.ini have a trailing asterisk (*) in their names? Because without the asterisk the entry is ignored by trim.bat.
-
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*]
-
IMHO it is worth. Before I make a new disk image I'd like to have a clean system (without those 6 backup files per user account).
-
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\*|*.*
-
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
-
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.
-
@ 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.
-
Great, thank you very much for your support.
-
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?
Winapp2.ini additions
in CCleaner
Posted
I thought the CCleaner64.exe knows where to look for a registry entry on a 64-bit system?! Does it only work with "Detect" entries? Do we have to change most of the "RegKey" entries now?