Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

What causes Thunderbird to report "already running..." when it isn't?

  • Akukho zimpendulo
  • 1 inale nkinga
  • 1 view
more options

Client machines are Windows 10, profiles reside in a shared folder. I run a batch script instead of using the Win10 "Sleep" button to put client PCs to sleep. This script runs:

taskkill /fi "USERNAME eq %USERNAME%" /im thunderbird.exe

then loops repeating a tasklist command until thunderbird.exe is no longer reported as running, then runs a command to put the PC to sleep.

In spite of these precautions, when I run thunderbird from another PC, it intermittently fails with "already running...". Waking up the sleeping PC, without even logging in, clears up the problem. Attempting to delete the parent.lock file fails "in use". Apparently, thunderbird.exe not showing up in a tasklist is not a reliable indication that it has completed. What else can the script check? What exactly does Thunderbird check that causes it to report "already running"?

Client machines are Windows 10, profiles reside in a shared folder. I run a batch script instead of using the Win10 "Sleep" button to put client PCs to sleep. This script runs: taskkill /fi "USERNAME eq %USERNAME%" /im thunderbird.exe then loops repeating a tasklist command until thunderbird.exe is no longer reported as running, then runs a command to put the PC to sleep. In spite of these precautions, when I run thunderbird from another PC, it intermittently fails with "already running...". Waking up the sleeping PC, without even logging in, clears up the problem. Attempting to delete the parent.lock file fails "in use". Apparently, thunderbird.exe not showing up in a tasklist is not a reliable indication that it has completed. What else can the script check? What exactly does Thunderbird check that causes it to report "already running"?