Windows OS
--
Questions
--
Followers
Top Experts
Can"t change "Windows Server 2016" network from Public to Private
I support several Windows Server 2016 servers and not running into this issue
- At first, I thought we had a router issue. The router has been upgraded to a newer Cisco model (originally we were using a "Netgear Prosafe router")
- The server is not in a domain. There are approximately eight computers in a peer-to-peer network at this time. The computers cannot map a drive to the server until we physically change it from public to private. Then it connects. But on the server, I cannot change it to private.
- When the server is rebooted, all users lose connection to their map drives until we go back and change the PC from public to private (or work on older Windows 7 PCs)
- At first, I thought we had a router issue. The router has been upgraded to a newer Cisco model (originally we were using a "Netgear Prosafe router")
- The server is not in a domain. There are approximately eight computers in a peer-to-peer network at this time. The computers cannot map a drive to the server until we physically change it from public to private. Then it connects. But on the server, I cannot change it to private.
- When the server is rebooted, all users lose connection to their map drives until we go back and change the PC from public to private (or work on older Windows 7 PCs)
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
powershell
i.e. powershell as admin
Get-NetConnectionProfile
Name : Network
InterfaceAlias : vEthernet (External)
InterfaceIndex : 5
NetworkCategory : Private
IPv4Connectivity : Internet
IPv6Connectivity : Internet
Name : Unidentified network
InterfaceAlias : vEthernet (DockerNAT)
InterfaceIndex : 4
NetworkCategory : Public
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic
Get-NetConnectionProfile
i.e. powershell as admin
Get-NetConnectionProfile
Name : Network
InterfaceAlias : vEthernet (External)
InterfaceIndex : 5
NetworkCategory : Private
IPv4Connectivity : Internet
IPv6Connectivity : Internet
Name : Unidentified network
InterfaceAlias : vEthernet (DockerNAT)
InterfaceIndex : 4
NetworkCategory : Public
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic
set-netconnectionprofile -interfaceindex 4 -networkcategory private
Pete, that worked
David, thanks for the additional input
David, thanks for the additional input
No problem, I'll shamelessly steal an article out of it....
Network Profile Switches from ‘Private’ to ‘Public’
</P>
Network Profile Switches from ‘Private’ to ‘Public’
</P>






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Windows OS
--
Questions
--
Followers
Top Experts
This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.