MoscaDotTo / Winapp2

A database of extended cleaning routines for popular Windows PC based maintenance software.
Creative Commons Attribution Share Alike 4.0 International
783 stars 87 forks source link

Merge pull request#894from MoscaDotTo/master #895

Closed MoscaDotTo closed 1 year ago

MoscaDotTo commented 2 years ago

this update focuses on reducing the winapp2.ini file size somewhat by removing entries for defunct online services and merging related entries together. I didn't do a full audit for every defunct service, just skimmed the file for some that were easily identified. I'm sure there are more. Likewise for entries that could be merged due to being highly related.

MoscaDotTo commented 2 years ago

This work is ongoing but I wanted to open this to comments

APMichael commented 2 years ago

Personally, I like it when the Winapp2.ini is cleaned up accordingly. 👍

(When merging entries, care would currently need to be taken to ensure that this does not lead to potential problems with the open pull request #893.)

MoscaDotTo commented 2 years ago

We can merge that pull request before this one, and any merge conflicts will make themselves known. At a glance, I didn't see any that should overlap.

MoscaDotTo commented 2 years ago

Is there a simple way to determine whether or not Store Apps still exist? For example: Bing Maps? Seems to have been replaced by Bing Places, but I believe is also a system component of some older windows versions? Might be worth investigating the true availability of our supported Store apps

MoscaDotTo commented 2 years ago
[Device Metadata Cache *]
LangSecRef=3025
DetectFile1=%CommonAppData%\Microsoft\Windows\DeviceMetadataCache
DetectFile2=%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\Device Metadata
FileKey1=%CommonAppData%\Microsoft\Windows\DeviceMetadataCache\dmrccache.bak|*.*|REMOVESELF
FileKey2=%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\Device Metadata\dmrccache\downloads|*.tmp

I think this entry could be merged into some other entry, perhaps Windows Subsystems? Moreover, this feature is available on windows 7 and has a different path for that which we should investigate

MoscaDotTo commented 2 years ago
[DirectShow Filter *]
LangSecRef=3025
Detect1=HKCU\Software\Microsoft\MPEG2Demultiplexer
Detect2=HKCU\Software\Microsoft\Multimedia\ActiveMovie
RegKey1=HKCU\Software\Microsoft\MPEG2Demultiplexer|WriteCaptureDir
RegKey2=HKCU\Software\Microsoft\MPEG2Demultiplexer|WriteCapturePath
RegKey3=HKCU\Software\Microsoft\Multimedia\ActiveMovie\Filter Cache
RegKey4=HKCU\Software\Microsoft\Multimedia\ActiveMovie\Filter Cache64

This is another candidate for merging into windows subsystems, or maybe we can create a new entry for windows "desktop technologies?" This is functionally part of win32

MoscaDotTo commented 2 years ago

Several IOBit softwares seem to have been removed from IOBit's webite and general branding and now live on at itopvpn.com, including Game Booster and Screen Recorder. These will probably require replacement entries, I did not download to check. I'm going to archive the entries for software that is no longer available from this vendor under the IOBit name for now

MoscaDotTo commented 2 years ago

The legacy last.fm software is still available, but there seems to be a new one available called last.fm desktop scrobbler which perhaps we should investigate

https://www.last.fm/about/trackmymusic?platform=windows

APMichael commented 2 years ago

I have merged the open pull requests so that the big overhaul can be done with the latest Winapp2.ini version. I hope the conflicts can be easily resolved.

Is there a simple way to determine whether or not Store Apps still exist? ...

A search using the package name might work. Just execute the following link via "Run":

ms-windows-store://pdp/?PFN=<package name> Example: ms-windows-store://pdp/?PFN=Microsoft.People_8wekyb3d8bbwe

Note: Unfortunately, Windows system apps cannot be found with it.

MoscaDotTo commented 2 years ago

conflicts with the most recent update have been resolved

APMichael commented 2 years ago

conflicts with the most recent update have been resolved

Great! During a quick check, I noticed the following:


[Opera Logs *] FileKey1 already covered by [Opera Bookmarks/Preferences Backup *].

Corrected:

[Opera Logs *]
LangSecRef=3027
Detect=HKCU\Software\Opera Software
FileKey1=%AppData%\Opera Software\Opera*|LOG;LOG.old|RECURSE
FileKey2=%LocalAppData%\Programs\Opera*|*.log|REMOVESELF
FileKey3=%ProgramFiles%\Opera*|debug.log
FileKey4=%ProgramFiles%\Opera*\assistant|*.log`

[Ashampoo Snap *] DetectFile1 should be DetectFile.

Corrected:

[Ashampoo Snap *]
LangSecRef=3024
Detect1=HKCU\Software\Ashampoo\Ashampoo Snap 7
Detect2=HKCU\Software\Ashampoo\Ashampoo Snap 8
Detect3=HKCU\Software\Ashampoo\Ashampoo Snap 9
Detect4=HKCU\Software\Ashampoo\Ashampoo Snap 10
Detect5=HKCU\Software\Ashampoo\Ashampoo Snap 11
Detect6=HKCU\Software\Ashampoo\Ashampoo Snap 2017
Detect7=HKCU\Software\Ashampoo\Ashampoo Snap 2018
DetectFile=%ProgramFiles%\Ashampoo Snap*
FileKey1=%AppData%\Ashampoo|*.log;*.txt;*.xml|RECURSE
FileKey2=%LocalAppData%\Ashampoo\BaNT|*.*|RECURSE
FileKey3=%ProgramFiles%\Ashampoo\Ashampoo Snap*|_NLogMsg.txt

[Serious Sam *] FileKey3-5 are duplicates of FileKey6-8.

Corrected:

[Serious Sam *]
Section=Games
Detect1=HKCU\Software\Valve\Steam\Apps\41000
Detect2=HKCU\Software\Valve\Steam\Apps\41010
Detect3=HKCU\Software\Valve\Steam\Apps\41014
Detect4=HKCU\Software\Valve\Steam\Apps\41050
Detect5=HKCU\Software\Valve\Steam\Apps\41060
Detect6=HKCU\Software\Valve\Steam\Apps\41070
Detect7=HKCU\Software\Valve\Steam\Apps\204340
Detect8=HKCU\Software\Valve\Steam\Apps\227780
Detect9=HKCU\Software\Valve\Steam\Apps\564310
DetectFile=%ProgramFiles%\Serious Sam*
FileKey1=%ProgramFiles%\Serious Sam*|*.log
FileKey2=%ProgramFiles%\Serious Sam*\Temp|*.*
FileKey3=%ProgramFiles%\Steam\steamApps\Common\Serious Sam*|*.log
FileKey4=%ProgramFiles%\Steam\steamApps\Common\Serious Sam*\Log|*.*|RECURSE
FileKey5=%ProgramFiles%\Steam\steamApps\Common\Serious Sam*\Temp|*.*

[Zoom *] FileKey3 and 4 are duplicates.

Corrected:

[Zoom *]
LangSecRef=3022
DetectFile=%AppData%\Zoom
FileKey1=%AppData%\Zoom|*.txt
FileKey2=%AppData%\Zoom Plugin\checkforupdate|*.msi
FileKey3=%AppData%\Zoom\data|*.tmp.db;*.tmp.enc.db;*.zmdownload;zmonitorlog.bin
FileKey4=%AppData%\Zoom\data|*-journal;*.db-shm;*.db-wal|RECURSE
FileKey5=%AppData%\Zoom\data\ConfAvatar|*.*
FileKey6=%AppData%\Zoom\data\WebviewCache|*.old;LOG|RECURSE
FileKey7=%AppData%\Zoom\data\WebviewCache\*\ZoomApps\*\CefWebView|Visited Links
FileKey8=%AppData%\Zoom\data\WebviewCache\*\ZoomApps\*\CefWebView\*Cache|*.*|RECURSE
FileKey9=%AppData%\Zoom\data\WebviewCache\*\ZoomApps\*\CefWebView\blob_storage|*.*|RECURSE
FileKey10=%AppData%\Zoom\data\WebviewCache\*\ZoomApps\*\CefWebView\Network|Network Persistent State
FileKey11=%AppData%\Zoom\Logs|*.*|RECURSE
FileKey12=%AppData%\Zoom\Reports|*.*
FileKey13=%AppData%\Zoom\ZoomDownload|*.exe;*.msi

[WinZip ... *] The entries seem to be only partially merged - if merging was intended.

MoscaDotTo commented 2 years ago

I think there was some strangeness with line ending encoding on my end, some keys seem to have gotten broken in the conflict resolution process

MoscaDotTo commented 2 years ago

Perhaps we should consider retiring some of the chrome browser keys. I don't think 7star, ChromePlus/CoolNovo, Coowon, Flock, Rockmelt, Superbird, or Torch are still maintained

APMichael commented 2 years ago

I found one more lost change.

This new FileKey of [RivetNetworks ] should be added `[Intel Logs ]`:

FileKey6=%CommonAppData%\RivetNetworks\ImageCache|*.*

As far as I know, the Chromium-based browser "360 Browser" can also be removed, since it is the old browser discontinued in 2014 and not the newer "360 Secure Browser".

In addition, the Thunderbird-based email client "FossaMail" was also discontinued in 2017.

MoscaDotTo commented 2 years ago

I'm working on some upgrades to winapp2ool to accompany these and some future changes I want to make, namely extending some support towards determining if entries have been renamed or merged into other entries, here's a sample run.

diff.txt

best viewed with a monowidth font

MoscaDotTo commented 2 years ago

It's not perfect, fwiw. there are some changes that are still outside of its scope that im not certain I could meaningfully address, such as when an entry is merged into another in such a way that its keys arent simply placed into that entry but merged into existing keys with wildcards, winapp2ool will still detect the old version of the entry as having been removed rather thann merged. Still, this catches a pretty good chunk of this large changes very accurately and will probably fare better on more simple data sets in the future (ie updates to winapp2.ini that aren't a major refactor)

MoscaDotTo commented 2 years ago
Details ![diff](https://user-images.githubusercontent.com/529203/176776707-ffd56f2f-0ccc-47fa-baee-96fc7d8ff709.png)

diff.txt

Current output from Diff for this set of changes which is probably largely complete in terms of the major work here. I've done my best to make winapp2ool able to make sense of some of the changes but nevertheless some things will slip through the cracks (notably entries who were merged into other keys through use of wildcards instead of directly transplanting keys will register as removed/modified instead of merged/modified)

MoscaDotTo commented 2 years ago

I cannot find any reference to the registry keys referenced in Browser Exit Codes via google, beyond an old chromium bug report that said these keys were being created erroneously, any info on what this registry key is supposed to be?

MoscaDotTo commented 2 years ago

Most places where we use |*.*| (any file name with any extension), we might really mean |*| (any file)

I don't want to unilaterally make any sweeping changes to cleaning rules but we might want to adopt this convention moving forward

APMichael commented 2 years ago

I have never tried it with a single asterisk |*|, but if there is no difference to the previously used variant |*.*|, then there is nothing against using the shortened variant |*| in the future.

MoscaDotTo commented 2 years ago

recent diff: diff.txt

MoscaDotTo commented 1 year ago

im merging this. the work isn't really "done" but I guess it never is and life similarly never gets less busy :) thanks for the patience