Jump to content

Winapp2.ini additions


Winapp2.ini

Recommended Posts

Suggested enhancement to the Trim function of Winapp2ool:

Provide a White List function that tells the Trim to NOT trim "white listed" cleaning functions.  This would overcome the situation where the Detect and/or DetectFile of certain modules disappears during a cleaning but can reappear on a Windows or third party application update.  For example:

1.  A new Winapp2.ini is issued/trimmed and install.  At this point in time, no Dell folder is present at/on C:\.

2.  Then Dell issues a new driver update which is then installed.  This creates a Dell folder on C:\.  This folder and its content is no longer needed after the driver is installed.  However, the cleaning module in Winapp2.ini or a user's Custom.ini  is not present because it was trimmed out in (1) above.  The user must wait for the next Winapp2.ini release/trim for Winapp2.ini to insert that cleaning module to remove the C:\Dell folder.  

There are several modules like this in Winapp2.ini and also in my Custom.ini file where this exists.  A Trim White list would obviate this problem.

JMS 

Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 500 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA RTX 3060 Titan graphics card (Home Built System);  Windows 11x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet and Dell XPS 8940 PC.  ASUS RT-AC88U router, 14 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, MS Edge Chromium, MS Office 2021 (Local), Casper 11, DisplayFusion (3 Flat Panel Displays per system):   Latest Bitdefender Internet Security, Quicken, Weather Watcher Live, ThumbsPlus 10, Sticky Password 8, WD Smartware, CyberLink PowerDVD23, MSI AfterBurner, Rainmeter, 8GadgetPack, and many more.

Link to comment
Share on other sites

  • 2 weeks later...

New Entry

[Dialog Box Traces *]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
RegKey1=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\CIDSizeMRU
RegKey2=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU
RegKey3=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU

Link to comment
Share on other sites

  • Moderators

Updated entry.

Moved:
* FileKey1 is now FileKey3

Added:
* FileKey1 *.log cleaning - delete logs
* FileKey2 *.sqlite cleaning - delete the entire download history (video URL, saved video filename)

[4K Video Downloader *]
LangSecRef=3023
Detect=HKCU\Software\4kdownload.com\4K Video Downloader
Default=False
FileKey1=%LocalAppData%\4kdownload.com\4K Video Downloader\4K Video Downloader|*.log
FileKey2=%LocalAppData%\4kdownload.com\4K Video Downloader\4K Video Downloader|*.sqlite
FileKey3=%LocalAppData%\4kdownload.com\4K Video Downloader\4K Video Downloader|*.xml
RegKey1=HKCU\Software\4kdownload.com\4K Video Downloader\Download|downloadedItems
RegKey2=HKCU\Software\4kdownload.com\4K Video Downloader\Settings|outputPath

Link to comment
Share on other sites

Modified entry:  [Logitech Camera *]

Removed DetectFile

Added Detect

(This is to prevent [Logitech Camera *] from being detected on systems that have Logitech devices installed but do not have a Logitech camera.)

[Logitech Camera *]
LangSecRef=3023
Detect=HKLM\Software\Logitech\QuickCam\Drivers
Default=False
FileKey1=%LocalAppData%\LogiShrd\Vid|*.*|RECURSE

 

Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 500 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA RTX 3060 Titan graphics card (Home Built System);  Windows 11x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet and Dell XPS 8940 PC.  ASUS RT-AC88U router, 14 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, MS Edge Chromium, MS Office 2021 (Local), Casper 11, DisplayFusion (3 Flat Panel Displays per system):   Latest Bitdefender Internet Security, Quicken, Weather Watcher Live, ThumbsPlus 10, Sticky Password 8, WD Smartware, CyberLink PowerDVD23, MSI AfterBurner, Rainmeter, 8GadgetPack, and many more.

Link to comment
Share on other sites

Thanks for the new and modified/updated entries.

Winapp2.ini update:
https://github.com/MoscaDotTo/Winapp2/commit/642cc5e90913dfb9bba20ea45ce5f479edbe8422

Happy New Year!

Winapp2.ini update:
https://github.com/MoscaDotTo/Winapp2/commit/33dafe6e8cd693b34af8f3d870b618bc0bde3d24

Edited by APMichael
Link to comment
Share on other sites

Modified entry:  [Nvidia *]

Added FileKey2

[NVIDIA *]
LangSecRef=3024
Detect=HKLM\Software\NVIDIA Corporation
Default=False
FileKey1=%AppData%\NVIDIA\*Cache|*.*|RECURSE
FileKey2=%CommonAppData%|DisplaySessionContainer*.log;DisplaySessionContainer*.log_backup*;NvcDispCorePlugin.log;NvcDispCorePlugin.log_backup*;NVDisplay.ContainerLocalSystem.log;NVDisplay.ContainerLocalSystem.log_backup*;NVDisplayContainerWatchdog.log;NVDisplayContainerWatchdog.log_backup*
FileKey3=%CommonAppData%\NVIDIA|*.log;*.log_backup1;Resource.old;*.bak|RECURSE
FileKey4=%CommonAppData%\NVIDIA Corporation|*.log;*bak;*log.*;*.old;*.stat|RECURSE
FileKey5=%CommonAppData%\NVIDIA Corporation\Downloader|*.*|RECURSE
FileKey6=%CommonAppData%\NVIDIA Corporation\GeForce Experience\Update|*.*|RECURSE
FileKey7=%CommonAppData%\NVIDIA Corporation\NV_Cache|*.*
FileKey8=%CommonAppData%\NVIDIA Corporation\NvFBCPlugin|log*.txt
FileKey9=%CommonAppData%\NVIDIA\NvBackend\Updatus\DownloadManager|*.*
FileKey10=%CommonAppData%\NVIDIA\Updatus\DownloadManager|*.*
FileKey11=%LocalAppData%\NVIDIA Corporation|*.log;*.bak;*.old|RECURSE
FileKey12=%LocalAppData%\NVIDIA Corporation\*\CefCache|Cookies*;QuotaManager*
FileKey13=%LocalAppData%\NVIDIA Corporation\*\CefCache\*Cache|*.*|RECURSE
FileKey14=%LocalAppData%\NVIDIA Corporation\NV_Cache|*.*
FileKey15=%LocalAppData%\NVIDIA\NvBackend|*.log;*.bak
FileKey16=%LocalAppData%\VirtualStore\ProgramData\NVIDIA Corporation|*.log;*bak;*log.*;*.old;*.stat|RECURSE
FileKey17=%ProgramFiles%\NVIDIA Corporation\NetworkAccessManager\Apache Group\Apache2\logs|*.*
FileKey18=%SystemDrive%\NvidiaLogging\GFExperience|GridClientLog.log*|RECURSE

 

Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 500 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA RTX 3060 Titan graphics card (Home Built System);  Windows 11x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet and Dell XPS 8940 PC.  ASUS RT-AC88U router, 14 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, MS Edge Chromium, MS Office 2021 (Local), Casper 11, DisplayFusion (3 Flat Panel Displays per system):   Latest Bitdefender Internet Security, Quicken, Weather Watcher Live, ThumbsPlus 10, Sticky Password 8, WD Smartware, CyberLink PowerDVD23, MSI AfterBurner, Rainmeter, 8GadgetPack, and many more.

Link to comment
Share on other sites

Revised Entry

Changed the name from [Stored Store Install Information *] to [Store Install Service Cache *]
Added: FileKey1

[Store Install Service Cache *]
DetectOS=10.0|
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\InstallService|*.*|RECURSE
RegKey1=HKLM\Software\Microsoft\Windows\CurrentVersion\InstallService\State\CategoryCache

Link to comment
Share on other sites

Revised Entry

Removed: %UserProfile%\Apple Computer\logs|*.log
I have been watching this for a while and this does not exist.

[iTunes *]
LangSecRef=3023
Detect=HKLM\Software\Apple Computer, Inc.\iTunes
Default=False
FileKey1=%AppData%\Apple Computer\iTunes|*.ipcc;*.ipsw;*.log
FileKey2=%AppData%\Apple Computer\iTunes\Cookies|Cookies.binarycookies
FileKey3=%AppData%\Apple Computer\Logs|*.*|RECURSE
FileKey4=%CommonAppData%\Apple Computer\iTunes\iPhone Temporary Files|*.*|RECURSE
FileKey5=%LocalAppData%\Apple Computer\iTunes|Cache.db
FileKey6=%Music%\iTunes|*.tmp|RECURSE
FileKey7=%Music%\iTunes\Album Artwork\Cache|*.*|RECURSE
FileKey8=%WinDir%\System32\config\systemprofile\AppData\Roaming\Apple Computer\Logs|*.*|RECURSE
FileKey9=%WinDir%\SysWOW64\config\systemprofile\AppData\Roaming\Apple Computer\Logs|*.*|RECURSE

Link to comment
Share on other sites

Could we add Basilisk browser to Winapp2.ini?
https://www.basilisk-browser.org/

It has been out since 2017 and regularly updated.
The Winapp2.ini entries would be the same entries as Pale Moon, but instead of the FileKey paths having \Moonchild Productions\Pale Moon\, they are \Moonchild Productions\Basilisk\

The Detect would be:
Detect1=HKLM\Software\ComodoGroup\IceDragon
Detect2=HKLM\Software\FlashPeak\SlimBrowser
Detect3=HKLM\Software\Mozilla\Basilisk
Detect4=HKLM\Software\Mozilla\Pale Moon
Detect5=HKLM\Software\Mozilla\SeaMonkey
Detect6=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox

Thank you.

Link to comment
Share on other sites

I see that in today's update that the new Chromium based Edge entries are now LangSecRef=3006 which looks good in the list and comes up in the Edge Chromium section.

For consistency, should the following old non-chromium Edge entries be changed to LangSecRef=3005 rather than 3022? They would then go into the Microsoft Edge section that would appear underneath of the Windows section in the list.

[Microsoft Edge *]
[Microsoft Edge Favorites Backup *]
[Microsoft Edge Favorites Icons *]

Link to comment
Share on other sites

  • Moderators
5 hours ago, PICPro said:

They would then go into the Microsoft Edge section that would appear underneath of the Windows section in the list.

 

Unfortunately they won't appear under the original Edge located in the Windows (tab) of CCleaner. They'll still be listed in the Applications (tab) near the bottom under a Microsoft Edge listing.

Link to comment
Share on other sites

  • Moderators
11 hours ago, Andavari said:

 

Unfortunately they won't appear under the original Edge located in the Windows (tab) of CCleaner. They'll still be listed in the Applications (tab) near the bottom under a Microsoft Edge listing.

Very true, to have them appear on the first tab you have to put them in a winsys2.ini

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

  • Moderators

Update: Added RegKey3 and RegKey4

[4K Video Downloader *]
LangSecRef=3023
Detect=HKCU\Software\4kdownload.com\4K Video Downloader
Default=False
FileKey1=%LocalAppData%\4kdownload.com\4K Video Downloader\4K Video Downloader|*.log;*.sqlite;*.xml
RegKey1=HKCU\Software\4kdownload.com\4K Video Downloader\Download|downloadedItems
RegKey2=HKCU\Software\4kdownload.com\4K Video Downloader\Download|downloadedItemsDb
RegKey3=HKCU\Software\4kdownload.com\4K Video Downloader\FileWatcher
RegKey4=HKCU\Software\4kdownload.com\4K Video Downloader\Gamification
RegKey5=HKCU\Software\4kdownload.com\4K Video Downloader\Settings|outputPath

 

Link to comment
Share on other sites

I'd like to suggest an application to winapp2.ini database. The application is called Caprine. It's leaving installation files after updating it.

May you check if I prepared everything correctly for you sir?

[Caprine *]
LangSecRef=3022
DetectFile=%LocalAppData%\Local\Programs\Caprine
Default=False
FileKey1=%LocalAppData%\Local\Caprine-updater|*.*|RECURSE

 

 

Link to comment
Share on other sites

  • Moderators
7 hours ago, don_dolarson said:

I'd like to suggest an application to winapp2.ini database. The application is called Caprine. It's leaving installation files after updating it.

May you check if I prepared everything correctly for you sir?


[Caprine *]
LangSecRef=3022
DetectFile=%LocalAppData%\Local\Programs\Caprine
Default=False
FileKey1=%LocalAppData%\Local\Caprine-updater|*.*|RECURSE

 

 

For what you created here's the correction, you already have LocalAppData listed, so CCleaner already knows to look into the Local folder. You can right-click the entry listed in CCleaner and select Analyze and it will list what's found in the clean window to verify it works - this is of course after you've already used Caprine first to generate the files you want CCleaner to clean.

Since it's obviously an updater folder you can cheat if no update is available and generate your own file in that folder by simply creating a blank .TXT document in the path, and then analyze with CCleaner to insure it finds it, then the entry should work after testing - anyways that's what I do for testing.

[Caprine *]
LangSecRef=3022
DetectFile=%LocalAppData%\Programs\Caprine
Default=False
FileKey1=%LocalAppData%\Caprine-updater|*.*|RECURSE

Link to comment
Share on other sites

Caprine is obviously based on Chromium. Here is an enhanced entry:

[Caprine *]
LangSecRef=3022
DetectFile=%LocalAppData%\Programs\caprine
Default=False
FileKey1=%AppData%\Caprine|*-journal;LOG;LOG.old|RECURSE
FileKey2=%AppData%\Caprine|Network Persistent State
FileKey3=%AppData%\Caprine\*Cache|*.*|RECURSE
FileKey4=%AppData%\Caprine\blob_storage|*.*|RECURSE
FileKey5=%AppData%\Caprine\Caprine\logs|*.*
FileKey6=%AppData%\Caprine\logs|*.*
FileKey7=%AppData%\Caprine\Session Storage|*.*|RECURSE
FileKey8=%LocalAppData%\caprine-updater|*.*|RECURSE

 

Can you please test this for possible side effects? Thank you very much.

Link to comment
Share on other sites

On 24/01/2020 at 00:39, don_dolarson said:

How can I test it? I'm definetly a noob 😂

 

- Run "Notepad" as administrator (via the right-click menu).
- Use "Open" and navigate to the CCleaner installation folder (C:\Program Files\CCleaner).
- Open the file "winapp2.ini".
- Copy the entry [Caprine *].
- Paste it at the end of the file and save it.
- Start CCleaner and the new entry should appear.

Link to comment
Share on other sites

Winapp2ool Suggestion.

The "WinappDebug" component should detect the use of ; in ExcludeKey as an error.

Example: ExcludeKey1=FILE|%ProgramFiles%\Common Files\Tracker Software\Common\Tesseract\|eng.dat;eng.lng  is not valid.

Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 500 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA RTX 3060 Titan graphics card (Home Built System);  Windows 11x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet and Dell XPS 8940 PC.  ASUS RT-AC88U router, 14 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, MS Edge Chromium, MS Office 2021 (Local), Casper 11, DisplayFusion (3 Flat Panel Displays per system):   Latest Bitdefender Internet Security, Quicken, Weather Watcher Live, ThumbsPlus 10, Sticky Password 8, WD Smartware, CyberLink PowerDVD23, MSI AfterBurner, Rainmeter, 8GadgetPack, and many more.

Link to comment
Share on other sites

51 minutes ago, siliconman01 said:

Winapp2ool Suggestion.

The "WinappDebug" component should detect the use of ; in ExcludeKey as an error.

Example: ExcludeKey1=FILE|%ProgramFiles%\Common Files\Tracker Software\Common\Tesseract\|eng.dat;eng.lng  is not valid.

 

The use of the semicolon (;) is not always invalid. If wildcards are also used, it may be used. Please see example 5: https://www.ccleaner.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-exclude-items-from-ccleaners-cleaning.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.