Español

Resolver el bloqueo RDP por ataque de fuerza bruta

Los bots escanean el puerto 3389 y prueban contraseñas. Tras muchos intentos fallidos, Windows bloquea la cuenta.

Ver también: Conectar por RDP · Asegurar RDP

📋 Requisitos

Paso 1 — Cambiar el puerto en el registro

PowerShell
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name PortNumber -Value 3390

Paso 2 — Abrir el puerto en el firewall

PowerShell
New-NetFirewallRule -DisplayName "RDP Custom Port" -Direction Inbound -Protocol TCP -LocalPort 3390 -Action Allow

Paso 3 — Reiniciar el servicio RDP

PowerShell
Restart-Service TermService -Force

Paso 4 — Conectar con el nuevo puerto

TEXT
SU_IP:3390

⚠️ No cierre la sesión actual hasta probar el nuevo puerto.

Paso 5 — Bloquear el puerto antiguo (opcional)

PowerShell
New-NetFirewallRule -DisplayName "Bloquear RDP 3389" -Direction Inbound -Protocol TCP -LocalPort 3389 -Action Block

Verificar

PowerShell
netstat -an | findstr "3390"

¡Acceso RDP seguro! 🚀

¿Necesita ayuda?

¿Preguntas sobre esta guía? Nuestro equipo y la comunidad están aquí para ayudarle.