Hi Alan Fealey,
On Windows 11, an Ethernet network that has no internet access or default gateway is detected as an Unidentified network. For security reasons, Windows automatically assigns these networks as Public after a restart, even if they were previously set to Private. This does not affect connectivity, but it can impact file sharing and discovery.
Here the recommended step-by-step solution that you can try in this situation:
Add a dummy gateway - This helps Windows consistently recognize the network so it remains Private.
- Go to Settings > Network & internet > Advanced network settings
- Select Ethernet 3
- Choose Edit next to IP assignment
- Keep your static IP and set:
- Default gateway = the other laptop’s Ethernet IP
- Save and restart
After this, the network stays Private across reboots. Additionally, you can force the network profile via PowerShell if the adapter name remains consistent.
- Open Windows Terminal (run as Admin)
- Run this command line:
Set-NetConnectionProfile -InterfaceAlias "Ethernet 3" -NetworkCategory Private
These steps simply help Windows remember the intended network profile so it doesn’t reset to Public after restarts.
Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.