I have a Pi Zero w.
it has been set up with a standard rasbpian imager and OS and latest files off the OEM website.
the boot drive also has an ssh file and a wpa_supplicant.conf file with necessary network credentials.
The first time I tried to ping it from my windows 8.1 PC, it returned that "ping request could not find host raspberrypi.local. please check the name and try again".
when I tried it again on another Windows 10 PC on the same network it went through flawlessly and I went on to run it through a standard config and set up a static IP address after which Pi-Hole was successfully set up and deployed.
I still face the issue of being unable to ping it from my windows 8.1 PC.
I have also downloaded the appropriate ssh files and added the directory to the path environment variable.
I've tried a lot of forums and am running out of options.