Perhaps your problem may be due to this:-
https://support.hp.com/au-en/document/c04947950
I had half my Windows 10 systems fail to respond to Wake On Lan, a few were initially made to function by back leveling the network drivers. But the above info when applied to non HP systems worked perfectly…
HTH,
Robert13