- - -

Option 1:

On your Windows PC, go into Device manger and double click your network adapters. Then double click the adapter used.

On the Power Management Tab, uncheck "Allow the Computer to Turn off this Device to Save Power."

Click Apply.

(we do of course presume that you are already using the latest device driver available for your network adapter.  If not, update this first!)