Go to Control panel > Power Option, choose Change when the computer sleeps, then click the change Advanced power settings and there are many options you can choose from, such as :
Desktop Background settings
wireless Adapter settings
This may be the one to look at closely, it's the Sleep entry.
I hope this helps!
Windows Outreach Team