WindowsPublished on May 22, 20268 min read

How to set up a new Windows VPS

Your Windows VPS has just been delivered with Windows Server 2025. This first-steps guide follows the order of the first few minutes: get your access details, connect, change the password, update, secure Remote Desktop and plan your backups. Each step points to the guide that covers it in detail.

Get your login details

The delivery email gives the VPS IP address, the user name Administrator and the password. You can find them at any time in the client area.

  1. In My Services, click your VPS. The Main IP appears in the banner, with a button to copy it.

  2. Open the Password tab. The Current access card shows the User and the password, hidden. The eye icon reveals it.

Store these details in a password manager before going any further. The banner's System line shows the installed Windows version.

Password tab with the Current access and Change password cards


Connect with Remote Desktop

Remote Desktop (RDP) listens on TCP port 3389.

  • On Windows, press Win + R, type mstsc and press Enter. Enter the VPS IP, click Connect, then enter Administrator and the password.

  • On a Mac, iPhone, iPad or Android device, install Microsoft's Windows App, which replaces the old Microsoft Remote Desktop app. Add a PC with the VPS IP.

  • On Linux, use Remmina and create an RDP connection.

# Windows, from the command line
mstsc /v:203.0.113.50
# Linux (Debian, Ubuntu)
sudo apt install remmina remmina-plugin-rdp
remmina

On the first connection, a message warns that the remote computer's certificate cannot be verified. This is normal: the VPS uses a self-signed certificate created at installation. Accept it to continue. Server Manager then opens, and you can close it.

The guide Connect to a Windows VPS via RDP covers each app and connection problems in detail.


Change the Administrator password

The initial password was sent by email. Replace it as soon as you first log in.

From the client area

  1. In the Password tab of the VPS page, type the new password in the New password field of the Change password card. The Generate link creates one for you.

  2. Write it down, then click Change.

Sessions currently open on the VPS may be disconnected.

From Windows

In the RDP session, press Ctrl + Alt + End (the remote equivalent of Ctrl + Alt + Del), then choose Change a password. In an administrator PowerShell, either of these two methods works.

net user Administrator "Ch@ngeMe-Now!"
# or with the native cmdlet
$Password = ConvertTo-SecureString "Ch@ngeMe-Now!" -AsPlainText -Force
Set-LocalUser -Name "Administrator" -Password $Password

By default, Windows Server requires a complex password. It must contain at least three kinds of characters out of uppercase, lowercase, digits and special characters, and must not include the account name. Aim for at least 12 characters.


Update Windows Server

Updates fix security flaws. Install them before putting the server into service. Windows labels are quoted as they appear in the delivered system, which is in English.

  1. Open Settings with Win + I, then Windows Update.

  2. Click Check for updates, then Download & install all.

  3. Restart if Windows asks you to, then log back in.

Windows Update page of Windows Server 2025 with the Download and install all button

In PowerShell, the PSWindowsUpdate module does the same.

# Install the module (once)
Install-Module PSWindowsUpdate -Force
# List available updates
Get-WindowsUpdate
# Install everything and restart if needed
Install-WindowsUpdate -AcceptAll -AutoReboot

After a restart, give the server a few minutes to finish applying updates before you reconnect.


Secure access to the server

Check the firewall

The Windows firewall is on by default. Do not turn it off. List the active rules.

Get-NetFirewallRule | Where-Object {$_.Enabled -eq "True"} | Select DisplayName, Direction, Action | Format-Table -AutoSize
RulePortPurpose
Remote Desktop - User Mode (TCP-In)3389 TCPRDP access
Remote Desktop - User Mode (UDP-In)3389 UDPSmoother RDP
Windows Remote Management (HTTP-In)5985 TCPWinRM, optional

For a website, open ports 80 and 443. If you do not use WinRM, turn its rule off.

# Open HTTP and HTTPS
New-NetFirewallRule -DisplayName "HTTP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow
New-NetFirewallRule -DisplayName "HTTPS" -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow
# Turn off the WinRM rule
Disable-NetFirewallRule -DisplayName "Windows Remote Management (HTTP-In)"

The guide How to open a port in Windows Firewall on a VPS explains how to open a port, restrict RDP to your address and read the logs.

Turn on Network Level Authentication (NLA)

With NLA, users must authenticate before Windows opens a session. Turn it on, then check that the second command returns 1.

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' `
  -Name "UserAuthentication" -Value 1
(Get-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp').UserAuthentication

Create a dedicated admin account

The Administrator account is the first target of brute-force attacks. Create an account with a less obvious name and give it admin and RDP rights.

$Password = ConvertTo-SecureString "Ch@ngeMe-Now!" -AsPlainText -Force
New-LocalUser -Name "adminops" -Password $Password -FullName "Admin Ops" -Description "Admin account"
Add-LocalGroupMember -Group "Administrators" -Member "adminops"
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "adminops"

Once the new account works in RDP, you can turn off Administrator.

Disable-LocalUser -Name "Administrator"

The Password tab in the client area acts on the Administrator account. If you turn it off, this rescue option no longer helps you. Keep the new account's password safe.

Change the RDP port and stop brute force

Moving away from port 3389 cuts down bot noise, but it does not replace a firewall rule. Follow Change the RDP port on a Windows Server VPS, then Block RDP brute-force attacks.


Set the time zone and language

A wrong time zone shifts logs and scheduled tasks. List the available time zones, then pick yours.

# List time zones and their ID
Get-TimeZone -ListAvailable | Select-Object Id, DisplayName
# Example: UTC
Set-TimeZone -Id "UTC"
Get-TimeZone

Without PowerShell, right-click the clock, then Adjust date and time. Turn off Set time zone automatically and pick the time zone from the list.

The system is delivered in US English. For another display language, install its language pack, then restart. Example with British English:

Install-Language en-GB
Set-WinSystemLocale en-GB
Set-WinUILanguageOverride -Language en-GB

Set up backups

Automatic backups from the client area are an add-on option. The Backups tab of the VPS page shows whether your VPS has it. If it shows Your server is not backed up, the Add backups button adds the option. The guide How to set up automatic VPS backups explains how it works and how to restore.

Backups tab of a VPS without the option, with the counter and the Add backups button

Inside Windows, the Windows Server Backup feature saves the system state and your folders.

Install-WindowsFeature -Name Windows-Server-Backup -IncludeManagementTools
Get-WindowsFeature -Name Windows-Server-Backup

To schedule it to a network share, or to copy your files with Robocopy, follow Back up your Windows VPS.


Check the VPS resources

Open Task Manager with Ctrl + Shift + Esc, Performance tab. Right after delivery, Windows indexes the disk and Defender runs its first scan, so the CPU and disk are busier for a few minutes.

The following commands show the Windows version, the disk, free space, memory and connectivity.

# Windows version
Get-ComputerInfo | Select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer
# Disk
Get-PhysicalDisk | Select FriendlyName, MediaType, Size
# Free space on C:
Get-PSDrive C | Select Name, Used, Free
# Total and free memory, in KB
Get-CimInstance Win32_OperatingSystem | Select TotalVisibleMemorySize, FreePhysicalMemory
# HTTP, HTTPS connectivity and latency
Test-NetConnection google.com -Port 80
Test-NetConnection google.com -Port 443
Test-Connection google.com -Count 4

Divide the memory values by 1024 to get them in MB.


Install your first roles

Web hosting with IIS

Install-WindowsFeature -Name Web-Server -IncludeManagementTools

The Web Platform Installer, which old tutorials still mention, has been retired by Microsoft. Download PHP from windows.php.net, in the Non Thread Safe build for IIS. The next steps are in How to install IIS on Windows Server. For a database, see Install SQL Server on a Windows VPS or Install MySQL on a Windows Server VPS.

ASP.NET applications

Install-WindowsFeature -Name Web-Server, Web-Asp-Net45, Web-Net-Ext45 -IncludeManagementTools

Then install the .NET runtime from dotnet.microsoft.com and deploy the app with Web Deploy or over FTP.

Several Remote Desktop users

Windows Server allows two simultaneous admin sessions. Beyond that, or for users who are not administrators, you need the Remote Desktop Services role and RDS CAL licenses bought from Microsoft or a reseller.

Install-WindowsFeature -Name RDS-RD-Server -IncludeManagementTools

The Windows Server license itself is already included and activated. The guide Activate a Windows Server license on a VPS shows how to check it.


Fix common problems

ProblemSolution
Cannot connect over RDPCheck the IP on the VPS page. From your computer, test the port with Test-NetConnection 203.0.113.50 -Port 3389. If the firewall is blocking, use the console on the VPS page.
Certificate warningNormal on the first connection. Accept the certificate.
Password rejectedCheck the keyboard layout and any extra space from a copy-paste. Type the password by hand.
Forgotten password or locked accountChange the password in the Password tab. You can also open the Console, click its Ctrl+Alt+Del button, then Change a password.
Windows Update stuck at 0%Restart the service with Restart-Service wuauserv in an administrator PowerShell.
RDP session drops at onceCheck the session limits in gpedit.msc, under Remote Desktop Session Host › Session Time Limits.
CPU at 100% after deliveryIndexing and Defender's first scan. Wait a few minutes.
Slow RDP displayIn mstsc, open the options, Experience tab, and lower the display quality.

Need help?

Open a ticket from Tickets › Open a Ticket, or from the Contact support tile at the bottom of the VPS page. In the Related Service field, pick the VPS so the team saves time. You can also ask your question on the OuiHeberg Discord.

Was this article helpful?

351 views
Share this article
Need a Windows VPS?

Windows Server 2025 with the license included, Remote Desktop access and management from the client area.

View plans →

Related Articles