Knowledge Base Windows

Protecting Your Windows VPS from Brute Force Attacks

Windows Β· 2 min read

How to protect your Windows VPS from brute force attacks by using a strong password and setting an account lockout policy via Local Security Policy.

A brute force attack is an attempt to break into a VPS by repeatedly trying password combinations using automated tools. These attacks can come from malicious individuals or automated IP scanners spreading malware such as ransomware.

The main vulnerability: a weak password is the biggest opening attackers exploit.

1. Use a Strong Password

Make sure your VPS Remote Desktop password is strong and not easily guessed. Avoid combinations like 123456, 111111, or obvious names.

A strong password includes:

  • Uppercase and lowercase letters
  • Numbers
  • Special characters (optional)

Strong Password

2. Limit Login Attempts (Account Lockout)

By limiting login attempts, the account will be temporarily locked after a set number of failures β€” stopping brute force tools in their tracks.

On Windows 10

  1. Right-click Start β†’ Run β†’ type secpol.msc β†’ Enter

On Windows 7 / Server 2012

  1. Click Start β†’ type secpol.msc β†’ Enter

Next Steps (all Windows versions)

  1. Navigate to: Security Settings β†’ Account Policies β†’ Account Lockout Policy

  2. Double-click Account Lockout Threshold

    Account Lockout Policy

  3. Enter the recommended failure limit: 5

    Set Threshold

  4. The system will suggest automatic settings for lockout duration (30 minutes) and counter reset β€” click OK to accept

    Lockout Settings

With this setting, after 5 consecutive failed login attempts, the account will automatically lock for 30 minutes.

3. Install an Antivirus

As an additional layer of protection, install a lightweight antivirus such as AVG Free to protect your VPS from malware threats.

Chat Support

We're here to help

Available Mon–Sun, 08:00–22:00 WIB