How to change network settings from public to private?

healee 31 Reputation points
2020-08-22T02:00:02.85+00:00

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,272 questions
{count} votes

12 answers

Sort by: Most helpful
  1. Gloria Gu 3,891 Reputation points
    2020-08-24T02:38:25.42+00:00

    Hi,

    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.

    19724-2.png

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

    19742-3.png

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

    Regards
    Gloria

    33 people found this answer helpful.

  2. S.Sengupta 15,111 Reputation points MVP
    2020-08-22T03:46:00.313+00:00
    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. DanVisan 6 Reputation points
    2023-11-04T09:38:08.4633333+00:00

    Windows 11 (Powershell):

    get-netconnectionprofile

    set-netconnectionprofile -InterfaceAlias "Name_of_InterfaceAlias" -NetworkCategory "Private"

    1 person found this answer helpful.

  4. Kapil Arya 7,596 Reputation points MVP
    2020-08-22T04:03:12.483+00:00

    Hello,

    See if this helps you:

    https://www.kapilarya.com/switch-network-from-public-to-private-and-domain-windows-10

    Hope this helps!

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


  5. Anas P V 1 Reputation point
    2021-07-06T12:50:44.46+00:00

    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