Home > Common Problem > body text

How to change network type to private or public in Windows 11

PHPz
Release: 2023-08-24 12:37:05
forward
9484 people have browsed it

如何在 Windows 11 中更改网络类型为专用或公共

Setting up a wireless network is common, but choosing or changing the network type can be confusing, especially if you don't know the consequences.

If you're looking for advice on how to change the network type from public to private or vice versa in Windows 11, read on for some helpful information.

What are the different network profiles in Windows 11?

Windows 11 comes with a number of network profiles, which are essentially sets of settings that can be used to configure various network connections.

This is useful if you have multiple connections at home or office so you don't have to set it all up every time you connect to a new network. Private and public network profiles are two common types in Windows 11, but there are usually three.

The three main network profiles include:

1. Public

This profile is used when connecting to an untrusted network, usually when the connected network cannot be verified Use in a public environment on behalf of other computers or devices.

Public networks are accessed through unsecured connections. Examples include public Wi-Fi hotspots, free Wi-Fi at coffee shops, and guest networks at libraries or coffee shops.

If you are concerned about the security of your data on a public profile, you can turn on the strict NAT network type that acts as a firewall.

2. Private

This is the default mode for network profiles. In this mode, the computer is connected to a private home or work network and can only see other devices on that network.

Private network profiles include all the settings your computer needs to join a wireless or wired network without requiring any additional configuration on your part.

Printer sharing and file sharing are also available in this mode because network discovery is turned on by default.

3. Domain name

This is the assigned network configuration file used when the computer joins the domain. It includes settings for authentication, encryption, and caching. Domain configuration files also include settings for user login and resource access.

Businesses often use domain network connections for employees to access company resources, such as email servers and internal websites.

Now that you understand the different scenarios for applying these networks, let’s highlight some of the differences

Enable DisabledRestricted within the domainEnabledDisabled Restricted within the domainQuite safeGuaranteeHigh Safety

Network profiles are a powerful tool because they can be used to control the behavior of Windows computers on a network as they move from one environment to another.

Equipped with this information about the different types of network profiles, if you need to change it, here's how to adjust your Windows 11 network settings.

How do users change their network profiles in Windows 11?

1. Use Settings

  1. Tap key and click Settings. Windows如何在 Windows 11 中更改网络类型为专用或公共
  2. Select Network & Internet Settings in the left pane and click Wi-Fi (If connected, select the Ethernet connection ). 如何在 Windows 11 中更改网络类型为专用或公共
  3. Select one of your Wi-Fi networks and click on it. 如何在 Windows 11 中更改网络类型为专用或公共
  4. Under "Network Profile Type", switch to your preferred profile. 如何在 Windows 11 中更改网络类型为专用或公共

If you find that the network profile type is missing, you may have an outdated driver, so a quick driver update should resolve the issue.

2. Use the PowerShell command line

  1. click key, type Powershell in the search bar, and then click Run as administrator. Windows如何在 Windows 11 中更改网络类型为专用或公共
  2. Enter the following command and click: Enter<strong>Get-NetConnectionProfile</strong>
  3. Make a note of the name of the network you want to change, and then type the following command. Remember to replace the network name with the network name you noted down and use the Network profile (such as Public, Private or Domain) by typing: <strong>Set- NetConnectionProfile -Name "network name" -NetworkCategory <Type></strong>

3. Use the registry editor

  1. to open the run command. WindowsR
  2. Type Registry Editor in the dialog box and click.Enter如何在 Windows 11 中更改网络类型为专用或公共
  3. Navigate to the following location: <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles</strong>
  4. Click "Profiles" to expand the subkeys. Each will have its profile name listed on the right as the last entry. 如何在 Windows 11 中更改网络类型为专用或公共
  5. Double-click the category, and in the Value data, enter 0, 1, or 2 to change to Public, Private, and Domain respectively, and then click Click "OK". 如何在 Windows 11 中更改网络类型为专用或公共
  6. Close Registry Editor and restart your PC for the changes to take effect.

Keep in mind that editing the registry can be disastrous if anything goes wrong, so be sure to back up or create a restore point before making any changes.

4. Use local security policy

  1. Press to open the run command. WindowsR
  2. Type secpol.msc in the dialog box and click .Enter如何在 Windows 11 中更改网络类型为专用或公共
  3. Click "Network List Manager Policies" and then double-click the selected network on the right. 如何在 Windows 11 中更改网络类型为专用或公共
  4. In the Network Properties dialog box, navigate to the NetworkLocation tab and under the Location Type option, select Private" or "public profile". 如何在 Windows 11 中更改网络类型为专用或公共
  5. Also, users under Settings User Permissions cannot change the location, then click Apply and OK to save the changes.

It is important to note that this solution may be limited because Local Security Policy is not available in all Windows versions. However, if you are using Windows 11 Pro, Enterprise, and Education editions, you are safe.

Some users complained that they encountered network problems after changing the current network type. Windows cannot connect to this network is the most common, so if you are in the same predicament, check out our expert article on how to fix this problem.

Hopefully now you have a better understanding of how and when to change network profiles in Windows 11 to public or private. What's more, you can easily protect your data.

Private Public Domain
Trusted Network Trust Trusted Trust
##Sharing
Discoverable
Safety

The above is the detailed content of How to change network type to private or public in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!