Jump to content
Piriform Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

34 minutes ago, APMichael said:

Would "DetectFile=%CommonAppData%\CanonBJ\IJPrinter\CNMWindows" possibly work or does this path/folder also exist on your system?

The CNMWindows folder exists, yes, so that would not resolve the issue from my viewpoint. 

Canon.png

Edited by siliconman01
included registry pic

Share this post


Link to post
Share on other sites
Quote

Thank you, but is this entry really safe? I guess you're only using the MCT to create an ISO file, right? Because if you read the many articles about these folders, it seems you also need these folders for a Windows rollback if you have used the MCT for a Windows upgrade (or if Windows has upgraded itself). For example: https://www.howtogeek.com/268667/what-is-the-windows.bt-folder-and-can-you-delete-it/. There is also an entry in the Winapp3.ini: [Old Windows Installation *].

Share this post


Link to post
Share on other sites

Didn't know that, I only used it to create a USB Flash Drive installer.

I've deleted my post after reading your link to protect anyone who might blindly use it without knowing.

Share this post


Link to post
Share on other sites

I see an entry for [Auslogics Registry Defrag*] is in the winapp2.ini but not showing up on my system. I am using windows 7 x64. The places where Auslogics is mentioned in my registry are the following:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Auslogics\Registry Defrag\11.x

The reports are stored in "C:\ProgramData\Auslogics\Registry Defrag\11.x\Reports"

 

Share this post


Link to post
Share on other sites
17 hours ago, Andavari said:

Didn't know that, I only used it to create a USB Flash Drive installer...

Thanks for your reply.

 

12 hours ago, CSGalloway said:

I see an entry for [Auslogics Registry Defrag*] is in the winapp2.ini but not showing up on my system. I am using windows 7 x64...

This should work (Detect does not require "Wow6432Node"):

[Auslogics Registry Defrag *]
LangSecRef=3024
Detect1=HKCU\Software\Auslogics\Registry Defrag
Detect2=HKLM\Software\Auslogics\Registry Defrag
Default=False
FileKey1=%AppData%\Auslogics\Registry Defrag\Logs|*.*
FileKey2=%AppData%\Auslogics\Registry Defrag\Reports|*.*
FileKey3=%CommonAppData%\Auslogics\Registry Defrag\*.x\Reports|*.*

Share this post


Link to post
Share on other sites

Modified entry: [Xbox/ Xbox Game Overlay/Xbox Identity Provider *]

Changed name from [Xbox *] to [Xbox/ Xbox Game Overlay/Xbox Identity Provider *] because this code covers three Xbox Apps

Added Detect2=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\Microsoft.XboxIdentityProvider_8wekyb3d8bbwe

Added FileKey23=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Nvidia Corporation\NV_Cache|*.*

[Xbox/Xbox Game Overlay/Xbox Identity Provider *]
DetectOS=10.0|
LangSecRef=3031
Detect1=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\Microsoft.XboxApp_8wekyb3d8bbwe
Detect2=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
Default=False
FileKey1=%LocalAppData%\Packages\Microsoft.XboxApp_*\AC\INet*|*.*|RECURSE
FileKey2=%LocalAppData%\Packages\Microsoft.XboxApp_*\AC\Microsoft\CryptnetUrlCache\*|*.*|RECURSE
FileKey3=%LocalAppData%\Packages\Microsoft.XboxApp_*\AC\Temp|*.*|RECURSE
FileKey4=%LocalAppData%\Packages\Microsoft.XboxApp_*\AC\TokenBroker\Cache|*.*|RECURSE
FileKey5=%LocalAppData%\Packages\Microsoft.XboxApp_*\LocalCache|*.*|RECURSE
FileKey6=%LocalAppData%\Packages\Microsoft.XboxApp_*\LocalState|*.log*|RECURSE
FileKey7=%LocalAppData%\Packages\Microsoft.XboxApp_*\LocalState\*Cache|*.*|RECURSE
FileKey8=%LocalAppData%\Packages\Microsoft.XboxApp_*\LocalState\DiagOutputDir|*.txt
FileKey9=%LocalAppData%\Packages\Microsoft.XboxApp_*\LocalState\SmartGlass|*.log
FileKey10=%LocalAppData%\Packages\Microsoft.XboxApp_*\TempState|*.*|RECURSE
FileKey11=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\AC\INet*|*.*|RECURSE
FileKey12=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\AC\Microsoft\CryptnetUrlCache\*|*.*|RECURSE
FileKey13=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\AC\Temp|*.*|RECURSE
FileKey14=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\LocalCache|*.*|RECURSE
FileKey15=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\LocalState\Cache|*.*|RECURSE
FileKey16=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\LocalState\DiagOutputDir|*.txt
FileKey17=%LocalAppData%\Packages\Microsoft.XboxGameOverlay_*\TempState|*.*|RECURSE
FileKey18=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\INet*|*.*|RECURSE
FileKey19=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Microsoft\CLR_v4.0*|*.log
FileKey20=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Microsoft\CLR_v4.0*\NativeImages\Temp|*.*|RECURSE
FileKey21=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Microsoft\CLR_v4.0*\UsageLogs|*.*|RECURSE
FileKey22=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Microsoft\CryptnetUrlCache\*|*.*|RECURSE
FileKey23=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Nvidia Corporation\NV_Cache|*.*
FileKey24=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\Temp|*.*|RECURSE
FileKey25=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\AC\TokenBroker\Cache|*.*|RECURSE
FileKey26=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\LocalCache|*.*|RECURSE
FileKey27=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\LocalState\Cache|*.*|RECURSE
FileKey28=%LocalAppData%\Packages\Microsoft.XboxIdentityProvider_*\TempState|*.*|RECURSE

 

Share this post


Link to post
Share on other sites
5 hours ago, APMichael said:

Thanks! IMHO we should continue to use [Xbox *], as the other apps are actually only hidden "sub-apps" of the Xbox app. (And if we add more "sub-apps" in the future, the name will be far too long.)

https://forum.piriform.com/topic/32310-winapp2ini-additions/?page=302&tab=comments#comment-302515

Leaving the name as [Xbox *] is fine with me.  

Share this post


Link to post
Share on other sites

Revised Entry

Removing files from the two locations listed below breaking up the Microsoft Apps Live Tile feature. These should be removed.

Removed:
%LocalAppData%\Microsoft\Windows\Notifications|*.db;*.db-shm;*.db-wal;*.tmp
%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\Windows\Notifications|*.db;*.db-shm;*.db-wal;*.tmp

[Push Notifications *]
DetectOS=10.0|
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows
Default=False
FileKey1=%LocalAppData%\Microsoft\Windows\Notifications\wpnidm|*.*|RECURSE
FileKey2=%WinDir%\System32\config\systemprofile\AppData\Local\Microsoft\Windows\Notifications\wpnidm|*.*|RECURSE
RegKey1=HKCU\Software\Microsoft\Windows\CurrentVersion\PushNotifications\wpnidm
RegKey2=HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\PushNotifications\wpnidm

Share this post


Link to post
Share on other sites

I use a Google Chrome Extension called  Translate Selected Text

For example, I visited THIS web-page, selected text, and translated it:

x6kjafty3afz87rtn6bp_s.jpg

When selecting the Winapp2.ini entries: Extensions State* , History*, and Logs*,                                                                                                                                                                    the above Chrome Extension becomes neutralized (i.e. it becomes no longer available via the Right-Click).                     

The same happens when I select to clear the Google Chrome entry Session of CCleaner.

xr9yr3hk6e2k24xf4l4d4_s.jpg

 

 

 

Share this post


Link to post
Share on other sites
2 hours ago, 212eta said:

... When selecting the Winapp2.ini entries: Extensions State*, History*, and Logs*, the above Chrome Extension becomes neutralized (i.e. it becomes no longer available via the Right-Click). ...

Referring to the entry names you are using an old version of Winapp2.ini. Please update to the latest version.

Share this post


Link to post
Share on other sites

I updated to the latest version of winapp2.ini for CCleaner.

Logs*  and Session entries STILL exist

and the respective Chrome Extension becomes neutralized (i.e. it becomes no longer available via the Right-Click).

Share this post


Link to post
Share on other sites
8 hours ago, 212eta said:

I updated to the latest version for CCleaner.

Logs*  and Session entries STILL exist

and the respective Chrome Extension becomes neutralized (i.e. it becomes no longer available via the Right-Click).

No he means the latest version of winapp2 which seems to have edited rules that fix the issue you have (caused by your old winapp2)

Edited by Nergal

Share this post


Link to post
Share on other sites

That's why I have exclusions in CCleaner as it pertains to SRWare Iron's extensions, extension settings, etc., i.e.; can't be broken inadvertently. Chrome/Chromium based browsers extensions easily break if cleaning the wrong thing, hence it's worthwhile having them excluded.

Share this post


Link to post
Share on other sites
10 hours ago, Nergal said:

No he means the latest version of winapp2 which seems to have edited rules that fix the issue you have (caused by your old winapp2)

I corrected my Post, HERE.

The last release of winapp2.ini STILL includes entries Logs*  and Session which BOTH damage the respective Chrome Extension.

Share this post


Link to post
Share on other sites
3 hours ago, 212eta said:

... The last release of winapp2.ini STILL includes entries Logs*  and Session which BOTH damage the respective Chrome Extension.

Thanks for the update. I tested the extension and the Winapp2.ini entries [Logs *] and [Internet History *], formerly [History *], do not damage it. We fixed the entry [Logs *] some time ago and it now only removes usual logfiles.

wa2_ext_tst_1.jpg.91d59d0de0c713400f3477a27d3305be.jpgwa2_ext_tst_2.jpg.727fa7653ec586c50b7dbe3857fa50f3.jpg

 

But I can confirm that the built-in entry of CCleaner [Google Chrome - Session] damages the extension. As a workaround, you can exclude the following folder in the CCleaner options:

C:\Users\<your username>\AppData\Local\Google\Chrome\User Data\Default\Extension State\

Please report this bug under "CCleaner Bug Reporting": https://forum.piriform.com/forum/8-ccleaner-bug-reporting/. Thank you!

Share this post


Link to post
Share on other sites

Or you could switch to "One Click Translate" extension which is not affected by Sessions being cleaned by CCleaner

 

OneClickTranslate 2.png

OneClickTranslate.png

Share this post


Link to post
Share on other sites

Revised Entry

Added:
cookies.sqlite-shm
cookies.sqlite-wal

[Cookies and HSTS Cookies *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
Warning=This will delete all cookies at once. Overrides the option "Cookies to Keep".
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*|cookies.sqlite;cookies.sqlite-shm;cookies.sqlite-wal;SiteSecurityServiceState.txt
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*|cookies.sqlite;cookies.sqlite-shm;cookies.sqlite-wal;SiteSecurityServiceState.txt
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*|cookies.sqlite;cookies.sqlite-shm;cookies.sqlite-wal;SiteSecurityServiceState.txt
FileKey4=%AppData%\Waterfox\Profiles\*|cookies.sqlite;cookies.sqlite-shm;cookies.sqlite-wal;SiteSecurityServiceState.txt

Share this post


Link to post
Share on other sites

New Entries

[Alternate Services *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*|AlternateServices.txt
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*|AlternateServices.txt
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*|AlternateServices.txt
FileKey4=%AppData%\Waterfox\Profiles\*|AlternateServices.txt

[Content Preferences *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*|content-prefs.sqlite
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*|content-prefs.sqlite
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*|content-prefs.sqlite
FileKey4=%AppData%\Waterfox\Profiles\*|content-prefs.sqlite

[Permissions *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*|permissions.sqlite
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*|permissions.sqlite
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*|permissions.sqlite
FileKey4=%AppData%\Waterfox\Profiles\*|permissions.sqlite

[Sessionstore Backups *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*\sessionstore-backups|*.*|RECURSE
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*\sessionstore-backups|*.*|RECURSE
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*\sessionstore-backups|*.*|RECURSE
FileKey4=%AppData%\Waterfox\Profiles\*\sessionstore-backups|*.*|RECURSE

Share this post


Link to post
Share on other sites
13 hours ago, SMalik said:

... [Sessionstore Backups *] ...
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*\sessionstore-backups|*.*|RECURSE ...

Thanks for the entries. In my tests the built-in entry "Firefox - Session" already cleans this folder completely.

cc_ff_session.jpg.7697bd4171e6bf9e6da74aa20d1edc9e.jpg

Share this post


Link to post
Share on other sites

Modified entry:  [CyberLink PowerDVD *]

Added Detect5 & RegKey13/14/15 for newly released Cyberlink PowerDVD 19

[CyberLink PowerDVD *]
LangSecRef=3023
Detect1=HKCU\Software\CyberLink\PowerDVD15
Detect2=HKCU\Software\CyberLink\PowerDVD16
Detect3=HKCU\Software\CyberLink\PowerDVD17
Detect4=HKCU\Software\CyberLink\PowerDVD18
Detect5=HKCU\Software\CyberLink\PowerDVD19
Default=False
FileKey1=%CommonAppData%\Cyberlink\Evoparser|*.xml
FileKey2=%LocalAppData%\Cyberlink\DigitalHome|*.log|RECURSE
FileKey3=%LocalAppData%\Cyberlink\PowerDVD*|*.log|RECURSE
FileKey4=%LocalAppData%\Cyberlink\PowerDVD*\cache*|*.*|RECURSE
FileKey5=%LocalAppData%\Cyberlink\PowerDVD*\CL_DMP_Browser|*.*|RECURSE
RegKey1=HKCU\Software\CyberLink\PowerDVD15\CLMPSvc\MediaObj\MediaCache5\Data5
RegKey2=HKCU\Software\CyberLink\PowerDVD15\CLMPSvc\MediaObj\MediaCache5\ProgramInfo
RegKey3=HKCU\Software\CyberLink\PowerDVD15\CLMPSvc\MediaObj\MediaCache5\Thumbnail5
RegKey4=HKCU\Software\CyberLink\PowerDVD16\CLMPSvc\MediaObj\MediaCache5\Data5
RegKey5=HKCU\Software\CyberLink\PowerDVD16\CLMPSvc\MediaObj\MediaCache5\ProgramInfo
RegKey6=HKCU\Software\CyberLink\PowerDVD16\CLMPSvc\MediaObj\MediaCache5\Thumbnail5
RegKey7=HKCU\Software\CyberLink\PowerDVD17\CLMPSvc\MediaObj\MediaCache5\Data5
RegKey8=HKCU\Software\CyberLink\PowerDVD17\CLMPSvc\MediaObj\MediaCache5\ProgramInfo
RegKey9=HKCU\Software\CyberLink\PowerDVD17\CLMPSvc\MediaObj\MediaCache5\Thumbnail5
RegKey10=HKCU\Software\CyberLink\PowerDVD18\CLMPSvc\MediaObj\MediaCache5\Data5
RegKey11=HKCU\Software\CyberLink\PowerDVD18\CLMPSvc\MediaObj\MediaCache5\ProgramInfo
RegKey12=HKCU\Software\CyberLink\PowerDVD18\CLMPSvc\MediaObj\MediaCache5\Thumbnail5
RegKey13=HKCU\Software\CyberLink\PowerDVD19\CLMPSvc\MediaObj\MediaCache5\Data5
RegKey14=HKCU\Software\CyberLink\PowerDVD19\CLMPSvc\MediaObj\MediaCache5\ProgramInfo
RegKey15=HKCU\Software\CyberLink\PowerDVD19\CLMPSvc\MediaObj\MediaCache5\Thumbnail5

 

Share this post


Link to post
Share on other sites
On 4/13/2019 at 15:36, SMalik said:

[Permissions *]
LangSecRef=3026
Detect1=HKLM\Software\Mozilla\Pale Moon
Detect2=HKLM\Software\Mozilla\SeaMonkey
Detect3=HKLM\Software\Mozilla\Waterfox
DetectFile=%AppData%\Mozilla\Firefox
Default=False
FileKey1=%AppData%\Moonchild Productions\Pale Moon\Profiles\*|permissions.sqlite
FileKey2=%AppData%\Mozilla\Firefox\Profiles\*|permissions.sqlite
FileKey3=%AppData%\Mozilla\SeaMonkey\Profiles\*|permissions.sqlite
FileKey4=%AppData%\Waterfox\Profiles\*|permissions.sqlite

CCleaner's already built-in Site Preferences already cleans that exact file, at least in Firefox ESR Portable v60.6.1esr.

Share this post


Link to post
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

×