In Windows 10, open Settings and go to “Network & Internet.” Then, if you use a Wi-Fi network, go to Wi-Fi, click or tap the name of the network you are connected to, and then change the network profile to Private or Public, depending on what you need.