网络位置最初是在Windows Vista中引入的。当时,他们对用户感到不成熟和困惑。它们在Windows 7和后来的Windows 8中得到了改进。现在它们有一个简单的实现,它们是管理网络连接和网络共享的非常有用的方法。让我们一起了解它们是什么,它们如何在所有现代版本的Windows中工作,以及它们为何有用:
什么是Windows中的(Windows)网络位置(network location)?
网络位置(network location)是一个配置文件,其中包含应用到您所连接的网络的网络和共享设置的集合。(network and sharing settings)根据分配给您的活动网络连接的(network connection)网络位置(network location),可能会启用或禁用文件和打印机共享(file and printer sharing)、网络发现等(network discovery and others)功能。这些网络位置(或配置文件,如果您想这样称呼它们)对于移动性很强并将他们的(network location)Windows计算机和设备连接到许多网络的人很有用。例如,您可以使用工作笔记本电脑(work laptop)连接到公司网络(company network),在一天结束时将其带回家,连接到您的家庭网络(home network),并在周末旅行并连接(travel and connect)到酒店和机场的免费WiFi网络。
每次连接到新网络时,Windows都会要求您分配网络配置文件(network profile)(在Windows 7中)或是否要让您的计算机(computer discoverable)在网络上可被发现(在Windows 10中)。通过此选择,您可以设置适合该网络连接的(network connection)网络和共享设置(network and sharing settings)。这有助于您维护系统的安全性,并仅在对您有用时才打开(system and turn)网络和共享功能。(network and sharing features)
(Network)Windows 7中的(Windows 7)网络位置:家庭、(Home vs) 工作(Work)和公共(Public)
Windows 7 允许您在三种类型的配置文件/网络位置之间进行选择:
-
家庭网络(Home network)- 当您连接到家庭网络或与您完全信任的人员和设备的网络时,请选择此位置。默认情况下,网络发现将打开,您将能够看到属于网络的其他计算机和设备。此外,这将允许网络中的其他计算机访问您的计算机。在家庭网络上,您还可以创建或加入家庭组。
-
工作网络(Work network)- 从您的工作场所连接到网络时,此配置文件很好。此配置文件与家庭网络(Home network)共享相同的设置。唯一重要的区别是它不允许您创建或加入家庭组。
-
公共网络(Public network)- 当您在机场、酒店或咖啡店等公共场所时,此配置文件非常适合。使用此配置文件时,网络发现和共享将关闭。来自同一网络的其他计算机将无法看到您的计算机。当您的计算机直接连接到互联网(直接电缆/调制解调器连接、移动互联网等)时,此设置也很有用。
可以更改所有配置文件的默认设置。要了解如何执行此操作,请阅读这篇文章:如何在Windows 7中自定义(Windows 7)网络共享设置(Network Sharing Settings)。我们不建议更改它们,至少不要更改公共网络(Public network)位置。此配置文件的默认设置为您提供连接到公共网络时可以获得的最佳安全性。
注意:(NOTE:)还有一个名为Domain network的第四个(Domain network)网络位置配置文件(network location profile)。普通用户无法设置此选项。它适用于企业工作场所,由网络管理员(network administrator)设置。应用于此配置文件的设置是由您的公司设置的,您无法更改它们。此外,它们因公司而异。
(Network)Windows 10和 Windows 8.1中的网络位置:私有与公共(Public)
Windows 10 和Windows 8.1进一步简化了网络位置的概念,将它们减少到只有两种选择:
-
专用网络(Private network)- 此配置文件应应用于您的家庭网络或工作场所的网络。将此配置文件分配给网络连接时,网络发现已打开,文件和打印机共享已打开,并且允许家庭组连接。
-
公共网络(Public network)- 此配置文件也称为Guest。这是两者中更安全的一个,因为网络发现以及文件和打印机共享已关闭。当连接到您不信任的公共网络时应使用此配置文件,例如在机场、咖啡店、酒吧、酒店等中发现的那些。
注意:(NOTE:)还有第三个名为Domain network的(Domain network)网络位置配置文件(network location profile)。普通用户无法设置此选项。它适用于企业工作场所,由网络管理员(network administrator)设置。应用于此配置文件的设置是由您的公司设置的,您无法更改它们。此外,它们因公司而异。
如何更改在Windows中设置的网络位置(network location)
网络位置(network location)是在您首次连接到新网络时设置的。当您这样做时,Windows 7 会询问您要设置三个网络位置中的哪一个,而(network location)Windows 8.1会询问您是否要在网络上查找设备和内容,而Windows 10 会询问您是否要让您的PC(PC discoverable)在网络上可被发现。所有这些不同的问题都会让用户感到困惑,您应该记住,您的答案只做一件事:为您的网络连接设置(network connection)网络位置(network location)。幸运的是,您始终可以改变主意并更改为您的活动设置的网络位置(network location)网络连接(network connection)。如果您想知道如何操作,请阅读适用于您正在使用的Windows版本的指南:(Windows)
- 通过 3 个步骤将您的Windows 10 网络位置(network location)更改为 Private 或Public
- 在Windows 8.1中将(Windows 8.1)网络(Network)的位置从专用(Private)更改为公共(Public)
- 将您的Windows 7(Windows 7) 网络位置(network location)更改为Public、Home 或 Work(Home or Work),只需 2 个步骤
结论
正如您从本指南中了解到的,网络位置是Windows的一项有用功能。只需单击几下,您就可以更改应用于活动网络连接(network connection)的整套网络共享设置。如果您对它的工作原理有任何疑问,或者在使用此功能时遇到问题,请随时在下方发表评论。
Simple questions: What are network locations in Windows?
Network locatiоns were first introduсed in Windows Vista. At that time, they felt half-baked and confusing to uѕers. They were improved in Wіndows 7 and lаter on in Wіndows 8. Now they have a simple implementation and they are a very useful way to manage network connections and network sharing. Let's learn together what they are, how they work in all modern versions of Windows and why they are useful:
What is a network location in Windows?
A network location is a profile that includes a collection of network and sharing settings that get applied to the network you are connected to. Based on the network location assigned to your active network connection, features such as file and printer sharing, network discovery and others might be enabled or disabled. These network locations (or profiles if you would like to call them that) are useful to people who are very mobile and connect their Windows computers and devices to many networks. For example, you could use your work laptop to connect to your company network, take it home at the end of the day, connect to your home network and, during the weekend, travel and connect to free WiFi networks in hotels and airports.
Each time you connect to a new network, Windows asks you to assign a network profile (in Windows 7) or whether you want to make your computer discoverable on the network (in Windows 10). With this choice, you set the network and sharing settings that are appropriate for that network connection. This help you maintain the security of your system and turn on network and sharing features only when they are useful to you.
Network locations in Windows 7: Home vs Work vs Public
Windows 7 allows you to choose between three types of profiles/network locations:
-
Home network - choose this location when you are connected to your home network or a network with people and devices you fully trust. By default, network discovery will be turned on and you will be able to see other computers and devices which are part of the network. Also, this will allow other computers from the network to access your computer. On home networks you will be also allowed to create or join a HomeGroup.
-
Work network - this profile is good when connecting to the network from your workplace. This profile shares the same settings with Home network. The only important difference is the fact that it won't allow you to create or join a HomeGroup.
-
Public network - this profile is perfect when you are in a public place like an airport, hotel or coffee shop. When this profile is used, network discovery and sharing are turned off. Other computers from the same network will not be able to see yours. This setting is also useful when your computer is directly connected to the internet (direct cable/modem connection, mobile internet, etc).
The default settings can be changed for all profiles. To learn how to do this, read this article: How to Customize Network Sharing Settings in Windows 7. We don't recommend changing them, at least not for the Public network location. The default settings for this profile give you the best security you can get when connecting to public networks.
NOTE: There's also a fourth network location profile named Domain network. This one cannot be set by a normal user. It is available for enterprise workplaces and it is set by the network administrator. The settings applied to this profile are those set by your company and you cannot change them. Also, they vary from company to company.
Network locations in Windows 10 and Windows 8.1: Private vs Public
Windows 10 and Windows 8.1 further simplify the concept of network locations, reducing them to only two choices:
-
Private network - This profile should be applied to your home network or to the network from your workplace. When this profile is assigned to a network connection, network discovery is turned on, file and printer sharing are turned on and homegroup connections are allowed.
-
Public network - This profile is also named Guest. It is the more secure of the two because network discovery is turned off as well as file and printer sharing. This profile should be used when connecting to public networks you don't trust, like those found in airports, coffee shops, bars, hotels, etc.
NOTE: There's also a third network location profile named Domain network. This one cannot be set by a normal user. It is available for enterprise workplaces and it is set by the network administrator. The settings applied to this profile are those set by your company and you cannot change them. Also, they vary from company to company.
How to change the network location set in Windows
The network location is set the first time you connect to a new network. When you do that, Windows 7 asks which of the three network locations you want to set while Windows 8.1 asks whether you want to find devices and content on the network and Windows 10 asks whether you want to make your PC discoverable on the network. All these different questions are confusing to users and you should remember that your answer does only one thing: sets the network location for your network connection. Fortunately, you can always change your mind and change the network location that is set for your active network connection. If you want to know how, read the guide that's appropriate for the version of Windows that you are using:
Conclusion
As you have learned from this guide, network locations are a useful feature of Windows. With only a few clicks or taps, you change the whole set of network sharing settings that are applied to your active network connection. If you have any more questions about how it works or if you encounter problems when working with this feature, don't hesitate to leave a comment below.