Link to home
Create AccountLog in
Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

Avatar of Andreas Gieryic
Andreas Gieryic🇺🇸

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)

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
Avatar of Pete LongPete Long🇬🇧

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of David Johnson, CDDavid Johnson, CD🇨🇦

powershell
Get-NetConnectionProfile

Open in new window


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

Open in new window


Avatar of Andreas GieryicAndreas Gieryic🇺🇸

ASKER

Pete, that worked
David, thanks for the additional input

Avatar of Pete LongPete Long🇬🇧

No problem, I'll shamelessly steal an article out of it....

Network Profile Switches from ‘Private’ to ‘Public’


</P>

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Windows OS

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.