PublicProfile_LogDroppedPacketsPublicProfile_LogDroppedPackets

PublicProfile_LogDroppedPackets 指定丟棄的封包是否會記錄的 Windows 防火牆為公用設定檔。PublicProfile_LogDroppedPackets specifies whether dropped packets are logged for Windows Firewall for the public profile.

Values

truetrue

指定記錄丟棄的封包。Specifies that dropped packets are logged.

falsefalse

指定不記錄丟棄的封包。Specifies that dropped packets are not logged. 這是預設值。This is the default value.

父階層Parent Hierarchy

Networking-MPSSVC-Svc | PublicProfile_LogDroppedPacketsNetworking-MPSSVC-Svc | PublicProfile_LogDroppedPackets

有效的設定階段Valid Configuration Passes

特製化specialize

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱網路功能-MPSSVC-SvcFor the list of the supported Windows editions and architectures that this component supports, see Networking-MPSSVC-Svc.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定 Windows 防火牆。The following XML output shows how to set Windows Firewall.

<DisableStatefulFTP>true</DisableStatefulFTP>
<DisableStatefulPPTP>true</DisableStatefulPPTP>
<DomainProfile_DisableNotifications>true</DomainProfile_DisableNotifications>
<DomainProfile_LogDroppedPackets>true</DomainProfile_LogDroppedPackets>
<DomainProfile_LogFile>C:\\MyLogFile.log</DomainProfile_LogFile>
<DomainProfile_LogFileSize>8192</DomainProfile_LogFileSize>
<DomainProfile_LogSuccessfulConnections>true</DomainProfile_LogSuccessfulConnections>
<PrivateProfile_DisableNotifications>true</PrivateProfile_DisableNotifications>
<PrivateProfile_LogDroppedPackets>true</PrivateProfile_LogDroppedPackets>
<PrivateProfile_LogFile>C:\\MyLogFile.log</PrivateProfile_LogFile>
<PrivateProfile_LogFileSize>8192</PrivateProfile_LogFileSize>
<PrivateProfile_LogSuccessfulConnections>true</PrivateProfile_LogSuccessfulConnections>
<PublicProfile_DisableNotifications>true</PublicProfile_DisableNotifications>
<PublicProfile_LogDroppedPackets>true</PublicProfile_LogDroppedPackets>
<PublicProfile_LogFile>C:\\MyLogFile.log</PublicProfile_LogFile>
<PublicProfile_LogFileSize>8192</PublicProfile_LogFileSize>
<PublicProfile_LogSuccessfulConnections>true</PublicProfile_LogSuccessfulConnections>

Networking-MPSSVC-SvcNetworking-MPSSVC-Svc