← Blog · 15 Sep 2026
RDP Security: How to Protect Your Windows Server from Attacks
Bots try passwords on port 3389 constantly. Protect your server:
- Long unique password (14+ characters) and change the default.
- Rename the Administrator account and create a normal user for daily work.
- Enable Network Level Authentication (NLA).
- Account lockout policy: lock for 15 minutes after 5 failed logins.
- Firewall: allow RDP only from your own IP address.
- Change the RDP port (it reduces noise, it is not a replacement for the other steps).
- Windows Update and antivirus on.
- Use a VPN for teams.
- Check Event Viewer for failed logins (event 4625).
If you see many failed logins, change the password and restrict the IP at once.