Installing a program on Windows Server feels much like installing one on a PC, and over Remote Desktop it mostly is. The differences are in the details: servers should only run software from trusted sources, programs often need to work for every user, and you want installs you can repeat next month on a new server without clicking through the same wizard. This guide covers getting installers onto the server, verifying them, running them interactively and silently, package managers, and Windows' own roles and features.
You need an RDP connection as a member of the Administrators group. If you're not there yet, see connecting with Remote Desktop.
Get the installer onto the server
Download it on the server. This is usually the fastest option. Windows Server 2022 and 2025 ship with Microsoft Edge. Download only from the vendor's own website, and close the browser afterwards — a server is not a place for general browsing.
Download it with PowerShell. Handy for scripts and for Server Core, where there is no browser:
New-Item -ItemType Directory -Path C:\Install -Force
Invoke-WebRequest -Uri "https://example.com/downloads/app-x64.msi" -OutFile "C:\Install\app-x64.msi"
Copy it over RDP. Copy and paste a file into File Explorer, or share a local folder in your RDP client. This is fine for small files you already have; for large downloads, fetching directly on the server is faster.
Keep installers in one fixed folder such as C:\Install, so you know later exactly which version was installed.
Verify what you downloaded
Two quick checks protect you against a corrupted or tampered file:
Get-FileHash "C:\Install\app-x64.msi" -Algorithm SHA256
Get-AuthenticodeSignature "C:\Install\app-x64.msi" | Format-List Status, SignerCertificate
Compare the hash with the one the vendor publishes, if they do. The signature status should be Valid, and the signer should be the company you expect. NotSigned or HashMismatch is a reason to stop.
MSI or EXE?
Installers come in two main formats, and when a vendor offers both, MSI is usually the better choice on a server.
| MSI | EXE | |
|---|---|---|
| Engine | Windows Installer | The vendor's own |
| Silent install | Same switches for every product | Varies by vendor |
| Logging | Built in (/l*v) | Varies |
| Uninstall | msiexec /x or Installed apps | Vendor's uninstaller |
| Best for | Repeatable, scripted installs | Software only offered as EXE |
Install step by step
- Take a snapshot or backup before anything substantial, so you can roll back.
- Read the requirements. Many applications need a Windows feature such as .NET Framework 3.5 or IIS, or a specific Visual C++ runtime.
- Run the installer as administrator — right-click → Run as administrator if it doesn't prompt.
- Choose "all users" / "everyone" when asked. That installs under
C:\Program Filesinstead of your own profile. - Restart only when needed, and at a time when nobody depends on the server.
- Open only the firewall ports the program actually listens on.
Tip: Write down the version you installed and the options you picked. When you build the next server — or rebuild this one — you'll be glad you did.
Silent installs
Silent installs run without a wizard. That makes them repeatable and scriptable.
MSI
$p = Start-Process msiexec.exe -ArgumentList '/i "C:\Install\app-x64.msi" /qn /norestart /l*v "C:\Install\app-install.log"' -Wait -PassThru
$p.ExitCode
/qn means no user interface, /norestart stops automatic reboots, and /l*v writes a verbose log you can search if something fails. Exit code 0 means success; 3010 means success, but a restart is required. Anything else: look in the log for Return value 3, which marks the step that failed.
EXE
There is no standard. Common switches are /S, /silent, /quiet or /verysilent, depending on the tool that built the installer. Check the vendor's documentation, or run the installer with /? to see its help, rather than guessing:
Start-Process "C:\Install\setup.exe" -ArgumentList "/quiet /norestart" -Wait -PassThru
Package managers: winget and Chocolatey
A package manager downloads, installs and updates software with one command, which keeps servers consistent.
winget (Windows Server 2025)
winget is built into Windows Server 2025:
winget search 7zip
winget install --id 7zip.7zip --exact --silent --accept-package-agreements --accept-source-agreements
winget upgrade --all --silent
On Windows Server 2022, winget is not part of the operating system and Microsoft does not support it there, so don't build your processes around it on that version.
Chocolatey (2022 and 2025)
Chocolatey is a long-established community package manager that works on both versions. Install it with the command from its official documentation, then:
choco install 7zip -y
choco list
choco upgrade all -y
Many Chocolatey packages are maintained by volunteers and download the vendor's installer at install time. Check who maintains a package and how recently it was updated before you rely on it in production.
Windows roles and features
Some "software" is part of Windows itself: IIS, .NET Framework 3.5, Windows Server Backup, the Telnet client, and more. Add these with Server Manager → Add Roles and Features, or with PowerShell:
Get-WindowsFeature | Where-Object Installed
Install-WindowsFeature -Name NET-Framework-Core
Install-WindowsFeature -Name Windows-Server-Backup -IncludeManagementTools
If installing .NET 3.5 fails because Windows can't find the files, mount your Windows Server ISO and point to its sources\sxs folder:
Install-WindowsFeature -Name NET-Framework-Core -Source D:\sources\sxs
The web server role has its own guide: installing and configuring IIS.
Software for several users
If several people log in to the server, an application installed into one user's profile is invisible to the others. Always pick the all-users option. On a server running the Remote Desktop Session Host role, switch to install mode first so per-user settings are captured correctly. Run the installer between the first two commands:
change user /install
change user /execute
change user /query
Remember that more than two simultaneous users require Remote Desktop Services and RDS CALs.
Open the firewall only where needed
Programs that accept connections — a database, a licence server, a game server — need an inbound firewall rule. Open the specific port, and restrict the source wherever possible:
New-NetFirewallRule -DisplayName "App API 8443 - office only" -Direction Inbound -Protocol TCP -LocalPort 8443 -RemoteAddress 203.0.113.10 -Action Allow -Profile Any
Get-NetTCPConnection -State Listen -LocalPort 8443
Warning: Never open database ports such as 1433 (SQL Server) or 3306 (MySQL) to the whole internet. Allow only the servers that need them.
More on rules and scoping in configuring Windows Firewall.
Keep it updated — and keep it lean
Windows Update patches Windows and, if you enable it, other Microsoft products. Everything else is your job: use the program's own updater, install the new version, or run winget upgrade or choco upgrade. To see what is installed:
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName | Sort-Object DisplayName | Format-Table DisplayName, DisplayVersion, Publisher
Uninstall anything you no longer use. Every program is something that needs patching, and unused software is the kind that gets forgotten. See protecting Windows Server against unauthorised access for the rest of the hardening routine.
Common problems
| Problem | Fix |
|---|---|
Invoke-WebRequest fails with a TLS error | Install Windows updates; on older builds set [Net.ServicePointManager]::SecurityProtocol = 'Tls12' for the session |
| Installer says .NET 3.5 is missing | Install-WindowsFeature NET-Framework-Core, with -Source if needed |
| Program only works for the user who installed it | Reinstall for all users; use install mode on RDS |
| Service runs but can't be reached from outside | Check it listens with Get-NetTCPConnection, then add a firewall rule |
| MSI fails silently | Read the /l*v log and search for Return value 3 |
In short
Download from the vendor or a package manager, verify the hash and signature, prefer MSI with msiexec /qn for repeatable installs, install for all users, and add Windows components with Install-WindowsFeature. Use winget on Server 2025 or Chocolatey on 2022. Open only the ports you need, keep third-party software updated yourself, and remove what you don't use.
Software on a Hostigan VPS
A Hostigan VPS gives you full administrator access and NVMe storage, so you install and run whatever your licence allows. On VPS Plus and up you can take a snapshot before a big install and roll back if it goes wrong.
Frequently asked questions
winget is included in Windows Server 2025. On Windows Server 2022 it is not part of the operating system and Microsoft does not support it there, so use vendor installers or Chocolatey instead.