Поделиться через


NetworkLocation

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

NetworkLocation specifies the location of the network if the computer is connected to a network when a user first logs on.

Values

Home

Specifies a private home network.

Work

Specifies a private office network.

Other

Specifies neither a home or work network. Network discovery is disabled by default on this network type.

There is no default value. If a value is not set, and a network is detected, then the Computer's Current Location page opens during the Out of Box Experience (OOBE).

Valid Configuration Passes

oobeSystem

Parent Hierarchy

Microsoft-Windows-Shell-Setup | OOBE | NetworkLocation

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML example shows how to set the network location to a private office network.

<OOBE>
   <NetworkLocation>Work</NetworkLocation>
</OOBE>

See Also

Concepts

OOBE