0

On my Windows 10 laptop, I have 2 interfaces:

PS C:\WINDOWS\system32> Get-NetConnectionProfile

Name             : Unidentified network
InterfaceAlias   : Loopback
InterfaceIndex   : 16
NetworkCategory  : Public
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic

Name             : BoonMIFI_149E
InterfaceAlias   : Wi-Fi
InterfaceIndex   : 11
NetworkCategory  : Public
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

I have been trying to change the loopback's NetworkCategory from Public to Private using secpol.msc: Network List Manager Policies > Unidentified networks > Private but this doesn't seem to change it.

How do I change the loopback's NetworkCategory from Public to Private?

1 Answer 1

0

I found the answer by experimentation:

PS C:\WINDOWS\system32> Set-NetConnectionProfile -InterfaceIndex 16 -NetworkCategory Private
PS C:\WINDOWS\system32> Get-NetConnectionProfile


Name             : Unidentified network
InterfaceAlias   : Loopback
InterfaceIndex   : 16
NetworkCategory  : Private
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic

Name             : BoonMIFI_149E
InterfaceAlias   : Wi-Fi
InterfaceIndex   : 11
NetworkCategory  : Public
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

However, this does not persist across reboots (and reverts back to Public).

Also, it's strange that secpol.msc doesn't seem to work while PS command does.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .