How to change network settings from public to private?

healee 31 Reputation points

I have a crossover cable connecting a Windows 10 and a Windows 7 system. They are connected but can't see each other. Both show public network. I would like to be able to copy files across using the connection. I don't have other network or router to use.

I don't seem to be able to find Open Start > Settings > Network & Internet, under Change your network settings, click Sharing options. As far as I know the system is up to date.

Windows 10 Version 2004 (OSBuild 19041.450)

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,149 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Gloria Gu 3,871 Reputation points


    In regards to your issue, here're my suggestions:

    You can use PowerShell command to change network settings from public to private: Run PS as administrater

    1. Get-NetConnectionProfile and press Enter. Information is then shown about the active network connection.
    2. 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.


    1. You can open sharing options for different network profiles in Control Panel> Network and sharing center> Advanced sharing settings


    -------If my answer is helpful to you, please remember to mark them as answer. Thank you!------


    33 people found this answer helpful.

  2. S.Sengupta 10,956 Reputation points MVP
    1. Open Settings.
    2. Click on the Network and Internet icon.
    3. As you are using a wired connection, click on Ethernet.
    4. Click on the connection name on the right. In my case, it is named just "Network".
    5. Turn on the desired option
    5 people found this answer helpful.

  3. Kapil Arya 6,811 Reputation points MVP


    See if this helps you:

    Hope this helps!

    Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.

  4. Anas P V 1 Reputation point

    HI ,
    Try Changing this
    Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings

    You can find all networks below as drop down menu

    Make sure IP's Configurations are proper .Both PC's IP should be on same network ,Automatically its not going to connect since you don't have router or switch
    1.Default gateway should be same for both PC's
    2.Ip's of systems should be on same network
    try to ping each other

    0 comments No comments

  5. HughF 21 Reputation points

    @Gloria Gu That has helped, thanks. There is no guarantee that the NLA service won't change it back again!
    I still have a problem that it won't let me turn network discovery on - I turn it on in Advanced sharing settings, Save changes, then go back in and it's off again. More searching needed.

    0 comments No comments