Does your pc detect the phone when you connect it to usb? You can try another usb port and look into device manager.
If it detects anything, then try
adb devices
to see if there's anything. If adb finds a device
adb reboot-bootloader
to get into fastboot mode and then you can flash boot.img...