Hi,
Go to Device Manager(right click windows logo), expand your WiFi adapter, highlight the Wifi card and right click, select Properties, go to Power Management tab, untick "Allow the computer to turn off this device....".
Image may be NSFW.
Clik here to view.