I have a laptop and a desktop PC that both run Windows 10 Pro. I use the desktop a lot so I prefer to keep it sleeping rather than completely turned off and for various reasons I like to be able to wake it up remotely using Wake-On-LAN. The laptop gets used largely as a 'can't be arsed to get off the sofa' computer, however whenever I turn the laptop on the desktop also wakes from its slumber, which is not ideal since that means it could well be sat there running away to itself wasting electricity until it goes back to sleep after the allotted time I have set.
I have however figured out how to stop it from happening (finally). On Windows 10 at least if you open the Settings app, click on
Network & Internet and then
Change adapter options it'll open the good old
Network Connections window showing, well, your network connections. Back in the good old days you used to be able to just right-click on the adapter icon in the taskbar and open it from there, but alas Microsoft decided something that wasn't broken should be fixed by removing it.
Anyway once there all you do is right-click on the adapter you're using (assuming there's more than one), click on
Properties, then in the new window that opens click on the
Configure button and in the next window that opens select the
Advanced tab, then finally scroll all the way down to the bottom of the list until you find an option called
Wake on Pattern Match and disable it.
Doing this doesn't appear to be detrimental to WOL, it just has the added benefit of preventing 'Computer A' from getting woken up by 'Computer B' and vice versa if you disable the option on both (which is what I did). I don't really know what this pattern match option is actually used for in the general scheme of things or if this problem occurs on older versions of Windows; I can't be bothered to find out. It works for now, that's all that I care about.