I have had good luck with Unified Android Toolkit and Minimal ADB but sometimes I have had bad luck too.

You can try https://developer.android.com/studio/releases/platform-tools.html and get the basic package.

Download the factory image, extract it and modify the "flash-all.bat".

Comment out the PATH line and just put everything in the same folder and run.