Jump to content
CCleaner Community Forums


Experienced Members
  • Content Count

  • Joined

  • Last visited

Posts posted by APMichael

  1. On 22/05/2020 at 16:17, CSGalloway said:

    ... and I wanted the entry to be padded out to the length of the wais_entries ...


    Sorry, but this is just a "cosmetic thing". Whether there is a 0 more or less shouldn't bother you. I just took 5 digits now, because that should be enough "forever". An adjustment to the actual number of entries would only work with more lines of code, but I don't have time for that at the moment.


    On 22/05/2020 at 16:17, CSGalloway said:

    ... I would just like to output the line number from the INI file before the wais_line.  Something like:

    ECHO nLine | !wais_line! >>"%wais_folder%\preamble.txt"

    where nLine is the line numbere from the INI file being read.


    Ok, I understand, but as already written, the batch script unfortunately skips blank lines and therefore the line numbers do not match those of the INI and are therefore actually useless. In addition, I still don't understand what the indication of the line numbers is supposed to help. (I can find an entry also by its name in the INI, the line numbers are not needed for this).

    Maybe you can find someone who can rewrite the batch script according to your wishes or better rewrite it in another programming language.

    (By the way, since this is rather off-topic, we should discuss possible further things via PM.)

  2. @Nergal CSGalloway's question was not directly related to Winapp2.ini, but to a batch script on GitHub.

    19 hours ago, CSGalloway said:

    i'd like some assistance in, for instance if the INI file has 1035 entries, have the first one be numbered 0001 and not 1, and so on and so on......

    Also how can I output the line number that the current line from the INI file is going to preface and not the new split INI file? ...


    Unfortunately, I have very little time for other things at the moment, but with a little trick I was able to insert the leading zeros quickly. You can download the updated batch script on GitHub.

    Excuse me, but I don't quite understand the line number question. Which line number should be output where exactly? And what use is the information about the line number then? Since the batch script skips all blank lines, the line numbers would not match those in Winapp2.ini anyway.

    Please keep in mind that this is only a simple batch script. Compared to a "real" programming language it has very limited functionality and performance.

  3. I am not an employee of Piriform, so this is just my humble opinion:

    Unfortunately, I have not been able to reproduce the problem on any system, neither with Office 2016 nor 2019. I also tried to reproduce the problem in a virtual machine for several days, but this was not successful either. As far as I know Piriform cannot reproduce the problem either. So how do you want to fix a bug that cannot be reproduced on your system?

    At least someone who always has this problem could help by finding out which cleaning rule is responsible for it. To find the cleaning rule, one could proceed as follows:

    - Go to "Custom Clean", right-click on the name of the first section "Microsoft Edge" and select "Clean Microsoft Edge".
    - Run Office to check if it is broken.
    - If not, repeat with the next section ("Edge Chromium", "Internet Explorer", ...) until you find the responsible section.
    - Repair the Office installation.
    - Now right-click on the first cleaning rule of the responsible section and select "Clean <rule name>".
    - Run Office to check if it is broken.
    - If not, repeat with the next cleaning rule until you find the responsible cleaning rule.

    This would not only help Piriform, but also all other affected users.

  4. 13 hours ago, erincc said:

    ... I found the reg dir, but not sure which folder(s) to delete. ...
    btw in this entry "C:\Users\<your user name>\AppData\Local\Microsoft\Edge". should I delete this folder, there's a ton of stuff in there ...



    If still of interest:

    The highlighted registry key "Edge" on your screenshot is the correct one. Click on "Edge" and delete it. You can also delete the key "EdgeUpdate".

    Yes, you can delete the entire folder "Edge" under "C:\Users\<your user name>\AppData\Local\Microsoft\". This folder only contains the Edge Chromium user profile ("User Data"), which you no longer need.

    The old Edge has its own keys and folders.

  5. Check if the following folders or registry keys still exist:

    C:\Program Files (x86)\Microsoft\Edge
    C:\Users\<your user name>\AppData\Local\Microsoft\Edge

    After deleting them, Edge Chromium should hopefully no longer be detected by CCleaner.

  6. I had a little more time to check the bug and have to correct parts of my previous post. (I use Windows 10 for my following examples.)

    The following DetectOS strings no longer work:

    DetectOS=|10.0 (= for Windows 10 and older)
    DetectOS=10.0|10.0 (= only for Windows 10)

    The problem seems to be that the version number after the pipe symbol now also needs the build number, because the following strings work:


    Please make sure that CCleaner, if no build number is included in the string, behaves like the previous versions and accepts a simple "|10.0" again. Thanks!

    @hazelnut: Thanks for the flagging.

  7. There is a bug in the current CCleaner version:

    A DetectOS according to the scheme "DetectOS=from|to" (e.g. "DetectOS=6.2|6.3") does not work anymore and CCleaner therefore sorts out the entry.

    The other combinations with a pipe symbol still seem to work (e.g. "DetectOS=|10.0" or "DetectOS=10.0|").

    The bug was found by @dvdbane and reported here:

  8. 2 hours ago, ricktendo64 said:

    MS Antivirus did flag the latest version

    Question: What happened to the Default entries and how how do I add them back using winapp2ool?


    The VirusTotal summary is still clean:
    Did you possibly mean blocking by SmartScreen?

    About your question:
    You could use the previous version 1.02 for this. Select "WinappDebug" (1) and enable "Toggle Autocorrect" (3). When you execute "Run" (1) the lines will be inserted automatically again.

  9. On 24/04/2020 at 03:25, don_dolarson said:

    The previously proposed application Caprine left over some files in C:\Users\%USERPROFILE%\AppData\Roaming\Caprine after it's uninstallation, and disappeared from CCleaner. About 70MB of data.


    We can change the detection, but CCleaner will still only delete the folders and files defined in Winapp2.ini after uninstalling the application. A complete removal of all leftovers after an uninstall will always require manual work or a special uninstaller tool.


    On 24/04/2020 at 07:20, siliconman01 said:

    ... [NetworkList *] ...

    Testing this entry, on reboot of the system, it causes an alert message to appear in the Notification tray asking if the user wants to make the network discoverable.  The default value is Yes.  This could be a bit discerning for users to who are running multiple computers on a network.  


    Right! This entry deletes the data and few but important settings of all networks ever connected. This may not be a big problem on a stationary PC with only one network connection, but on a Notebook with many changing network connections (different private, business and public networks) this must be set again for each network as desired.

    Windows saves the network/firewall category (Public, Private, Domain) there, hence the request after a reboot. Also, some people change the name of a LAN there (under Windows 7 this was even possible via the Control Panel).

  10. 3 hours ago, ricktendo64 said:

    Sorry if this has been asked before, but can winapp2ool change all Default=False entries to True? ...


    No, this function does not exist. But as @Andavari has already written, "=False" can be simply replaced by "=True" with Notepad.

    (By the way, you can also right-click on a section name in CCleaner and select "Check all". But this does not directly change the Winapp2.ini.)

  11. 1 hour ago, Willy2 said:

    ... [OE Classic *] ...

    1) Does it matter that "ExcludeKey1=" comes after "FileKey=" ?? Would it matter if I would reverse the sequence and put "ExcludeKey=" before "FileKey=" ??

    2) Was this already included in a previous "Winapp2.ini" ?? I got these entries through the program CCEnhancer (not supported by the folks of CCleaner and use it therefore at your own risk).


    1) No, the order does not matter. For a fast and automated error checking, however, an order had to be determined. And since only very few entries have ExcludeKeys, they were placed at the end of an entry.

    2) Yes, the corrected entry is already included since last December. The tool you mentioned does not use its own Winapp2.ini file, but downloads ours from GitHub. Therefore, it's also better to report problems with entries directly here or on GitHub, rather than in the tool's forum.

  • Create New...