-
Posts
1,116 -
Joined
-
Last visited
Posts posted by siliconman01
-
-
In TRIM, I personally feel that the (default) and (overwrite) options should be swapped/changed.
1. Trim (default) - Trim winapp2.ini and replace the old winapp2.ini
2. Trim (new file) - Trim winapp2.ini and save the output to a new file -
When the new update, TRIM no longer works on Windows 10x64 Pro. I get the following.
Quote*--------------------------------------------------------------------------------------------------*
* Trim *
* *
* This tool will trim winapp2.ini down to contain only *
* entries relevant to your machine, greatly reducing both *
* application load time and the winapp2.ini filesize. *
* Menu: *
*0. Exit - Return to the winapp2ool menu *
*1. Trim (default) - Trim winapp2.ini and save the output to a new file *
*2. Trim (overwrite) - Trim winapp2.ini and overwrite the existing file *
*--------------------------------------------------------------------------------------------------*
Enter a number: 2
Trimming...
Trimming complete.
Initial number Of entries: 2247
Number of entries after trimming: 233
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at winapp2ool.trim.trim(String name)
*--------------------------------------------------------------------------------------------------*
Finished trimming winapp2.ini, press any key to return to the winapp2ool menu.
-
-
TRIM worked properly except for the count discrepancy (see attached pic)
CCINIDEBUG worked properly
WINAPPDEBUG worked properly except for the count discrepancy with TRIM
DIFF worked properly.
Great progress!!!
Update: Examining CCleaner.ini file, it looks as though the count issue is in Winappdebug.exe. This module looks like it is counting all the lines in ccleaner.ini insteard of just the (App) lines.
-
ISSUE 1 with ccinidebug:
In running the new ccinidebug, it falsely displays that every entry in the ccleaner.ini is a stale entry and will be pruned. If I continue to the second step to let it prune and organize ccleaner.ini, it does not actually prune these entries.
-
I installed the new winapp2ool.exe and performed a TRIM. The new TRIM removed 7 cleaning modules that should not have been removed. In examining the ones falsely trimmed (see attached file), the "Detect" checks are all located in the HKLM\Software\WOW6432Node hive area of the registry. So it looks like the new TRIM is not testing this area or is testing it incorrectly.
-
The new winapp2ool.exe no longer crashes when using DIFF.
QuoteFWIW I think there may be some bug in trim.bat because it also generated more entries for me, but some of them should not have been detected as being on my system.
Yes, it does appear to be improperly trimming. In addition it does not alphabetize its final selection. The new version of Trim is still showing 5 less than the original TRIM.BAT. However, the DIFF run shows a lot of adds and removes that do not look correct.
TRIM does not seem to like it if the cleaning module has no DETECT or DETECTFILE in the code. It removes these modules
-
ISSUE 3:
Winappdebug failed to detect the missing backslash in the following ExcludeKey
ExcludeKey1=FILE|%SystemDrive%\TomsCommonData\Rainmeter\Skins\Gadgets\@Resources\Language|Weather_EN-US.inc
QuoteYou may want to try running the .NET Repair Tool
I ran this tool and it did not resolve the crash issue.
Quoteare you including the .ini extension when entering the file name? (you should be!) '
Yes, I am including the .ini extension
QuoteHave you tried running just the trim module? It doesn't call any code from diff so it should not trigger a crash in that module as far as I'm aware.
Yes, I have run the TRIM module. It is trimming 5 more cleaning items than the original TRIM.BAT. That is why I am wanting to get the DIFF module working.
QuoteDoes the error still occur if you move to tool to a less privileged folder?(ie. downloads)
Yes, it still crashes...with and without "Run as Administrator"
-
4 hours ago, Winapp2.ini said:
Here is a demo of the new multitool (winapp2ool): https://github.com/MoscaDotTo/Winapp2/tree/master/Tools/beta
Please give it a try, it includes a slightly improved WinappDebug, ccinidebug, a new module called "diff" that compares two winapp2.ini versions and outputs the changes, and a trimming module with an option to both overwrite the existing winapp2.ini file or to output to a new file called winapp2-trimmed.ini
Recommended that you run it as an administrator, many of the functions don't work will without elevation. Trim especially, as it can't access certain registry keys without elevation and will as a result, erroneously trim entries from your file.
My system is Windows 10x64 Professional Build 16299.192 V1709. I am running Winapp2ool.exe as "Run as Administrator"
ISSUE 1:
When I run the DIFF tool, it crashes after I have entered the 2 names of the Winapp2.ini files I want to compare. Below are the two errors via the Event Viewer
QuoteApplication: winapp2ool.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32)
at winapp2ool.diff.main()
at winapp2ool.Module1.Main()System - Provider [ Name] .NET Runtime - EventID 1026 [ Qualifiers] 0 Level 2 Task 0 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2018-01-15T06:35:15.961132000Z EventRecordID 61619 Channel Application Computer ASUSHomeBuilt Security - EventData Application: winapp2ool.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentOutOfRangeException at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at winapp2ool.diff.main() at winapp2ool.Module1.Main() QuoteFaulting application name: winapp2ool.exe, version: 1.0.0.0, time stamp: 0x5a5c06fd
Faulting module name: KERNELBASE.dll, version: 10.0.16299.15, time stamp: 0x4736733c
Exception code: 0xe0434352
Fault offset: 0x0000000000013fb8
Faulting process id: 0xe1c
Faulting application start time: 0x01d38dca44861e56
Faulting application path: C:\Program Files\CCleaner\winapp2ool.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e5237595-e02c-4acb-9d7f-fde2ec73574f
Faulting package full name:
Faulting package-relative application ID:- System - Provider [ Name] Application Error - EventID 1000 [ Qualifiers] 0 Level 2 Task 100 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2018-01-15T06:30:50.868131000Z EventRecordID 61613 Channel Application Computer ASUSHomeBuilt Security - EventData winapp2ool.exe 1.0.0.0 5a5c06fd KERNELBASE.dll 10.0.16299.15 4736733c e0434352 0000000000013fb8 e1c 01d38dca44861e56 C:\Program Files\CCleaner\winapp2ool.exe C:\WINDOWS\System32\KERNELBASE.dll e5237595-e02c-4acb-9d7f-fde2ec73574f ISSUE 2:
Even though I run the tool as "Run as Administrator", it trims 5 more items than the original Trim.bat tool. I can't tell which ones are being trimmed because the DIFF tool is crashing.
-
12 hours ago, SMalik said:
I have spent lots of time checking the entries with REMOVESELF. REMOVESELF in the entries listed below should stay, REMOVESELF in the rest of the entries should be replaced with RECURSE.
[Nightly Backups *]
[.NET Framework *]
[Ableton Live Suite *]
[Ace Stream *]
[Active Setup Temp Folder *]
[Anvisoft Cloud System Booster *]
[Blood Bowl: Legendary Edition *]
[CleanMyPC Registry Cleaner *]
[CNET Tech Tracker *]
[ComboFix *]
[CorelDRAW Graphics Suite X7 *]
[CyberLink Install Files *]
[CyberLink Power2Go *]
[Dell Installation Files *]
[Driver Installation Files *]
[DVD-Ranger *]
[dvdcss *]
[EndNote X6 *]
[ESET *]
[Euro Truck Simulator Profile Backups *]
[Farming Simulator *]
[Galaxy *]
[Galaxy Cache *]
[GEAR DIFx Installers *]
[Google Earth *]
[HP Drive Key Boot Utility *]
[HP Installation Files *]
[HP MediaSmart Photo *]
[InnoTab *]
[Jagex Cache *]
[Java *]
[Java Setup Files *]
[Join.Me Install Backups *]
[Lenovo SWTOOLS *]
[LibreOffice *]
[MAGIX Driver Downloads *]
[MS Visual Studio Caches *]
[Nokia Software Updater *]
[Notepad++ *]
[OpenMG CD Backups *]
[Pet Pals Animal Doctor *]
[Quicken *]
[Sprint Hero RUU Installer *]
[SysTracer *]
[Teeworlds *]
[Teeworlds Downloads / Maps *]
[The Dream Machine *]
[TVersity *]
[Ubisoft Game Launcher Installers *]
[UsbFix *]
[VMware Workstation *]
[Western Digital SmartWare *]
[Windows Installer *]
[Windows Live Messenger Setup Files *]
[Windows Logs *]
[Windows Retail Demo *]
[Wondershare MobileGo *]
[Wondershare SafeEraser *]
[XPort 360 *]Won't this leave a lot of empty folders on user's drives ? For example in [AVG *]
FileKey4=%CommonAppData%\Avg\AV\SetupBackup|*.*|REMOVESELF
FileKey9=%LocalAppData%\AvgSetupLog|*.*|REMOVESELF
FileKey14=%WinDir%\System32\config\systemprofile\AppData\Local\AvgSetupLog|*.*|REMOVESELF
FileKey17=%WinDir%\SysWOW64\config\systemprofile\AppData\Local\AvgSetupLog|*.*|REMOVESELF
-
27 minutes ago, Winapp2.ini said:
Thanks for the fix.
-
[Windows Shellbags *] is causing another annoying issue when using Search within File Explorer. It causes the search results to be defaulted back to Content view instead of the user selected view such as Detailed View. Reference the link below which describes/resolves the problem of the selected user view within the Search of File Explorer.
https://www.tenforums.com/general-support/60109-how-change-default-folder-view-search-results.html
Once a user sets the desired view for Search in File Explorer as per the solution in the link above (and it does work), [Windows Shellbags *] wipes out the fix and reverts File Explorer back to the default Search view which is Content. The two keys below are causing the problem.
RegKey1=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
RegKey2=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagsRemoving these two keys from [Windows Shellbags *] is the only "fix" that I can make work; however, maybe someone else can feedback a more desirable fix.
-
4 hours ago, Winapp2.ini said:
Steam definitely fits better under Games for our purposes (not a category that exists by Default in CCleaner) given that there are almost 400 entries in winapp2.ini (for reference, winapp.ini has only 402 entries total) that target games. Beyond the basic Steam entry, I don't think Piriform supports anything targeted at gaming.
I suspect there are a few entries in Winapp.ini that are not classified properly.
-
-
I recommend that the changes to move such anti-virus programs as Norton, Avast, AVG to 3021 be reversed back to 3024.
[Avast *]
[AVG *]
[Avira AntiVir Desktop *]
[Bitdefender *]
[Kaspersky *]
[McAfee *]
[Norton *] -
-
Should not anti-malware/anti-virus programs such as McAfee be placed in Utilities (3024) and not in Applications (3021)
[McAfee AntiVirus] ID=2242 LangSecRef=3021 DetectFile=%CommonAppData%\McAfee\MCLOGS Default=True FileKey1=%CommonAppData%\McAfee\MCLOGS|*.log|RECURSE
-
On 1/3/2018 at 15:29, SMalik said:
CCleaner uses LangSecRef 3021 for internet security programs. I think we should change the LangSecRef of Avast, AVG, Avira AntiVir Desktop, Bitdefender, ESET, Kaspersky, McAfee and Norton to 3021 from 3024.
If I may ask, where does it show that CCleaner uses LangSecRef 3021 for internet security programs ?
-
Modified entries: [Intel iCLS Client *] and [Intel Storage Counters *]
Changed LangSecRef=3024
[Intel iCLS Client *] LangSecRef=3024 DetectFile=%CommonAppData%\Intel\iCLS Client Default=False FileKey1=%CommonAppData%\Intel\iCLS Client|*.log FileKey2=%LocalAppData%\VirtualStore\ProgramData\Intel\iCLS Client|*.log [Intel Storage Counters *] LangSecRef=3024 DetectFile=%WinDir%\Inf\Intel Storage Counters Default=False FileKey1=%WinDir%\Inf\Intel Storage Counters|*.tmp|RECURSE
-
Modified entry: [Realtek Logs *]
Changed LangSecRef=3024
[Realtek Logs *] LangSecRef=3024 Detect=HKLM\Software\Realtek Default=False FileKey1=%LocalAppData%\VirtualStore\Program Files*\Realtek*|*.log;*.txt|RECURSE FileKey2=%ProgramFiles%\Realtek*|*.*log;*.txt|RECURSE FileKey3=%SystemDrive%|RHDSetup.log ExcludeKey1=FILE|%ProgramFiles%\Realtek\*\|InstCtrl.txt ExcludeKey2=FILE|%ProgramFiles%\Realtek\*\|setupctrl.txt
-
Modified entries: [Snagit *] and [Snagit 13/18 *]
Change LangSecRef=3024 to LangSecRef=3021
[Snagit *] LangSecRef=3021 Detect=HKCU\Software\TechSmith\Snagit Default=False Warning=This will delete the backups of the captures. FileKey1=%Documents%|SnagitDebug.log FileKey2=%LocalAppData%\TechSmith\Logs|*.log FileKey3=%LocalAppData%\TechSmith\Snagit\CrashDumps|*.* FileKey4=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAG;*.SNAGundo;*.MP4 FileKey5=%LocalAppData%\TechSmith\Snagit\TrackerbirdFiles|*.log RegKey1=HKCU\Software\TechSmith\Snagit\9|StampCustomFolder RegKey2=HKCU\Software\TechSmith\Snagit\10|StampCustomFolder RegKey3=HKCU\Software\TechSmith\Snagit\11|CaptureCount RegKey4=HKCU\Software\TechSmith\Snagit\11|CaptureOpenCount RegKey5=HKCU\Software\TechSmith\Snagit\12|CaptureCount RegKey6=HKCU\Software\TechSmith\Snagit\12|CaptureOpenCount RegKey7=HKCU\Software\TechSmith\Snagit\13|CaptureCount RegKey8=HKCU\Software\TechSmith\Snagit\13|CaptureOpenCount RegKey9=HKCU\Software\TechSmith\Snagit\18|CaptureCount RegKey10=HKCU\Software\TechSmith\Snagit\18|CaptureOpenCount RegKey11=HKCU\Software\TechSmith\Snagit\Stamps|StampCustomFolder [Snagit 13/18 *] LangSecRef=3021 Detect1=HKCU\Software\TechSmith\Snagit\13 Detect2=HKCU\Software\TechSmith\Snagit\18 Default=False FileKey1=%CommonAppData%\TechSmith\Uploader|*.log FileKey2=%LocalAppData%\TechSmith\Snagit|Tray.bin FileKey3=%LocalAppData%\TechSmith\Snagit\DataStore\AppIcons|*.ico FileKey4=%LocalAppData%\TechSmith\Snagit\DataStore\WebSiteIcons|*.ico FileKey5=%LocalAppData%\TechSmith\Snagit\Thumbnails|*.* RegKey1=HKCU\Software\TechSmith\Snagit\13\Recent Captures RegKey2=HKCU\Software\TechSmith\Snagit\13\SnagitEditor\Recent File List RegKey3=HKCU\Software\TechSmith\Snagit\18\Recent Captures RegKey4=HKCU\Software\TechSmith\Snagit\18\SnagitEditor\Recent File List
-
Application software vs Utility software.
https://www.difference.wiki/application-software-vs-utility-programs/
The above article defines that we are wrong in calling anti-malware software "Applications".
-
Post removed
-
Modified entry: [SetRegistryKey Leftovers *]
Change name from [setRegistryKey Leftovers *] to [SetRegistryKey Leftovers *] (capital S)
Winapp2.ini additions
in CCleaner
Posted
TRIM is working now with the update that you just updated ~ 20 minutes ago.
Thanks for the TRIM default changes.
Do LIKE the new Download file option 5.![:) :)](//content.invisioncic.com/d154966/emoticons/default_smile.png)