EnableNetworkEnableNetwork
EnableNetwork
指定是否启用网络连接。EnableNetwork
specifies whether network connection is enabled. 此设置仅适用于 Windows 预安装环境 (Windows PE)。This setting applies only to Windows Preinstallation Environment (Windows PE).
如果您设置EnableNetwork
到false、 跳过网络初始化,并忽略任何网络设置。If you set EnableNetwork
to false, network initialization is skipped, and any network settings are ignored.
在 OEM、 独立软件供应商或其他自定义的 Windows PE 方案中的默认值为EnableNetwork
是true。In OEM, independent software vendor, or other customized Windows PE scenarios, the default value for EnableNetwork
is true. 在 Windows 安装程序方案中,默认值是false。In Windows Setup scenarios, the default value is false.
值Values
truetrue |
指定启用了网络连接。Specifies that network connection is enabled. |
falsefalse |
指定不启用网络连接。Specifies that network connection is not enabled. |
有效配置阶段Valid Configuration Passes
windowsPEwindowsPE
父层次结构Parent Hierarchy
microsoft-windows-setup- | EnableNetworkmicrosoft-windows-setup- | EnableNetwork
适用于Applies To
有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅microsoft-windows-安装程序-。For a list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.
XML 示例XML Example
以下 XML 输出显示了如何禁用网络连接。The following XML output shows how to disable network connection.
<EnableNetwork>false</EnableNetwork>