⚙️ Initial Setup of a Windows VPS
This guide explains the essential steps to perform during the initial configuration of your Windows VPS provided by Infrawire. These actions are crucial to secure your server and ensure its proper operation.
📋 Prerequisites
- A Windows VPS provided by Infrawire
- RDP access to your server (see tutorial Connect via RDP)
- Connection credentials received by email
🔐 Step 1: Change the Administrator Password
Why change the password?
The password provided upon delivery is temporary. It is strongly recommended to change it immediately for security reasons.
Windows Password Requirements
Important : Windows Server requires a complex password. If your password does not meet these criteria, Windows will refuse to change it.
Your new password must contain at minimum :
- 8 characters minimum (recommended: 12 characters or more)
- At least one uppercase letter (A-Z)
- At least one lowercase letter (a-z)
- At least one digit (0-9)
- At least one special character (!, @, #, $, %, etc.)
Example of valid password : MyVPS2024!Secure
How to Change the Password
Method 1: Via Windows Settings
- Connect to your Windows VPS via RDP
- Press
Windows + Ito open Settings - Go to Accounts → Sign-in options
- Click on Password → Change
- Enter your current password
- Enter your new password (meet complexity requirements)
- Confirm the new password
- Click Next then Finish
Method 2: Via Ctrl + Alt + Del
- Connect to your Windows VPS via RDP
- Press
Ctrl + Alt + Del(orCtrl + Alt + Endin an RDP session) - Select Change password
- Enter your current password
- Enter your new password (meet complexity requirements)
- Confirm the new password
- Click the arrow or press
Enter
Method 3: Via PowerShell (Administrator)
- Right-click on the Start menu
- Select Windows PowerShell (Administrator) or Terminal (Administrator)
- Run the following command (replace
NewPassword123!with your password) :
$user = "Administrator" $password = ConvertTo-SecureString "NewPassword123!" -AsPlainText -Force Set-LocalUser -Name $user -Password $password
Verification
After changing the password:
- Disconnect from your RDP session
- Reconnect with the new password
- If the connection works, the change was successful!
🔄 Step 2: Update Windows
Why Update Windows?
Windows updates bring:
- Security fixes : Patches for discovered vulnerabilities
- Stability improvements : Bug fixes
- New features : System improvements
Check for Available Updates
- Press
Windows + Ito open Settings - Go to Update & Security → Windows Update
- Click Check for updates
- Windows will search for available updates
Install Updates
- If updates are available, click Download and install
- Wait for download and installation to complete
- If Windows asks for a restart, click Restart now
- ⚠️ Important : Save your work before restarting
- After restart, reconnect and check if there are more updates
- Repeat until no more updates are available
Automatic Update Configuration (Recommended)
To have Windows automatically install security updates:
- In Settings → Update & Security → Windows Update
- Click Advanced options
- Enable Restart this device as soon as possible after an update
- Configure Active hours to avoid restarts during your working hours
🛡️ Step 3: Configure Windows Firewall
Windows Firewall is enabled by default, but it's important to check its configuration.
Check Firewall Status
- Press
Windows + R - Type
wf.mscand pressEnter - Verify that Windows Defender Firewall is enabled for profiles:
- Domain
- Private
- Public
Recommended Firewall Rules
By default, RDP (port 3389) should already be allowed. Check:
- In Windows Defender Firewall, click Inbound Rules
- Verify that a Remote Desktop rule exists and is enabled
- If you install applications (web server, database, etc.), you will need to create rules for their ports
🔒 Step 4: Disable Unnecessary Accounts
Check User Accounts
- Press
Windows + R - Type
lusrmgr.mscand pressEnter - Go to Users
- Check the accounts present
Disable Guest Account (if enabled)
- In Computer Management → Local Users and Groups → Users
- If the Guest account exists and is enabled, right-click on it
- Select Properties
- Check Account is disabled
- Click OK
🔐 Step 5: Configure Password Policy
To strengthen security, you can configure stricter password policies:
- Press
Windows + R - Type
gpedit.mscand pressEnter- ⚠️ Note : This feature is only available on Windows Server or Windows Pro
- Go to Computer Configuration → Windows Settings → Security Settings → Account Policies → Password Policy
- You can configure:
- Maximum password age : Forces periodic password changes
- Minimum password age : Prevents too frequent changes
- Minimum password length : Increases required minimum length
- Password must meet complexity requirements : Already enabled by default
🔄 Step 6: Configure Automatic Updates (Optional)
For a production server, you can configure Windows Update via Group Policy:
- Press
Windows + R - Type
gpedit.mscand pressEnter - Go to Computer Configuration → Administrative Templates → Windows Components → Windows Update
- Configure settings according to your needs:
- Configure Automatic Updates : Enable and choose the mode (notification, download, automatic installation)
- Schedule Automatic Restarts : Configure restart hours
✅ Initial Setup Checklist
After following this guide, your Windows VPS should have:
- ✅ Administrator password changed (complex and secure)
- ✅ Windows up to date (all updates installed)
- ✅ Windows Firewall enabled and configured
- ✅ Unnecessary accounts disabled
- ✅ Security policies configured (optional)
📝 Important Notes
- Save your new password in a secure password manager
- Never share your administrator credentials
- Perform regular updates to maintain security
- Monitor logs to detect potential intrusion attempts
📞 Need Help?
If you encounter difficulties during initial setup, please contact Infrawire support. Our team is available to help you.
Note : These configurations are essential for your server's security. Don't neglect these steps, especially changing the administrator password.