Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

Yeah, I was hoping someone would come along and help repair it, but I dont think anyone uses the macromedia versions of flash player anymore, so probably good to remove

 

edit: sorry about those missed entries, got a little sloppy in my excitement for the huge update :)

Share this post


Link to post
Share on other sites

MODIFIED ENTRY

Removed Filekey8 (FileKey8=%AppData%\OpenOffice.org2\user\registry\data\org\openoffice\Office|Common.xcu)

Renamed Filekey8, 9 and replaced '/' with '|'.

 

[OpenOffice.org*]

LangSecRef=3021

Detect1=HKLM\SOFTWARE\OpenOffice.org

Detect2=HKLM\SOFTWARE\Wow6432Node\OpenOffice.org

Default=False

FileKey1=%AppData%\OpenOffice.org\*\user\config\imagecache|*.*

FileKey2=%AppData%\OpenOffice.org\*\user\registry\cache|*.*

FileKey3=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Common.xcu

FileKey4=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Views.xcu

FileKey5=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Writer.xcu

FileKey6=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\ucb|Hierarchy.xcu

FileKey7=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\ucb|Store.xcu

FileKey8=%AppData%\OpenOffice.org\*\user|registrymodifications.xcu

FileKey9=%AppData%\OpenOffice.org\*\user|registration.xml

Share this post


Link to post
Share on other sites

Found a couple older entries that haven't made it into winapp2.ini yet.

 

http://forum.pirifor...ndpost&p=210165

[ThumbCacheToDelete*]
LangSecRef=3025
DetectFile=%LocalAppData%\Microsoft\Windows\Explorer
Default=False
FileKey1=%LocalAppData%\Microsoft\Windows\Explorer\ThumbCacheToDelete|*.*|REMOVESELF

 

&

 

http://forum.piriform.com/index.php?showtopic=32310&view=findpost&p=209480

[NetworkService Temps*]
LangSecRef=3025
DetectFile1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Temp
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Temp|*.txt

Share this post


Link to post
Share on other sites

Included in CCleaner:

 

[Thumbnail Cache]

ID=1029

LangSecRef=3002

LangRef=3131

DetectOS=6.0

Default=true

SpecialKey1=N_EX_THUMBNAIL_CACHE

FileKey1=%LocalAppData%\Microsoft\Windows\Explorer|thumbcache_*.db

FileKey2=%LocalAppData%\Microsoft\Windows\Explorer\ThumbCacheToDelete|thm*.tmp

Share this post


Link to post
Share on other sites

Included in CCleaner:

 

[Thumbnail Cache]

ID=1029

LangSecRef=3002

LangRef=3131

DetectOS=6.0

Default=true

SpecialKey1=N_EX_THUMBNAIL_CACHE

FileKey1=%LocalAppData%\Microsoft\Windows\Explorer|thumbcache_*.db

FileKey2=%LocalAppData%\Microsoft\Windows\Explorer\ThumbCacheToDelete|thm*.tmp

 

Yay! I had searched the built in's too, guess I left in the |*.*| No wonder my search didn't match anything or it hid from me :ph34r:

Share this post


Link to post
Share on other sites

The current winapp2.ini now shows Mozolla/FireFox even though I don't have either installed. I exported the HKCU\Software\Mozolla key and here it is.

 

REGEDIT4

[HKEY_CURRENT_USER\Software\Mozilla]

[HKEY_CURRENT_USER\Software\Mozilla\Firefox]

[HKEY_CURRENT_USER\Software\Mozilla\Firefox\Extensions]

"smartwebprinting@hp.com"="C:\\Program Files\\HP\\Digital Imaging\\Smart Web Printing\\MozillaAddOn3"

 

Not sure how else CCleaner is identifing Mozilla/Firefox but willing to help track this down...

Share this post


Link to post
Share on other sites

Not for inclusion to The File but for CSGalloway's above post (I use this, see warning)

[Firefox/Mozilla leftovers*]
LangSecRef=3026
Default=False
Warning=Only use if you use Portable Firefox and it improperly closed, This will remove ALL Mozilla Registry entries
Detect=HKCU\Software\Mozilla\
DetectFile1=%AppData%\Mozilla\
DetectFile2=%LocalAppData%\Mozilla\
FileKey1=%AppData%\Mozilla|*.*|REMOVESELF
FileKey2=%LocalAppData%\Mozilla|*.*|REMOVESELF
RegKey1=HKCU\Software\Mozilla\

Share this post


Link to post
Share on other sites

Thanks Nergal. Wondered if there is another regkey that could be used to detect Firefox? As the one I have is used by HP printing online.... which I would like to lkeave aloine

Share this post


Link to post
Share on other sites

Have we tried using

SpecialDetect=DET_MOZILLA

in winapp2?

Though this may still not fix your issue as that key could indeed be included in the Special Detect

Share this post


Link to post
Share on other sites

wow, actually I have not. It never occured to me. o.0

 

my testing shows that this works. It would probably work for other SpecialDetects too. goody!

Share this post


Link to post
Share on other sites

These entries were suggested: some of them are okay, i wonder about some others

 

[spybot S&D History**]
LangSecRef=3024
DetectFile=%ProgramFiles%\Spybot – Search & Destroy
Default=False
FileKey1=%CommonAppData%\Spybot – Search & Destroy\Backups\|*.*|RECURSE
FileKey2=%CommonAppData%\Spybot – Search & Destroy\Recovery\|*.*|RECURSE
FileKey3=%CommonAppData%\Spybot – Search & Destroy\Snapshots\|*.*|RECURSE
FileKey4=%CommonAppData%\Spybot – Search & Destroy\Snapshots2\|*.*|RECURSE
[Office Recent**]
LangSecRef=3021
DetectFile=%ProgramFiles%\Microsoft Office
Default=False
FileKey1=%AppData%\Microsoft\Office\Niedawny\|*.lnk
[MKS_Vir Skaner Online**]
LangSecRef=3024
DetectFile=%ProgramFiles%\SkanerOnline
Default=False
FileKey1=%ProgramFiles%\SkanerOnline\Raporty\|*.*
FileKey2=%ProgramFiles%\SkanerOnline\tmp\|*.*
FileKey3=%SystemDrive%\|*.cpp.log
[Windows XP dllcache**]
LangSecRef=3025
DetectFile=%WinDir%\system32\dllcache
Default=False
FileKey1=%WinDir%\system32\dllcache|*.*|RECURSE
[Windows MSI $PatchCache$**]
LangSecRef=3025
DetectFile=%WinDir%\Installer\$PatchCache$
Default=False
FileKey1=%WinDir%\Installer\$PatchCache$|*.*|REMOVESELF
[Win XP updates old folders**]
LangSecRef=3025
DetectFile=%WinDir%\SoftwareDistribution
Default=False
FileKey1=%WinDir%\$hf_mig$|*.*|REMOVESELF
FileKey2=%WinDir%\$NtServicePackUninstall$|*.*|REMOVESELF
FileKey3=%WinDir%\ServicePackFiles|*.*|REMOVESELF
FileKey4=%WinDir%\ie8|*.*|REMOVESELF
FileKey5=%WinDir%\ie8updates|*.*|REMOVESELF
[Office MSOCache folder**]
LangSecRef=3021
DetectFile=%ProgramFiles%\Microsoft Office
Default=False
FileKey1=%SystemDrive%\MSOCache|*.*|REMOVESELF

Share this post


Link to post
Share on other sites

I do not recommend adding [Office MSOCache folder**]. Removing this folder causes the user to have to insert the MS Office DVD each time a MS hotfix for Office is issued/installed via Windows Update. The other option would be to insert a warning message telling the user of the consequences of removing this folder.

 

In [Win XP updates old folders**], removing the $hf_mig$ is not recommended by Microsoft. This folder contains hotfix info and should not be removed.

http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/how-to-delete-unused-files-under-cwindows/8ddd45a9-b748-4a5f-8475-ce00214be510

 

I do not recommend adding [Windows XP dllcache*]

http://www.pcreview.co.uk/forums/can-delete-system32-dllcache-folder-content-t3887555.html

http://support.microsoft.com/kb/222193

Share this post


Link to post
Share on other sites
[Kingsoft Office*]
LangSecRef=3021
Detect=HKCU\SOFTWARE\Kingsoft
Default=False
FileKey1=%AppData%\Kingsoft\office6\backup|*.*
FileKey2=%AppData%\Kingsoft\office6\update\log|*.log
FileKey3=%AppData%\Kingsoft\office6|*.bak
FileKey4=%LocalAppData%\Kingsoft\et\cache\http|*
FileKey5=%LocalAppData%\Kingsoft\et\cache\https|*
FileKey6=%LocalAppData%\Kingsoft\wps\cache\http|*
FileKey7=%LocalAppData%\Kingsoft\wps\cache\https|*
FileKey8=%Programfiles%\Kingsoft\Kingsoft Office\office6|update.log
FileKey9=%Programfiles%\Kingsoft\Kingsoft Office\office6|Readme.txt
FileKey10=%Programfiles%\Kingsoft\Kingsoft Office\office6|License.txt

Share this post


Link to post
Share on other sites

These entries were suggested: some of them are okay, i wonder about some others

 

These are not safe!!!:

[Windows XP dllcache**]
LangSecRef=3025
DetectFile=%WinDir%\system32\dllcache
Default=False
FileKey1=%WinDir%\system32\dllcache|*.*|RECURSE

[Win XP updates old folders**]
LangSecRef=3025
DetectFile=%WinDir%\SoftwareDistribution
Default=False
FileKey1=%WinDir%\$hf_mig$|*.*|REMOVESELF
FileKey2=%WinDir%\$NtServicePackUninstall$|*.*|REMOVESELF
FileKey3=%WinDir%\ServicePackFiles|*.*|REMOVESELF
FileKey4=%WinDir%\ie8|*.*|REMOVESELF
FileKey5=%WinDir%\ie8updates|*.*|REMOVESELF

 

To remove MSOCache all one has to do is open Disk Cleanup which is built right into Windows and it will properly remove it from the system so there's no registry data pointing to the folder. Doing it this way I wouldn't:

[Office MSOCache folder**]
LangSecRef=3021
DetectFile=%ProgramFiles%\Microsoft Office
Default=False
FileKey1=%SystemDrive%\MSOCache|*.*|REMOVESELF

 

This is a hidden folder with the attributes hidden and system ("HS") on it, and I don't think it's safe to remove it. It's full of read-only .DLL files, etc., and many of the files with no extensions in that folder are also some sort of program or something:

[Windows MSI $PatchCache$**]
LangSecRef=3025
DetectFile=%WinDir%\Installer\$PatchCache$
Default=False
FileKey1=%WinDir%\Installer\$PatchCache$|*.*|REMOVESELF

 

Hmm, I wonder if whoever submitted them just needs to buy a bigger hard disk! Removing those folders would reclaim an absolutely hellish amount of free hard disk space.

 

_______________________

 

Edit 2:

 

According to Microsoft (http://support.microsoft.com/kb/329260) this is safe to remove, so if someone wants to use it I made a cleaner just for it which will only work on WinXP (OS v5.1) and without all that other unsafe stuff:

 

[XP NtServicePackUninstall*]
LangSecRef=3025
DetectOS=5.1
DetectFile=%windir%\$NtServicePackUninstall$
Default=False
Warning=After removing the $NtServicePackUninstall$ folder you will not be able to uninstall the service pack.
FileKey1=%windir%\$NtServicePackUninstall$|*.*|REMOVESELF

 

I think most of this has been in winapp2.ini before though, and was removed for reasons I suppose!

Edited by Andavari
Updated info

Share this post


Link to post
Share on other sites

It would be very nice if the Mozilla Firefox cleaners could be grouped together in the winapp2.ini file somehow, trying to find them when they're all over the place is difficult.

 

Grouped example with a Starts/Ends indication:

; Mozilla Firefox - Starts
[Adblock Plus Backups*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\adblockplus|patterns-backup*.ini

[bookmark Backups*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\bookmarkbackups|*.json
; Mozilla Firefox - Ends

 

-------------------------------------------

 

Many updates for the Mozilla Firefox cleaners.

 

After a clean install of Mozilla Firefox 14.0.1 and not seeing winapp2.ini cleaners working for it I found Firefox didn't create the "HKCU\Software\Mozilla\Firefox" registry key which so many of the winapp2.ini cleaners rely upon for detection.

 

So wanting to more thoroughly cleanse Firefox, I've replaced the detections with:

SpecialDetect=DET_MOZILLA

 

The updates:

; Mozilla Firefox - Starts
[Adblock Plus Backups*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\adblockplus|patterns-backup*.ini

[bookmark Backups*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\bookmarkbackups|*.json

[Corrupt SQLites*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles|*.corrupt|RECURSE

[Crash Reports*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Crash Reports|*.*|RECURSE

[Downloads*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%Documents%\Downloads|*.*|RECURSE

[extensions.log*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*|extensions.log

[Lock Files*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*|*.lock

[Maintenance Service Logs*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%CommonAppData%\Mozilla\logs|*.*

[Recovered File Fragments*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%ProgramFiles%\Mozilla|*.chk|RECURSE

[Thumbnails*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*\thumbnails|*.*|RECURSE

[updates*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%LocalAppData%\Mozilla\Firefox\Mozilla Firefox\updates|*.*|RECURSE

[webappsstore.sqlite*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
Default=False
FileKey1=%AppData%\Mozilla\Firefox\Profiles\*|webappsstore.sqlite
; Mozilla Firefox - Ends

Share this post


Link to post
Share on other sites

Have we tried using

SpecialDetect=DET_MOZILLA

in winapp2?

Though this may still not fix your issue as that key could indeed be included in the Special Detect

 

So to use this would I remove the Detect and Detectfile lines for the Mozolla/Firefox sections?

 

?What other SpecialDetect lines are available?

Share this post


Link to post
Share on other sites

So to use this would I remove the Detect and Detectfile lines for the Mozolla/Firefox sections?

 

?What other SpecialDetect lines are available?

If you look at those Firefox cleaners in my post just above yours all I have is the SpecialDetect listed, it's what CCleaner does by default with its embedded INI files.

Share this post


Link to post
Share on other sites
[Office Recent**]
LangSecRef=3021
DetectFile=%ProgramFiles%\Microsoft Office
Default=False
FileKey1=%AppData%\Microsoft\Office\Niedawny\|*.lnk

I don't think this is valid as I believe "Niedawny" is a person's name (also I don't have any think like that in that folder what version of office is it supposed to be for?)

Share this post


Link to post
Share on other sites

I know

FileKey3=%WinDir%\ServicePackFiles|*.*|REMOVESELF

is cleaned by the cleanmgr function in windows.

 

As for ;firefox entries, the file is sorted alphabetically by Alan's script

Share this post


Link to post
Share on other sites

I don't think this is valid as I believe "Niedawny" is a person's name (also I don't have any think like that in that folder what version of office is it supposed to be for?)

 

Probably not valid because just like you I don't have that folder with Office 2003 (v11.0).

Share this post


Link to post
Share on other sites

I know

FileKey3=%WinDir%\ServicePackFiles|*.*|REMOVESELF

is cleaned by the cleanmgr function in windows.

 

That's the safe way of properly removing it! Manually deleting it or using CCleaner delete it may cause issues, because on Microsoft's website they state do not delete it or move it.

Share this post


Link to post
Share on other sites

Wonder when the new winapp2.ini will be released? So many false detections for Mozolla / Firefox it would be nice to have the fix in the orginal...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...