EnableNetwork 指定是否啟用網路連線。EnableNetwork specifies whether network connection is enabled. 此設定僅適用於 Windows 預先安裝環境 (Windows PE)。This setting applies only to Windows Preinstallation Environment (Windows PE).

如果您設定EnableNetworkfalse網路初始化會略過,且會忽略任何網路設定。If you set EnableNetwork to false, network initialization is skipped, and any network settings are ignored.

在 OEM、 獨立軟體廠商或其他自訂的 Windows PE 案例中,預設值EnableNetwork,則為 trueIn OEM, independent software vendor, or other customized Windows PE scenarios, the default value for EnableNetwork is true. 在 Windows 安裝程式的情況下,預設值是falseIn Windows Setup scenarios, the default value is false.



指定已啟用 網路連線。Specifies that network connection is enabled.


指定未啟用 網路連線。Specifies that network connection is not enabled.

有效的設定階段Valid Configuration Passes


父階層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.