-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Wireless and Networking
- Re: Ethernet Network profile

Create an account on the HP Community to personalize your profile and ask a question
11-23-2021 09:21 AM
When I go to Setting>Network & Internet>Ethernet>Network>Network Profile that was previously set to "Public" it has somehow always changed to "Private". How do I keep it on "Public"?
11-28-2021 11:26 AM
Hi@partrickkmn,
Welcome to the HP Support Community!
You can use PowerShell command to change network settings from public to private: Run PS as administrator
-
Get-NetConnectionProfile and press Enter. Information is then shown about the active network connection.
-
Set-NetConnectionProfile -Name "NetworkName" -NetworkCategory Private. Replace NetworkName with the value of the Name field shared by the previous command.
To double-check that the network location was changed, run the Get-NetConnectionProfile again and see the results. The NetworkCategory field should have a different value.
-
You can open sharing options for different network profiles in Control Panel> Network and sharing center> Advanced sharing settings
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Have a great day!
11-29-2021 11:53 AM
It seems you have misunderstood my question. My laptop changes itself to "private" after I set it to "public". What I want to know is, why does it change to "private" and how can I stop it from doing so and keep it "public"? It is my home laptop connected to the internet via an ethernet cable and I don't want to share any files or anything nor be visible to other computers.
11-30-2021 05:17 AM
Hi@partrickkmn,
`We have done the basic troubleshooting as per the document and the notebook needs to be checked taking remote access so that get to know it's a hardware or software issue.
I'd suggest you contact HP in your region regarding the service options for your computer or HP Chat Support Team.