If you have a Wi-Fi network, and it doesn’t seem to connect unless you login, you need to change the profile.

Symptom: Domain joined computer would not come online unless I logged in as a local user account (domain wasn’t available). Would work fine afterwards, but would disconnect as soon as I logged off.

Resolution: The Wi-Fi network was set to only be a user profile. To change it:

  1. Open the Command Prompt or Powershell as an Administrator

  2. Run the following (assuming Private-WiFi is your profile name):

    netsh wlan set profiletype name=Private-WiFi profiletype=all
    

That’s it. Now your wireless profile is available to all the users on the machine, so it should connect automatically before the user logs in.