Does anyone have a solution to make win10/win8 wireless computer's keep the network connection when first booted or logged off?

My laptop keeps disconnecting from the wireless when I log off or reboot the machine. I need network connection before the user logs in.


Thanks