sodcalculator

10 Tech How-To

Fix Network Profile Keeps Changing Automatically on Windows 11

Guide 10-31406 · Updated · Step by step

If your Windows 11 network profile keeps changing automatically—for example, from Private to Public—it is usually caused by a Wi-Fi setting that disconnects and reconnects the adapter, a misconfigured network policy, or a driver reset. The most direct fix is to disable the “Connect automatically when in range” option for that network, then set the profile to Private via Settings > Network & internet > Wi-Fi > the network’s properties.

Why Windows 11 Keeps Switching Your Network Profile

Windows assigns a network profile (Private or Public) based on how you first connected to a network. A Private profile enables file sharing and device discovery; a Public profile disables those features for safety. The operating system can change the profile automatically when it detects a new network, when the network’s SSID or security type changes, or when the network adapter is reset.

Common triggers include:

  • Wi-Fi disconnects and reconnects—if the adapter drops the connection momentarily, Windows may treat it as a new network and apply the default Public profile.
  • Power management—the “Allow the computer to turn off this device to save power” option can cause the adapter to reset.
  • Driver updates—a new driver can reset network settings.
  • Group Policy or MDM—in enterprise environments, policies can force a profile type.
  • Network profile service—a glitch in the Network List Service can misidentify a network.

How to Set a Network Profile Manually

To set a profile manually, go to Settings > Network & internet > Wi-Fi (or Ethernet), select the network you are connected to, and choose Private or Public. This change should persist until the network is forgotten or the adapter resets. If it reverts automatically, use the steps below.

For a wired connection, the same settings appear under Ethernet.

Disable Auto-Reconnect to Prevent Profile Changes

If the profile changes every time you leave and return to a network, the likely culprit is the “Connect automatically when in range” setting. When Windows reconnects, it may treat the connection as new and apply the default profile.

  1. Open Settings > Network & internet > Wi-Fi.
  2. Click Manage known networks.
  3. Select the problematic network and click Properties.
  4. Turn off Connect automatically when in range.
  5. Reconnect manually and set the profile to Private.

This prevents automatic reconnection, so the profile stays as you set it.

Update or Reinstall the Wi-Fi Adapter Driver

A faulty or outdated driver can cause the adapter to reset, which often changes the profile. To update:

  1. Press Win + X and select Device Manager.
  2. Expand Network adapters.
  3. Right-click your Wi-Fi adapter and select Update driver.
  4. Choose Search automatically for drivers.

If that does not help, uninstall the driver (right-click > Uninstall device) and restart. Windows will reinstall the driver automatically. This can fix profile switching caused by driver glitches.

Adjust Power Management Settings

Power saving can turn off the Wi-Fi adapter to save battery, which resets the network and changes the profile. To disable this:

  1. Open Device Manager.
  2. Right-click your Wi-Fi adapter and select Properties.
  3. Go to the Power Management tab.
  4. Uncheck Allow the computer to turn off this device to save power.
  5. Click OK.

This is especially common on laptops. After changing this, restart the computer.

Use Command Line to Reset Network Settings

If the profile still changes, resetting the network stack can clear corrupted settings. Open Command Prompt as administrator (search for “cmd”, right-click, select Run as administrator) and run:

netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns

Restart your computer after running these commands. This will reset TCP/IP and DNS settings, which may resolve persistent profile changes.

Check Group Policy or MDM Settings (Advanced)

If your PC is managed by an organization, a Group Policy or mobile device management (MDM) policy may force a specific network profile. To check local Group Policy:

  1. Press Win + R, type gpedit.msc, and press Enter.
  2. Navigate to Computer Configuration > Administrative Templates > Network > Network Connections.
  3. Look for policies like “Set connection type” or “Prohibit connection to non-domain networks.”

If you are not in an enterprise environment, this is unlikely to be the cause. In that case, skip this step.

Frequently Asked Questions

Why does my network profile keep changing to Public?

Windows defaults to Public when it cannot verify the network’s identity. This happens after a disconnect/reconnect, a driver reset, or when the network’s security settings change. Disabling auto-reconnect and setting the profile manually often fixes it.

Will changing the profile to Private affect my security?

Yes—Private enables file sharing and device discovery. Only use Private on trusted networks like your home or office. On public Wi-Fi, keep it Public to reduce exposure.

Does the profile change affect my internet speed?

No, the profile type does not affect internet speed. It only controls network discovery and file sharing features.

Can I set a network profile using PowerShell?

Yes, you can use PowerShell to set the profile. Open PowerShell as administrator and run: Set-NetConnectionProfile -Name "YourNetworkName" -NetworkCategory Private. Replace “YourNetworkName” with your network’s name.

What if the profile changes after every reboot?

This usually indicates a driver or power management issue. Update the driver and disable the power-saving option as described above. If it persists, try the network reset commands.

Is there a way to prevent Windows from automatically connecting to a network?

Yes, go to Settings > Network & internet > Wi-Fi > Manage known networks, select the network, and turn off “Connect automatically when in range.” You can also forget the network entirely.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →