Windows Active Network Type

Wiki.TerraBase.info
Revision as of 15:13, 1 August 2020 by Root (talk | contribs) (Created page with "Here's a frustrating issue: Windows never seems to get the type of network it is connected to in the Network Sharing Center / Network Discovery. It can be Public, Private, an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here's a frustrating issue: Windows never seems to get the type of network it is connected to in the Network Sharing Center / Network Discovery. It can be Public, Private, and Domain.

To fix it, do the following

  • Run PowerShell as Administrator
  • To get the name of the Interface: get-netconnectionprofile
  • set-netconnectionprofile -name "WhatEverName" -NetworkCategory Private

OR

  • set-netconnectionprofile -InterfaceAlias "WhatEverName" -NetworkCategory Private

Sources;

Special Note: It often times doesn't get the name of the Interface / "Active Network" correct either. In Network connections the same item is referred to as "Status". In PowerShell it refers to it as Name. Woof! Sadly, the "Name" cannot be set.