I have a Windows 10 machine that I have configured for Wake-on-LAN, including disabling Windows's "fast startup" feature. This machine is an old laptop, which I intend to run with the lid closed and only access via network. I have set it to never automatically sleep, either in the On battery or Plugged in states, and to do nothing on lid close.

On normal, non Wake-on-LAN startup and resume, I can access the laptop remotely with no problems for as long as I want the system to run. However, once I Suspend (Sleep) the laptop, I can resume it successfully with Wake-on-LAN, but then it suspends itself again after some time, on the order of minutes, rather than hours.
I have observed this behavior now with two separate laptops. What other setting(s) do I need to set to ensure that Windows does not suspend itself after resumption from sleep?

