From LedHed's Wiki
Jump to: navigation, search

Overview

Recent versions of Windows have an annoying issue where the network settings will pop up and you must choose whether the network is discoverable. If you don't click yes/no quick enough or happen to click another window Network discovery is automatically turned off. I get it from a security perspective, but MS needs to make it easier to change a NIC from Public to Private.

GUI Method

Open Windows Explorer, in the left pane click 'Network'. You will be notified that network discovery is turned off, and asks if you'd like to turn it on, turn it on. Then when prompted to make the network private, do so.


PowerShell Method

$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet1
$Profile.NetworkCategory = "Private"
Set-NetConnectionProfile -InputObject $Profile


Reference

http://donovanbrown.com/post/How-to-change-network-profile-on-Windows-Server-2016-from-Public-to-Private

https://serverfault.com/questions/639088/how-do-i-make-a-connection-private-on-windows-server-2012-r2