Administrator access, so securing the server is up to you. These steps take a few minutes; do them right after your first sign-in.
1
Use a strong password and keep Windows updated
Use a long, unique password for every account that can sign in over RDP. Install Windows updates regularly, and keep Network Level Authentication turned on (it is on by default).
2
Change the default RDP port
RDP uses port
3389 by default, and bots scan it constantly. Moving RDP to another port cuts down most automated attempts.- Open PowerShell as Administrator.
- Allow the new port through Windows Firewall first, replacing
49152with any free port between 1024 and 65535:
- Change the port RDP listens on:
- Restart the server from the Billing Portal.
- Connect to
IP:PORT, for example203.0.113.10:49152. The.rdpfile in the Billing Portal still uses port3389, so edit it or type the address yourself.
3
Create a new admin user and disable 'Administrator'
Bots usually try the username
Administrator. Signing in with a different name stops those attempts.- Press Windows key + R, type
compmgmt.mscand press Enter to open Computer Management, then go to Local Users and Groups > Users. - Right-click in the empty space and select New User. Give it a unique name and a strong password.
- Right-click your new user, select Properties > Member Of, and add it to the
AdministratorsandRemote Desktop Usersgroups. - Sign out, sign in with the new user, and check that it works. Then right-click the built-in
Administratoraccount and disable it.
4
Turn on account lockout
Windows can lock an account after repeated wrong passwords.
- Press Windows key + R, type
secpol.mscand press Enter to open Local Security Policy. - Go to Account Policies > Account Lockout Policy.
- Set Account lockout threshold to
5invalid logon attempts, and accept the suggested lockout duration.
5
Allow RDP only from your IP address (optional)
If you connect from a fixed IP address, limit the RDP firewall rule to it:If you kept port If your home IP address changes, you will need the Console to update the rule.
3389, limit the built-in Remote Desktop rules instead:Related Articles
Connect to your Windows RDP
DDoS protection
Reset server password
Run MT4 / MT5 for Forex Trading on a VPS
First steps on your Windows RDP
Password, updates, license, users and time zone.