Firewall de Windows Defender: permitir registro: valor del Registro LogDroppedPackets y 3 más (StandardProfile\Logging)EquipoHKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging
- Id. de directiva
- WF_Logging_Name_2
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows XP Professional con SP2
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Red › Conexiones de red › Firewall de Windows Defender › Perfil estándar
Registro
LogDroppedPackets
REG_SZEquipo- Valor al deshabilitar
- 0
Aplicar con .reg · CMD · PowerShell
Deshabilitada
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] "LogDroppedPackets"="0"
CMD · Deshabilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogDroppedPackets" /t REG_SZ /d 0 /f
PowerShell · Deshabilitada
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogDroppedPackets' -PropertyType String -Value '0' -Force | Out-Null
LogSuccessfulConnections
REG_SZEquipo- Valor al deshabilitar
- 0
Aplicar con .reg · CMD · PowerShell
Deshabilitada
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] "LogSuccessfulConnections"="0"
CMD · Deshabilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogSuccessfulConnections" /t REG_SZ /d 0 /f
PowerShell · Deshabilitada
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogSuccessfulConnections' -PropertyType String -Value '0' -Force | Out-Null
LogDroppedPackets
REG_DWORDEquipo- Marcada
- 1
- Sin marcar
- 0
- Elemento
- Registro de paquetes perdidos
- Tipo de valor
- REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] ; Opciones (usar solo una) ; Marcada "LogDroppedPackets"=dword:00000001 ; Sin marcar "LogDroppedPackets"=dword:00000000
CMD
:: Opciones (usar solo una) :: Marcada reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogDroppedPackets" /t REG_DWORD /d 1 /f :: Sin marcar reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogDroppedPackets" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null # Opciones (usar solo una) # Marcada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogDroppedPackets' -PropertyType DWord -Value 1 -Force | Out-Null # Sin marcar New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogDroppedPackets' -PropertyType DWord -Value 0 -Force | Out-Null
LogSuccessfulConnections
REG_DWORDEquipo- Marcada
- 1
- Sin marcar
- 0
- Elemento
- Registrar conexiones correctas
- Tipo de valor
- REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] ; Opciones (usar solo una) ; Marcada "LogSuccessfulConnections"=dword:00000001 ; Sin marcar "LogSuccessfulConnections"=dword:00000000
CMD
:: Opciones (usar solo una) :: Marcada reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogSuccessfulConnections" /t REG_DWORD /d 1 /f :: Sin marcar reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogSuccessfulConnections" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null # Opciones (usar solo una) # Marcada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogSuccessfulConnections' -PropertyType DWord -Value 1 -Force | Out-Null # Sin marcar New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogSuccessfulConnections' -PropertyType DWord -Value 0 -Force | Out-Null
LogFilePath
REG_SZEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Ruta y nombre de archivo de registro:
- Tipo de valor
- REG_SZ
- Obligatorio
- true
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] ; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos "LogFilePath"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogFilePath" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogFilePath' -PropertyType String -Value '<introducir valor>' -Force | Out-Null
LogFileSize
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Límite de tamaño (KB):
- Tipo de valor
- REG_DWORD
- Obligatorio
- true
- Valor mínimo
- 128
- Valor máximo
- 32767
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging] ; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos "LogFileSize"=dword:<introducir valor>
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging" /v "LogFileSize" /t REG_DWORD /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Logging' -Name 'LogFileSize' -PropertyType DWord -Value '<introducir valor>' -Force | Out-Null