boju :
Looks like people all over the place are having problems with battle net crashing. You might have more success trying to figure out why it's crashing rather than trying to script a way to shut down these processes. I don't think it's possible to do this automatically.
Look at post by BlackSparrow, last post on page one.
https://us.battle.net/forums/en/bnet/topic/20765158709
If you have Corsair ique software try uninstall it or stop the process.
What are your system specs, Windows and startup programs?
Hey, my system specs are, CPU: Ryzen 5 1600X CPU Cooler: Cooler Master Hyper 212 EVO AM4 Motherboard: MSI
B350 TOMAHAWK GPU: AMD Radeon™ RX 580 GTS XXX Edition 8GB RAM: G.SKILL
Ripjaws V Series 32GB (2 x 16GB) 288-Pin DDR4 3200Mhz CL-14 Model#
F4-3200C14D-32GVR PSU: Corsair RMx Series™ RM750x — 750 Watt 80 PLUS® Gold
Certified Fully Modular SSD: Samsung 850 PRO 256GB Case: Rosewill THOR V2 ATX
Full Tower OS: Windows 10 Pro.
Startup items are, IObit Advanced SystemCare Tray, Logitech Gaming Framework, Realtek HD Audio Manager and Steelseries Engine 3 Core. I do not have Killer network drivers installed or Malwarebytes. Also it does not cause a bsod the computer is still running but my monitor turns off and becomes unresponsive. Sometimes it will recover from the crash and return with an older looking border around the b.net app, If I'm not mistaken being cause by a display driver crash. I know what you mean that it most likely is an app interfering with it, and I can keep trying to see what app it may be.
Also to mention again, it's not crashing off of first launch, I can still launch and play the game fine, it's only crashing if it has been launched and the Battle.net and Blizzard update agent processes are running.