Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

I would suggest a simple batch script that detects the most recent folder and trashes all the other folders.

 

If one of the old folders is accessed by another program, it could cause the script to delete the newer version instead. Obviously, that would have devastating side effects.

 

___

Edit: Whipped this up in 20 minutes after dinner :)

Share this post


Link to post
Share on other sites

Not a problem. Use the /T option. i.e. /T:C not the default /T:W or the always now /T:A

 

Example from my Local Settings :-

 

C:\Documents and Settings\Dad>DIR LOC* /A:D | find "/"
06/01/2011  20:48    <DIR>          Local Settings

C:\Documents and Settings\Dad>DIR LOC* /A:D /T:W | find "/"
06/01/2011  20:48    <DIR>          Local Settings

C:\Documents and Settings\Dad>DIR LOC* /A:D /T:A | find "/"
25/01/2011  20:19    <DIR>          Local Settings

C:\Documents and Settings\Dad>DIR LOC* /A:D /T:C | find "/"
21/10/2006  22:40    <DIR>          Local Settings

C:\Documents and Settings\Dad>

 

That shows a Read Access at 20:19 which is when the Event Log started (i.e. start-up before log on)

It shows something got written in there on 6 Jan 2011.

It shows the folder was created in 2006 and nothing will change that date unless the folder is deleted and then created anew.

 

The date shown by DIR in default mode (no /T option) is NOT affected by Read ACCESS,

but could be affected by a write operation within the folder.

 

So long as the /T:C option is used there can be no problem.

 

To see all the options try "DIR /?"

 

Regards

Alan

Share this post


Link to post
Share on other sites

Drop box link still downloads previous version (v1.0.110115)

Share this post


Link to post
Share on other sites

Winapp2,

 

Are you considering adding some the latest suggested additions....such as the one for LightScribe and the modified PDF_Xchange code? ;)

Share this post


Link to post
Share on other sites

Found one more location for cleaning for Internet Download Accelerator, please add "%AppData%\Internet Download Accelerator\temp\Preview" for cleaning all the files within this folder (do not delete folder with REMOVESELF, if folder is deleted preview stop working until the program is restarted and the dir is recreated) here is the new code with the location added

 

[internet Download Accelerator*]
LangSecRef=3022
Detect=HKCU\Software\2VG\Internet Download Accelerator
Default=True
FileKey1=%AppData%\Internet Download Accelerator|history.xml
FileKey2=%AppData%\Internet Download Accelerator|nodelist.xmlc
FileKey3=%AppData%\Internet Download Accelerator\temp|*.hnt
FileKey4=%AppData%\Internet Download Accelerator\temp|lastnews.*
FileKey5=%AppData%\Internet Download Accelerator\temp|playflv.html
FileKey6=%AppData%\Internet Download Accelerator\temp\Preview|*.*

 

Thank you for maintaining this great file

Share this post


Link to post
Share on other sites

Here is 50 MB of junk.

I found these 2 years ago after running NTREGOPT,

and believe these backups are only needed if the computer fails to boot after compacting the registry.

 

They recently reappeared for some other unknown reason,

possibly when I used regseeker to rebuild my iconcache,

and then had to restore an ERUNT backup to put the desktop shortcuts back where they belong.

 

There may be other reasons why these files are spontaneously created,

in which case detection based on NTREGOPT/ERUNT might be inappropriate.

 

PROCESSING "\Documents and Settings\Dad" 
10/01/2011  21:38         9,490,432 ntuser.bak
10/01/2011  21:38            20,480 ntuser.tmp.LOG
PROCESSING "\Documents and Settings\Dad"\LOCALS~1\APPLIC~1\MICROS~1\Windows 
07/01/2011  12:35           180,224 UsrClass.bak
05/01/2011  21:17                 0 UsrClass.tmp.LOG
PROCESSING \DOCUME~1\LocalService 
10/01/2011  21:38           233,472 NTUSER.bak
10/01/2011  21:38             8,192 NTUSER.tmp.LOG
PROCESSING \DOCUME~1\LOCALS~1\LOCALS~1\APPLIC~1\MICROS~1\Windows 
07/01/2011  12:35             8,192 UsrClass.bak
05/01/2011  21:17                 0 UsrClass.tmp.LOG
PROCESSING \DOCUME~1\NetworkService 
10/01/2011  21:38           237,568 NTUSER.bak
10/01/2011  21:38             8,192 NTUSER.tmp.LOG
PROCESSING \DOCUME~1\NETWOR~1\LOCALS~1\APPLIC~1\MICROS~1\Windows 
07/01/2011  12:35             8,192 UsrClass.bak
05/01/2011  21:17                 0 UsrClass.tmp.LOG
PROCESSING \WINDOWS\system32\config 
10/01/2011  21:38        21,815,296 SOFTWARE.bak
10/01/2011  21:38        18,350,080 SYSTEM.bak
10/01/2011  21:38           303,104 DEFAULT.bak
10/01/2011  21:38            57,344 SECURITY.bak
10/01/2011  21:38            32,768 SOFTWARE.tmp.LOG
10/01/2011  21:38            24,576 SAM.bak
10/01/2011  21:38             8,192 SECURITY.tmp.LOG
10/01/2011  21:38             1,024 SYSTEM.tmp.LOG
05/01/2011  21:17                 0 DEFAULT.tmp.LOG
05/01/2011  21:17                 0 SAM.tmp.LOG

Alan

Share this post


Link to post
Share on other sites

I was manually deleting some files and find about 700Mb(!) of temporary installation files.

 

When updating Apple Software, every installation packet is temporary cached.

These temporary installation packets will remain there undefinedly... and according with Apple's support, they're safe to delete!

 

Sources:

 

http://discussions.apple.com/thread.jspa?threadID=1513820

http://discussions.info.apple.com/message.jspa?messageID=11635634

 

CCleaner .ini suggestion:

 

[Apple Installer Cache]
LangSecRef=3021
DetectFile1=%ProgramData%\Apple\Installer Cache
DetectFile2=%ProgramData%\Apple Computer\Installer Cache
Default=False
FileKey1=%ProgramData%\Apple\Installer Cache|*.*|RECURSE
FileKey2=%ProgramData%\Apple Computer\Installer Cache|*.*|RECURSE

Share this post


Link to post
Share on other sites

Sources:

 

http://discussions.apple.com/thread.jspa?threadID=1513820

http://discussions.info.apple.com/message.jspa?messageID=11635634

 

CCleaner .ini suggestion:

 

[Apple Installer Cache]
LangSecRef=3021
DetectFile1=%ProgramData%\Apple\Installer Cache
DetectFile2=%ProgramData%\Apple Computer\Installer Cache
Default=False
FileKey1=%ProgramData%\Apple\Installer Cache|*.*|RECURSE
FileKey2=%ProgramData%\Apple Computer\Installer Cache|*.*|RECURSE

 

These do NOT work on XP.

I note that both the links refer to queries raised in mid 2008 and only cited XP paths, i.e.

C:\Documents and Settings\All Users\Application Data\ and not

%ProgramData%

 

XP by default does NOT understand %ProgramData%,

neither does it understand %LocalAppdata%

 

Somehow CCleaner under XP DOES understand %LocalAppdata%

but it still does NOT understand %ProgramData%

 

The code suggested failed to work until I launched CCLEANER via a batch file which included the code

SET ProgramData=C:\Documents and Settings\All Users\Application Data\
CCLEANER

NB The BAT script is in the same folder as CCleaner.exe and WinApp2.ini

 

That found and removed 60+ MB of two Apple installers that have been lurking since 2008.

 

Regards

Alan

Share this post


Link to post
Share on other sites

That found and removed 60+ MB of two Apple installers that have been lurking since 2008.

 

CORRECTION - IT ONLY RELOCATED THEM.

 

I found that upon deletion Windows automatically MOVED these *.MSI into the current system Restore Point,

so free space was not improved until I created a new R.P. and cleaned the older R.P.

 

Perhaps an advisory comment would be in order when this is cleaned.

 

N.B. - not sure, but I think perhaps using CCleaner in SAFE mode might avoid this effect,

but probably not advisable when "cleaning to the bone".

 

Regards

Alan

Share this post


Link to post
Share on other sites

These do NOT work on XP.

I note that both the links refer to queries raised in mid 2008 and only cited XP paths, i.e.

C:\Documents and Settings\All Users\Application Data\ and not

%ProgramData%

 

XP by default does NOT understand %ProgramData%,

neither does it understand %LocalAppdata%

 

Somehow CCleaner under XP DOES understand %LocalAppdata%

but it still does NOT understand %ProgramData%

 

The code suggested failed to work until I launched CCLEANER via a batch file which included the code

SET ProgramData=C:\Documents and Settings\All Users\Application Data\
CCLEANER

NB The BAT script is in the same folder as CCleaner.exe and WinApp2.ini

 

That found and removed 60+ MB of two Apple installers that have been lurking since 2008.

 

Regards

Alan

 

You're right!

I forgot to say that tested only in Vista... sorry!

 

For instance, sometimes the Apple Installer will keep files there for ages (in my case, since Safari launched 3.x version)

It can help users freeing some bits, at least once.

 

Thanks for corrections! Is it possible to be added to Winapp2.ini file?

 

Chrs,

 

Dalton

Share this post


Link to post
Share on other sites

New Erase Entries!

 

Windows 7/Vista Files/Folders

 

Wipe all the files and subfolders C:\Users\User\AppData\Local\CrashDumps\

 

Wipe the file C:\Users\User\AppData\Local\GDIPFONTCACHEV1.DAT

 

Wipe the file C:\Users\User\AppData\Local\IconCache.db

 

Wipe all the files and subfolder C:\Users\User\AppData\Local\Microsoft\Feeds Cache\

 

Wipe all the files and subfolder C:\Users\User\AppData\Local\Microsoft\Internet Explorer\DOMStore\

 

Wipe all the files C:\Users\User\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\

 

Wipe all the files C:\Users\User\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\

 

Wipe all the files and subfolder C:\Users\User\AppData\Roaming\Microsoft\Internet Explorer\UserData\

 

 

 

Windows 7/Vista Registry

 

Delete all the subkeys and values

 

[HKEY_CLASSES_ROOT\Local Settings]

[HKEY_CURRENT_USER\Software\Classes\Local Settings]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\DOMStorage]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Low Rights]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Zoom]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Action Center]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32]]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\DragDrop]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\RunDLl32Policy]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RADAR\HeapLeakDetection\DiagnosedApplications]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RADAR\HeapLeakDetection\ReflectionApplications]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache]

Delete the value "AppCompatCache".

Share this post


Link to post
Share on other sites

New Erase Entries!

<SNIP>

Saad2011,

all you provided is a request. This is a place for entries that are correctly made please read http://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-add-your-own-program-for-ccleaner-to-clean and provide enties if you want else open a new topic with a request.

 

Hey winapp2.ini to stave off replies like this one, can you place a warning that says something along the line of only correctly made entries will be considered.

Share this post


Link to post
Share on other sites

Hi everyone

 

How about adding the following entries:

 

[Windows Update Downloads*]
LangSecRef=3025
DetectFile=%WINDIR%\SoftwareDistribution\Download\
Default=False
FileKey1=%WINDIR%\SoftwareDistribution\Download\|*.*
FileKey2=%WINDIR%\SoftwareDistribution\DataStore\|DataStore.edb

[More Windows Logs*]
LangSecRef=3025
DetectFile=%WINDIR%\Logs\
Default=False
FileKey1=%WINDIR%\Logs\|*.*

[Windows Installer Cache*]
LangSecRef=3025
DetectFile=%WINDIR%\Installer\$PatchCache$\
Default=False
FileKey1=%WINDIR%\Installer\$PatchCache$\|*.*

[More Windows Live Mail*]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Windows Live Mail
Default=False
FileKey1=%LOCALAPPDATA%\Microsoft\Windows Live Mail\Backup\|*.*
FileKey2=%LOCALAPPDATA%\Microsoft\Windows Live Mail\|edb0*.log

 

I have those in my include list and never experienced any troubles.

Share this post


Link to post
Share on other sites

Windows Updates downloads is NOT something that should be cleaned outside of the Hotfix removal ccleaner does for Windows XP.

Share this post


Link to post
Share on other sites

Windows Updates downloads is NOT something that should be cleaned outside of the Hotfix removal ccleaner does for Windows XP.

 

Could you please give me more information why this should not be deleted? Thanks

Share this post


Link to post
Share on other sites

Could you please give me more information why this should not be deleted? Thanks

 

I don't know whether other users have experienced the same thing but every time I clean that folder, it seems the Windows autoupdate function kicks in and starts to re-examine my entire system. And as long as that re-examination continues, my system is very slow in its responses.

 

 

However, I maybe confusing SoftwareDistribution folder removal being bad with some other location where windows stores hotfix uninstallers. Microsoft does not want hotfix installers removed in Vista/Windows7 because it uses those unistallers when it does patches later. (thus it was removed from ccleaner for anything newer than XP back in 2008 http://forum.piriform.com/index.php?showtopic=17728&st=0&p=114295&hl=+vista%20+hotfix%20+unistaller&fromsearch=1entry114295)

 

Also Search Hotfix Vista on the Piriform forum and you'll find the history of this issue.

Share this post


Link to post
Share on other sites

I see no problem with

FileKey1=%WINDIR%\SoftwareDistribution\Download\|*.*

 

For several years before I used Winapp2.ini, I have removed this via CCleaner.ini

Include9=PATH|C:\WINDOWS\SoftwareDistribution\Download\|*.*

 

 

The top 3 Google result for "DataStore.edb" show

One person who deleted it and now wanted help to get it back, and

one person who had a 40 MB instance that he deleted, and it was recreated as 33 MB.

Seems to me a bad idea to zap that one.

ALSO CONSIDER;

If the 7 MB that are not recreated stipulate all the updates which cause damage,

and which you have stipulated should not me offered again,

you will get them all over again - just hope you recognise and block the rogues on the next update.

 

Alan

Share this post


Link to post
Share on other sites

Updated

???

Last Update:

January 26'th, 2011

 

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...