Winapp2.ini Posted November 15, 2012 Author Share Posted November 15, 2012 I was just curious if it caused issues. I have many orphaned entries from my testing entries myself winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Alan_B Posted November 15, 2012 Share Posted November 15, 2012 The ccleaner.ini file, as it is now, is just a seqential mess. Changes are seemingly tacked on at the bottom. Or maybe this is a job for Piriform's engineers to do. It is only logical for CCleaner.exe to scan in sequential name order all the registry keys and folders that tell it which applications are installed, and as each DETECT occurs the relevant DELETE(s) are appended to the CCleaner.INI list. Sequential names of DETECTs result in non-sequential names of DELETEs To sort you only need two DOS commands REN CCLEANER.INI CCLEANER.BAK SORT < CCLEANER.BAK > CCLEANER.INI NB I assume CCleaner will be happy to accept a sorted *.INI Link to comment Share on other sites More sharing options...
Moderators Andavari Posted November 15, 2012 Moderators Share Posted November 15, 2012 (edited) To sort you only need two DOS commands REN CCLEANER.INI CCLEANER.BAK SORT < CCLEANER.BAK > CCLEANER.INI NB I assume CCleaner will be happy to accept a sorted *.INI Actually it causes problems because things become unticked ("false") in CCleaner, such as everything under 'Advanced', 'Compact Databases' under Google Chrome, etc., etc., etc! Edited November 15, 2012 by Andavari Link to comment Share on other sites More sharing options...
Moderators Nergal Posted November 15, 2012 Moderators Share Posted November 15, 2012 weird, I have not experienced that Andavari, did you make sure [options] stays on top (Alan that's what your batch needs a command to skip line 1) 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 More sharing options...
Alan_B Posted November 15, 2012 Share Posted November 15, 2012 Ninja'd by Nergal I originally was only atrempting to meet the requirement to sort and just hoped it would meet a perceived need. This script works for me :- @ECHO OFF COPY /Y CCLEANER.INI CCLEANER.BAK ECHO [Options] > CCLEANER.INI SORT < CCLEANER.BAK | FIND /V "[" >> CCLEANER.INI I tested with CC324 and WinApp2.ini v1.0.121112 I launched CC and checked all boxes other than Firefox and Analyzed (but did not Run Cleaner) and exported the results to text :- Log3.txt I closed CCleaner and then ran the above script I launched CC and checked all boxes other than Firefox and Analyzed (but did not Run Cleaner) and exported the results to text :- Log4.txt In each case there was 251 MB to be removed. I used third party utility Wincp3.exe to compare Log3.txt with Log4.txt It found each file was 426 lines in length, and every line was identical apart from the first lines, i.e. ANALYSIS COMPLETE - (4.767 secs) in log3.txt ANALYSIS COMPLETE - (4.749 secs) in log4.txt N.B. The Window_Height/Left/Etc Parameter lines are in a different sequence but the values are not damaged and the Window opens the same. The "Update Key" is dropped from line 2 down to line 137 but I do not think this has any impact on operation. Link to comment Share on other sites More sharing options...
pook1y7985 Posted November 16, 2012 Share Posted November 16, 2012 New Entry This entry removes the backups of old versions from the Join.Me program. I tested this on Windows 7 and it worked just fine. This will remove any old versions. [Join.Me Install Backups*] LangSecRef=3022 Detect=HKCU\Software\join.me Warning="This will remove all old versions of Join.Me that are automatically backed up when new versions are installed" Default=False FileKey1=%LocalAppData%\join.me\join.me.*.*.*.*|*.*|REMOVESELF Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 16, 2012 Author Share Posted November 16, 2012 Thanks! winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Coffee4Joe Posted November 16, 2012 Share Posted November 16, 2012 (edited) With the Internet Explorer More* entry it has a couple FileKeys that clean the CryptnetUrlCache folders One would assume those can also be cleaned for the Apps? I've tested cleaning them for the Mail, Weather, Bing, Sports, News. They all fuction normally after cleaning. [Windows 8 App Cache*] LangSecRef=3021 DetectOS=6.2| Detect=HKLM\SOFTWARE\Microsoft\ Default=False FileKey1=%LocalAppData%\Packages\*.*\AC\Microsoft\CryptnetUrlCache\Content|*.* FileKey2=%LocalAppData%\Packages\*.*\AC\Microsoft\CryptnetUrlCache\MetaData|*.* FileKey3=%LocalAppData%\Packages\*\AC\Microsoft\CryptnetUrlCache\Content|*.* FileKey4=%LocalAppData%\Packages\*\AC\Microsoft\CryptnetUrlCache\MetaData|*.* Edit: Left out these two until I can test them more. FileKey5=%LocalAppData%\Packages\*.*\LocalState\Cache|*.*|RECURSE FileKey6=%LocalAppData%\Packages\*\LocalState\Cache|*.*|RECURSE Edited November 16, 2012 by Coffee4Joe Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 16, 2012 Author Share Posted November 16, 2012 Sounds about right winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Alan_B Posted November 16, 2012 Share Posted November 16, 2012 A new script that I have tested on my normal configuration, with some options checked and others unchecked, and with some includes and some excludes. The only difference I have observed from ANALYZE logs when running with the "normal" CCleaner.INI and the sorted variant is ANALYSIS COMPLETE - (1.420 secs) using "normal" CCleaner.INI ANALYSIS COMPLETE - (1.422 secs) using "sorted" CCleaner.INI The code :- @ECHO OFF COPY /Y CCLEANER.INI CCLEANER.BAK FIND /V "(App)" < CCLEANER.BAK > CCLEANER.INI FIND "(App)" < CCLEANER.BAK | SORT >> CCLEANER.INI The end result is that all the Applications are in sorted order at the end of the CC*.ini file, and everything else appears in unsorted order at the beginning. Link to comment Share on other sites More sharing options...
JDPower Posted November 17, 2012 Share Posted November 17, 2012 A new script that I have tested on my normal configuration, with some options checked and others unchecked, and with some includes and some excludes. The only difference I have observed from ANALYZE logs when running with the "normal" CCleaner.INI and the sorted variant is ANALYSIS COMPLETE - (1.420 secs) using "normal" CCleaner.INI ANALYSIS COMPLETE - (1.422 secs) using "sorted" CCleaner.INI The code :- @ECHO OFF COPY /Y CCLEANER.INI CCLEANER.BAK FIND /V "(App)" < CCLEANER.BAK > CCLEANER.INI FIND "(App)" < CCLEANER.BAK | SORT >> CCLEANER.INI The end result is that all the Applications are in sorted order at the end of the CC*.ini file, and everything else appears in unsorted order at the beginning. Works perfectly here :-) Link to comment Share on other sites More sharing options...
Coffee4Joe Posted November 17, 2012 Share Posted November 17, 2012 Modified Entry Changed from REMOVESELF to RECURSE [.Thumbnails*] LangSecRef=3021 DetectFile=%UserProfile%\.Thumbnails Default=False FileKey1=%UserProfile%\.Thumbnails|*.*|RECURSE Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 17, 2012 Author Share Posted November 17, 2012 Thanks! winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Mancubus Posted November 17, 2012 Share Posted November 17, 2012 Here's my submission for a messenger QIP, very popular in ex-USSR : [QIP 2012 Logs*] LangSecRef=3022 DetectFile=%AppData%\QIP Default=False FileKey1=%AppData%\QIP\Profiles\*\Logs|*.* [QIP 2012 Avatars*] LangSecRef=3022 DetectFile=%AppData%\QIP Default=False FileKey1=%AppData%\QIP\Profiles\*\VkAvatars|*.* FileKey2=%AppData%\QIP\Profiles\*\FacebookAvatars|*.* FileKey3=%AppData%\QIP\Profiles\*\TwitterAvatars|*.* FileKey5=%AppData%\QIP\Profiles\*\Jabber|*.* FileKey4=%AppData%\QIP\Profiles\*\PicHashes|*.* [QIP 2012 Privacy items*] LangSecRef=3022 DetectFile=%AppData%\QIP Default=False Warning=Selecting this will delete any contact list backups, chats history, received files, opened tabs settings and other non-encrypted privacy items. FileKey1=%AppData%\QIP\Profiles\*\BackupCL|*.* FileKey2=%AppData%\QIP\Profiles\*\History|*.*|RECURSE FileKey3=%AppData%\QIP\Profiles\*\RcvdFiles|*.*|RECURSE FileKey4=%AppData%\QIP\Profiles\*\ICQ|*.*|RECURSE FileKey5=%AppData%\QIP\Profiles\*\session.tabs An update. For some reason the QIP entries in the current version of Winapp2.ini contain Detect=HKCU\Software\QIP instead of DetectFile=%AppData%\QIP, and thus is not detected, at least on my machine. I suggest to use DetectFile=%AppData%\QIP. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 17, 2012 Author Share Posted November 17, 2012 Will revert. In other news, I realized I can do something and have made winapp2.ini more than 8Kb smaller winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
JDPower Posted November 17, 2012 Share Posted November 17, 2012 In other news, I realized I can do something and have made winapp2.ini more than 8Kb smaller And you're just gonna tease and not tell us such an exciting discovery? Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 17, 2012 Author Share Posted November 17, 2012 And you're just gonna tease and not tell us such an exciting discovery? Edit: Total up to 12KiB from the current version, it did shave 2.3Kb off of one of the new entries alone though The secret is winapp.ini winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
SMalik Posted November 18, 2012 Share Posted November 18, 2012 Modified Entries Changed DetectOS http://forum.piriform.com/index.php?showtopic=32310&view=findpost&p=224544 [Windows 8 MUICache*] LangSecRef=3025 DetectOS=6.2| Detect=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell Default=False RegKey1=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache [Windows 8 QuickLaunch*] LangSecRef=3025 DetectOS=6.2| Detect=HKCU\Software\Microsoft\Internet Explorer Default=False FileKey1=%AppData%\Microsoft\Internet Explorer\Quick Launch|*.lnk [Windows 8 ShellBags*] LangSecRef=3025 DetectOS=6.2| Detect=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell Warning=This will delete window size, window position and view setting of all folders. Default=False RegKey1=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU RegKey2=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags Link to comment Share on other sites More sharing options...
SMalik Posted November 18, 2012 Share Posted November 18, 2012 MODIFIED ENTRY Replacing [Windows Compatibility Assistant*] with this one: [Windows 7 Compatibility Assistant*] LangSecRef=3025 DetectOS=|6.1| Detect=HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant Default=False RegKey1=HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted NEW ENTRIES [Windows 8 Compatibility Assistant*] LangSecRef=3025 DetectOS=6.2| Detect=HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant Default=False RegKey1=HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store [Windows 8 Start Menu Cache*] LangSecRef=3025 DetectOS=6.2| Detect=HKCU\Software\Microsoft\Windows\CurrentVersion\UFH Default=False RegKey1=HKCU\Software\Microsoft\Windows\CurrentVersion\UFH\SHC Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 18, 2012 Author Share Posted November 18, 2012 I actually learned that using |6.1| shows on pre 6.1 systems, but not post 6.1 systems. Can't figure out a way to limit detection to just one version winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Coffee4Joe Posted November 18, 2012 Share Posted November 18, 2012 Modified Added filekey2 [Windows Sticky Notes Cache*] LangSecRef=3021 Warning=Selecting this will also delete all sticky notes currently in use. DetectFile=%AppData%\Microsoft\Sticky Notes Default=False FileKey1=%AppData%\Microsoft\Sticky Notes|*.snt FileKey2=%UserProfile%\Searches|Sticky Notes (Windows Sticky Notes).searchconnector-ms edit: Thought cleaning FileKey2 would stop EventViewer from reporting a search warning for sticky notes, turns out it's located in: HKEY_CURRENT_USER\Software\Microsoft\Windows Search\ProcessedSearchRoots\0004 But I don't think that key would be the same for everyone Link to comment Share on other sites More sharing options...
SMalik Posted November 20, 2012 Share Posted November 20, 2012 MODIFIED ENTRY Added all the Roxio Creator 2012 Pro entries ([Roxio Creator 2012 Pro*], [Roxio Log Files*] and [Roxio Temp Files*]) together and changed the Detect path. [Roxio Creator 2012 Pro*] LangSecRef=3021 Detect=HKCU\Software\Roxio\EMC13 Default=False RegKey1=HKCU\Software\Roxio\EMC13\VideoUI\RecentFiles\Catalogs RegKey2=HKLM\Software\Roxio\EMC13\Common SDK\Users RegKey3=HKLM\Software\Wow6432Node\Roxio\EMC13\Common SDK\Users FileKey1=%LocalAppData%|rx_audio.Cache FileKey2=%LocalAppData%|rx_image32.Cache FileKey3=%AppData%\Roxio\Dragon\3.x\DiscInfoCache|*.tmp FileKey4=%AppData%\Roxio Burn\Temp|*.*|RECURSE FileKey5=%AppData%\Roxio Log Files|*.*|RECURSE FileKey6=%AppData%\Roxio\Dragon\3.x\DeviceDetectionLogs|*.log FileKey7=%AppData%\Roxio\Dragon\3.x\WriteLogs|*.log FileKey8=%WinDir%\System32\config\systemprofile\AppData\Roaming\Roxio Log Files|*.*|RECURSE FileKey9=%WinDir%\SysWOW64\config\systemprofile\AppData\Roaming\Roxio Log Files|*.*|RECURSE I am testing Roxio Creator NXT Pro right now. Everything in one entry. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted November 20, 2012 Author Share Posted November 20, 2012 Somewhat interesting sidenote: What I've done to decrease the file size seems to have increased the speed a tiny bit too. My limited testing showed that recursive cleaning was slightly faster (though I just made 240 empty files of different types and tested with that, the old way was 0.022s and the new was was 0.014 seconds, and I made sure to close ccleaner after the first clean) Probably not significant in the long run, but maybe some of the slower recursive cleaners will speed up a bit now. winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
siliconman01 Posted November 20, 2012 Share Posted November 20, 2012 Looking forward to experiencing your enhancements in the next release. Certainly do appreciate your efforts and continued support of winapp2.ini. It is a significant part of maintaining a top performing system. 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 More sharing options...
FreeRyde Posted November 21, 2012 Share Posted November 21, 2012 Looking forward to experiencing your enhancements in the next release. Certainly do appreciate your efforts and continued support of winapp2.ini. It is a significant part of maintaining a top performing system. Ditto! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now