Compartilhar via


EnableFirewall

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

EnableFirewall specifies whether Windows® Firewall is enabled for Windows Preinstallation Environment (Windows PE). This setting does not apply to the Windows Firewall settings of the Windows installation.

Windows Firewall is a stateful-host firewall that discards unsolicited incoming traffic, providing a level of protection for computers against malicious users or programs. A stateful firewall is a firewall that keeps track of the state of network connections (such as TCP streams or UDP communication) traveling across it. To provide better protection for computers connected to any kind of network (such as the Internet, a home network, or an organization network), the Windows operating system enables Windows Firewall on all network connections by default.

Values

true

Enables Windows Firewall for Windows PE. This is the default value.

false

Disables Windows Firewall for Windows PE.

Valid Configuration Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | EnableFirewall

Applies To

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

XML Example

The following XML output disables the Windows Firewall.

<EnableFirewall>false</EnableFirewall>

See Also

Concepts

Microsoft-Windows-Setup