PSA: zombie Update Agent prevents running games

System:

  • Win 10
  • (not a factor)Windows Defender with “Ransomeware Protection / Controlled folder access” turned ON

Problem:

  • randomly games appear not installed after opening BattleNet app.
  • “Locate the game” does not work; “Scan and repair” does nothing, it stays forever at 0%.

Temporary solution:

  • (wrong solution) disable Windows Defender → after restarting BattleNet the games are playable

EDIT:
After further testing, I found the cause not to be Windows Defender. Instead it appears to be a zombie “Battle.net Update Agent” process, hanging around after closing the BattleNet app! (full path is c:\ProgramData\Battle.net\Agent\Agent.xxxx\Agent.exe)

Whenever I start BattleNet and the “Update Agent” is still running, I get a short message:

Battle.net Agent went to sleep. Attempting to wake it up…
More help: BLZBNTBNA000000005

After a few seconds the app becomes usable, but the games appear as not installed.

Whenever I kill the zombie Battle.net Update Agent, the problem goes away. This was tested with Windows Defender on and off, so it’s not a factor.

Solution

  • kill the zombie “Battle.net Update Agent” process from the task manager before starting the BattleNet app.

you can check my post for info about Why updates is stuck