How to Secure a Windows RDP Server: A Practical Checklist
A Windows server with Remote Desktop open to the internet attracts login attempts. This checklist covers the settings worth checking first. Keep your current session open while you make changes, and test each one with a
A Windows server with Remote Desktop open to the internet attracts login attempts. This checklist covers the settings worth checking first.
Keep your current session open while you make changes, and test each one with a second connection.
1. Use a strong, unique password
Use a long password that you do not use anywhere else. A password manager makes this easy.
2. Install Windows updates
Open Settings > Windows Update and install pending updates. Plan restarts for a quiet time.
3. Require Network Level Authentication
Go to Settings > System > Remote Desktop and turn on the Network Level Authentication option. Users must then sign in before a full desktop session starts.
4. Set an account lockout policy
Run secpol.msc, then open Account Policies > Account Lockout Policy. Set a limit for failed attempts and a lockout duration. This slows password guessing.
5. Limit who can connect
In Windows Defender Firewall with Advanced Security, edit the inbound Remote Desktop rules and add your own IP addresses under Scope. Skip this if your IP changes often, or you may lock yourself out.
6. Use a separate account for daily work
Give each person their own account. Allow Remote Desktop access only to those who need it, and give administrator rights to as few accounts as possible.
7. Check failed logins
Open Event Viewer > Windows Logs > Security and filter for event ID 4625. Many entries from unknown addresses mean someone is guessing passwords.
8. Keep backups
Store a copy of important files outside the server, and test that you can restore it.
Common mistakes
- Relying only on a changed RDP port. It reduces noise but does not replace the steps above.
- Sharing one login between several people.
- Leaving old accounts active.
Wrapping up
Start with updates, a strong password, Network Level Authentication and a lockout policy. Then restrict access and review the logs regularly.
New to Remote Desktop? Read this Windows RDP guide.
Disclosure: I work with RDP Server VPS.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.