DomainProfile_LogFileDomainProfile_LogFile

DomainProfile_LogFile 網域設定檔中指定的 Windows 防火牆的預設記錄檔。DomainProfile_LogFile specifies the default log file for Windows Firewall for the domain profile.

Values

LogFilePathAndNameLogFilePathAndName

指定預設的記錄檔。Specifies the default log file. LogFilePathAndName是一個字串。LogFilePathAndName is a string. 預設值為 D:\Windows\system32\LogFiles\Firewall\pfirewall.logThe default value is D:\Windows\system32\LogFiles\Firewall\pfirewall.log.

父階層Parent Hierarchy

Networking-MPSSVC-Svc | DomainProfile_LogFileNetworking-MPSSVC-Svc | DomainProfile_LogFile

有效的設定階段Valid Configuration Passes

特製化specialize

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱網路功能-MPSSVC-SvcFor a 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