adb.exe runs then disappears I had ADB working just a few days ago, but now, whenever I try to run adb.exe, it will start the daemon successfully, and then after a couple of commands the adb.exe file itself will disappear. When I try to uninstall then reinstall platform-tools via Android Studio's SDK manager immediately afterward, the uninstaller hangs (though the window doesn't freeze) after the following output:

To install:
Preparing "Uninstall Android SDK Platform-Tools (revision: 27.0.1)".
Generating patch...
"Uninstall Android SDK Platform-Tools (revision: 27.0.1)" ready.
Finishing "Uninstall Android SDK Platform-Tools (revision: 27.0.1)"
Stopping ADB...


with the status:

Packing .installer/

However, I can't seem to find anything ADB-related in Task Manager. I tried killing it with adb kill-server, buy CMD's reply was of course that it couldn't find adb. After I restart Windows, the uninstallation/reinstallation runs perfectly well, but ADB just disappears all over again. What in the world is going on, and how do I get ABD up and running again?

Example CMD. When I reinstalled ADB after taking this screenshot and tried again, I didn't even get the * daemon started successfully message.



OS: Windows 10

Device: LG V30+ (United States/Sprint), Android 7.1.1, LGE USB driver
As esQmo_ guessed in the comments on my question, my antivirus (Avast) was blocking adb.exe, probably with some silly "heuristic protection" feature. I checked my quarantine folder and found it chock full of adb.exe's. I whitelisted adb.exe and did not run into any more problems.