Connect the corporate tunnel and the laptop quietly changes character. File sharing stops, name browsing fails, an application that used to listen stops listening, and Settings shows the connection as Work or Unidentified. Three ways to pin that classification exist, and the choice between them depends on whether the device is managed, whether the label keeps reverting, and whether anything genuinely needs discovery on that adapter.

What the label actually controls

Windows groups each network into a category and selects a firewall profile from it. The Public profile refuses inbound sharing, discovery and the file and printer ports before any rule you add is consulted, while Private allows more. Applications that check the category before exposing a service see the same value.

This is a policy selection, not a routing decision. An address can be perfectly reachable and still be refused because the profile in force does not contain a matching rule, and no amount of route repair will change that. Two different questions, two different tools. Mixing them is the most common reason a fix appears to work and then stops.

The category is stored per network, and the network is identified by a signature. For an ordinary LAN that signature includes the default gateway's hardware address and the connection's DNS suffix, both of which a VPN adapter typically lacks. A weak signature means the same tunnel can look like a new network after a client upgrade.

That is why the label appears to change on its own. Windows is not being capricious; it is failing to recognise the tunnel as the network it classified last week.

Three conditions that decide the approach

The first condition is ownership. On a managed laptop the setting is often locked, and a local edit will be overwritten by the next policy refresh. Fighting that is a waste of an afternoon; the policy is the supported channel and the only one that holds.

ApproachChoose it whenWhat it costs
Policy via Local Security PolicyThe device is managed, or the label must survive reconnectsRequires administrator rights and a policy you can document
Editing the profile registry valuesYou need a one-off on a machine you controlReverts when the signature changes, and can conflict with policy
Leaving it automaticNothing on that adapter needs sharing or discoveryA firewall profile that may not match your rule scoping

The second condition is recurrence. If the label has reverted more than once, the per-network value is being rebuilt from a signature that changed, and editing it again will not last. Policy values live in a separate branch that outranks the per-user values Windows rebuilds every time the adapter reconnects.

The third condition is need. Some environments genuinely require name resolution and discovery across the tunnel, and those want narrow firewall rules for specific addresses rather than a whole adapter moved to Private. Flipping the category to get one service working is how a tunnel ends up exposing more than intended.

Answer the three conditions and the choice is made for you. Two of them pointing at policy means policy, and one pointing at a one-off test means a local edit you intend to discard.

Pin it, then read back which profile is in force

Local Security Policy exposes the setting under Network List Manager Policies. Open secpol.msc, expand that node, open the entry for the tunnel's network, set the location type to Public, and set the user permission so the location cannot be changed. Those settings land in the Policies branch of that same tree, which is why they outrank the per-user values a reconnect rewrites.

Public is usually right for a VPN adapter, because it blocks inbound sharing and discovery by default. That is the conservative choice for a tunnel that may land on an untrusted segment, and it can be relaxed later with specific rules instead of a category change. Broadening the category to fix one service is a trade you cannot easily reverse. A rule can be removed in seconds.

Get-NetConnectionProfile | Select-Object Name, NetworkCategory, IPv4Connectivity
Get-NetFirewallProfile -Name Public | Select-Object Name, Enabled

The first command reports the category in force rather than the one in the dialog, which is the number that decides firewall behaviour. The second confirms that the profile being applied is enabled and which one you are actually relying on.

Note what the pair does not prove. Neither command shows whether a specific inbound rule is present, so a service that still does not answer needs a rule check rather than another category edit.

When the symptom is not the category

A network indicator can lag behind the connection, and older Windows releases had a documented defect where a force-tunnel VPN showed as Limited while traffic flowed and packaged applications refused to use it. The indicator was wrong; the tunnel was working.

So test the thing the user actually cares about rather than the icon. Reach the service by address, then by name, then through the application. Each step separates routing, resolution and application policy, and the category only enters at the firewall step.

If the category is correct and the service still fails, check rule scoping. A rule written for the Private profile stops matching the moment the adapter is Public, and that is a different fault from a rule that was never created.

Record the intended category, whether it is policy-enforced, and the addresses that need exceptions. That note answers the next report about disappearing shares with a fact about profiles and scopes instead of another theory about the tunnel.

The decision is small and the consequences are not. A category is a firewall selector, and treating it as cosmetic is how a working service becomes a mystery.

Ebitabo ebifaananyi