Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot clean browser history if another user is running browser #1670

Open
Orava2 opened this issue May 10, 2024 · 3 comments
Open

Cannot clean browser history if another user is running browser #1670

Orava2 opened this issue May 10, 2024 · 3 comments
Labels

Comments

@Orava2
Copy link

Orava2 commented May 10, 2024

Describe the bug
bleachbit_console.exe refuses to clean Edge, Chrome and Firefox if another user is logged in and running those processes even the current user have closed these browsers.

To Reproduce
Steps to reproduce the behavior:

  1. Log in as userA
  2. Open Edge, Chrome or Firefox
  3. Switch to userB, do not log off userA
  4. If open, close browsers.
taskkill /F /IM msedge.exe >nul
taskkill /F /IM firefox.exe >nul
taskkill /F /IM chrome.exe >nul
  1. Run bleachbit_console.exe" --clean google_chrome.* firefox.* microsoft_edge.*

Bleachbit refuses to clean browser histories because userA is running processes msedge.exe, firefox.exe or chrome.exe

Expected behavior
UserA's processes should not prevent clearing browser histories in userB's profile if userB has closed all his running browser processes.

Desktop (please complete the following information):

  • OS: Windows 10, 64 bit, 22H2
  • BleachBit version: 4.6.0
@Orava2 Orava2 added the new label May 10, 2024
@rados
Copy link
Contributor

rados commented May 10, 2024

@Orava2 Thank you for reporting this observation. How does this affect your daily use of Bleachbit?

@Orava2
Copy link
Author

Orava2 commented May 13, 2024

@rados Daily about 2 to 4 different users log on computers by using their own usernames. There's a shared user account without password for guests. This user profile should not be deleted but browser histories need to cleared. Bleachbit is run as a logoff script for this specific user account. The script will close browsers and then run Bleachbit. There's a high chance that another user is still logged on and running a browser and Bleachbit won't clean the browser history even the current user has closed all browsers.

Microsoft has added a new feature "Allow Microsoft Edge to pre-launch at Windows startup, when the system is idle, and each time Microsoft Edge is closed" which is on by default. This causes that every logged on user is running msedge.exe even if they have not opened Edge by themself.

As temporary fix I edited the files firefox.xml, google_chrome.xml and microsoft_edge.xml. I changed eg. msedge.exe to msedge-no-check.exe so Bleachbit will run even another user is running Egde.

@rados
Copy link
Contributor

rados commented May 13, 2024

@az0 I can handle this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants