You maintain a Windows VPS yourself: updates, software and security. This guide is for Windows Server 2022. How to log in is in Connect to your Windows VPS with Remote Desktop.
Don't have a VPS yet? See our cheap VPS hosting.
Windows Update
Since 13 October 2026, Windows Server 2022 has been in extended support. Microsoft releases free security updates for it every month through 14 October 2031 (as of November 2026).
By default Windows Update is set to Download only: the server downloads updates and reports that they are ready, but doesn't install them. Search for Windows Update in Start to install them, or use SConfig:
- Open PowerShell as administrator and type
SConfig. - Type
6(Install updates) and then1for all quality updates. That's the name for the monthly updates, including security updates. - Type
Ato install everything. - If Windows asks for a restart, type
13in the main menu.
Plan this for a quiet moment: during the restart your game server and website are offline and Remote Desktop disconnects. Log in again after a few minutes. Restart any game server you started by hand in your session.
Prefer automatic updates? In SConfig, choose 5 (Update setting) and then A (Automatic). The server then installs updates every day at 3:00, in the server's time zone, and can restart by itself afterwards. A newer Windows version, such as Server 2025, doesn't come through Windows Update. If you want to switch, contact support.
Installing software safely
- Only download software from the maker's own site. If a program asks for the Visual C++ Redistributable, get it from Microsoft, not from a download site.
- Don't install cracked software or files from unknown links.
- Check who signed a file: right-click it, choose Properties and open the digital signatures tab. In PowerShell,
Get-AuthenticodeSignature .\setup.exeshould showValidunder Status. - If the maker puts a SHA256 hash on the download page, compare it with the result of
Get-FileHash .\setup.exe. - Keep programs updated with their own update function or with the newest version from the maker's site. Remove what you no longer use.
Can you use winget?
Not by default. Microsoft Learn lists winget, the Windows package manager, for Windows 10, Windows 11 and Windows Server 2025 (November 2026). On Server 2025, winget is installed by default. Windows Server 2022 is not on that list and doesn't have winget by default. So use the maker's installer there.
Microsoft Defender
Microsoft Defender Antivirus is on by default on Windows Server 2022, with the Windows Security app included. Check and control it in PowerShell:
Get-MpComputerStatus | Select-Object AntivirusEnabled, RealTimeProtectionEnabled, AntivirusSignatureLastUpdated
Update-MpSignature
Start-MpScan -ScanType QuickScan
The first two values should be True. Windows installs new virus definitions by itself even with Download only, as long as the Windows Update service is running. Update-MpSignature fetches them right away, Start-MpScan runs a quick scan.
Keeping Remote Desktop safe
Bots keep trying to log in to servers with Remote Desktop. Make it hard for them:
- Use a long, unique password. See Connect with Remote Desktop to change it.
- Keep Network Level Authentication (NLA) on: then someone has to sign in before a session starts. The SConfig main screen shows how Remote Desktop is set. If NLA is off, choose
7,Eand1. Never chooseD: that turns Remote Desktop off and locks you out. - If you have a fixed IP address at home, for example 198.51.100.25, allow Remote Desktop from that address only:
Set-NetFirewallRule -DisplayGroup "Remote Desktop" -RemoteAddress 198.51.100.25
You undo this with the same command and -RemoteAddress Any. Then check in wf.msc under Inbound Rules that no other rule opens port 3389 to everyone. If your IP address changes, you can no longer get in and you need support.
Do you have a Linux VPS? Then read Set up a firewall with UFW and Automatic backups with restic.