Issue with Winapp2 entires with Commonappdata

Forums: 

I assume this issue is on BleachBit's side. I had a discussion over at Winapp2 about a few entries that have FileKeys pointing at Commonappdata. The Commonappdata is the same as C:\Users\All Users folder, but I notice the entries are not being cleaned. Here are a few entries on my side that have commonappdata and are not being cleaned out:

[Battle.Net Client Cache*]
Section=Games
Detect=HKCU\Software\Blizzard Entertainment\Battle.net
FileKey1=%LocalAppData%\Battle.net\BrowserCache|*.*|RECURSE
FileKey2=%LocalAppData%\Battle.net\Cache|*.*|RECURSE
FileKey3=%CommonAppData%\BlizzardEntertainment\Battle.net\Cache|*.*|RECURSE
FileKey4=%LocalAppData%\VirtualStore\ProgramData\BlizzardEntertainment\Battle.net\Cache|*.*|RECURSE

FileKey 3.

[Mozilla Maintenance Service Logs*]
LangSecRef=3026
SpecialDetect=DET_MOZILLA
FileKey1=%CommonAppData%\Mozilla*\logs|*.*
FileKey2=%LocalAppData%\VirtualStore\ProgramData\Mozilla*\logs|*.*

FileKey 1.

When I have asked about this issue over at Winapp2, they responded and told me commonappdata is the same as All users, so I assume this is an issue on BleachBit's side. There are a lot of entries that point at commonappdata, so I think this issue is on BleachBit's side.

bsodx2's picture

Good catch, I didn't notice anything being missed. I have the same results with %CommonAppData% not being cleaned.

ROCKNROLLKID's picture

Sometimes it is hard to determine if the issue is on Winapp2's side or BleachBit, such as this issue. I think the reason is because of the changes in Winapp2 over time and the long period of no support for Winapp2 on BleachBit's side. If you see any issues with BleachBit and Winapp2, please report them on the forums so Andrew can fix them as soon as possible.

bsodx2, may I ask what your username is on Winapp2 forums/piriform forums?

____________________
Also known as Alex.

Moderator for BleachBit and a maintainer for Winapp2.

Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity

Windows 10 x64 (switching to ReactOS in the future).

bsodx2's picture

It's coffee4joe there. Think I have the name over here too (forgot the password for it).

as to the winapp2 issue. I see this in launchpad https://bugs.launchpad.net/bleachbit/+bug/1352683

Thank you for the link. I increased the priority and retargeted it to the next stable release (1.8).

---
Andrew, lead developer

ROCKNROLLKID's picture

Thank you bsodx2. I should have checked there first, but atleast Andrew now considers that a priority. Do you use just BleachBit or both CCleaner and BleachBit? I ask because I see you post a lot over at Winapp2, as well.

@Andrew: Some of those variables in that list are also not being cleaned, not just commonappdata. I am unable to reproduce which ones, at this point in time, but I think you should go over all of them and make sure BleachBit is cleaning them all.

____________________
Also known as Alex.

Moderator for BleachBit and a maintainer for Winapp2.

Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity

Windows 10 x64 (switching to ReactOS in the future).

Bleachbit 1.6 supports ProgramFiles and CommonProgramFiles plus everything Windows defines (TMP, TEMP, and others), so yes, there are more to add

---
Andrew, lead developer

Bug 1352683 (support more %environment variables% in winapp2.ini) should be fixed in BleachBit 1.7.5. Please test.

(SpecialDetect is not supported in BleachBit 1.7.5)

---
Andrew, lead developer

ROCKNROLLKID's picture

In 1.7.5, I am getting these results:

Delete 0 C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\ff\0b
Delete 0 C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\ff\1c
Delete 0 C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\ff\2c
Delete 0 C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\ff\30
Delete 0 C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\ff\39

The list goes on because it has a large cache folder, but the thing is, they are not deleting. There are actual files in those directories, but BleachBit doesn't seem to delete them.

EDIT: However, these are entries in the same directory path that are being cleaned:

Mark for deletion 3.3kB C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\f8\65\f865ed03f172c63b8222079fb005ccb76c21d0a3b5f337ab1de92151bff02375.s2ml
Mark for deletion 758B C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\f8\73\f873fb7002cbcde1badbaf2f6fe5452bbc98789d13721eadd8d4ff1dac10c231.s2ml
Mark for deletion 3.9kB C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\f8\8c\f88c9aeb079263bd9b9cdfb1e206c49e467314eac0c582a950b23948b7624806.s2ml

____________________
Also known as Alex.

Moderator for BleachBit and a maintainer for Winapp2.

Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity

Windows 10 x64 (switching to ReactOS in the future).

ROCKNROLLKID,

"Mark for deletion" happens means the file is locked by another process and will be deleted when rebooting Windows, so make sure Battle.net and all the related games are completely closed. (The Windows Task Manager is a good place to check for running processes.)

If any file (such as those s2ml files) exists, the parent folder cannot be deleted.

Let me know if

  1. cleaning Battle.net Cache seems different between BleachBit 1.6 and BleachBit 1.7.5
  2. the s2ml files are not deleted after rebooting and before restarting Battle.net
  3. "Mark for deletion" still happens when the Battle.net process is completely closed

---
Andrew, lead developer

ROCKNROLLKID's picture

Actually, I have not ran any battle.net programs on my system for 3 months now. Using Process Hacker shows no signs of Battle.net, Blizzard, or Starcraft 2 programs running on my system when I ran this. After I restarted, the entries were still there. I notice this issue was also in 1.6 and previous versions, too. I thought this was an issue with insufficient variable support for Winapp2, but now I think it's a different issue. Would you like me to open up a new topic with a more detailed report of this issue?

____________________
Also known as Alex.

Moderator for BleachBit and a maintainer for Winapp2.

Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity

Windows 10 x64 (switching to ReactOS in the future).

Yes. Preferably open a bug report on Launchpad, or if you do not want to do that, let's start a new topic.

(Process Hacker looks like a nice utility.)

My next question is whether you can manually delete the s2ml file using Windows Explorer?

BleachBit on Windows marks files for deletion only when getting either error 32 (The process cannot access the file because it is being used by another process) or error 5 (access denied).

On Windows 7 I installed Battle.net and created some cache files (maybe not the same files) but did not re-create this problem.

---
Andrew, lead developer