Me
Application Infrastructure Azure

MeshCentral on Windows Server 2025 on Azure User Guide

| Product: MeshCentral on Windows Server 2025 on Azure

Overview

MeshCentral is an open source, self hosted remote monitoring and management server. Install the small MeshCentral agent on your Windows, Linux and macOS devices, then control their desktops, open a remote terminal, transfer files and watch their status from one web console, all from your own server with no third party cloud in the middle.

This image runs MeshCentral 1.3.2 as a Windows service on Windows Server 2025 Datacenter (Desktop Experience) with Node.js 24.23.0 LTS. MeshCentral serves its console and agent connections itself over HTTPS on port 443, with its built in database; port 80 only redirects to HTTPS. On the first boot of every VM the image creates a MeshCentral administrator with a long random password and a TLS certificate of its own, and account sign-up is turned off, so nobody can claim the server before you. The Windows Server licence is included in the virtual machine price that Microsoft bills; MeshCentral is open source under the Apache License 2.0. cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours.

What is included:

  • MeshCentral 1.3.2 installed under C:\Program Files\MeshCentral, running as the Windows service meshcentral.exe (display name MeshCentral, startup Automatic)
  • Node.js 24.23.0 LTS
  • The MeshCentral console and agent connections on TCP 443 (HTTPS), TCP 80 redirecting to HTTPS, and Windows Firewall rules for both
  • A per-VM administrator admin with a random password, written to a file only administrators can read
  • A per-VM self signed TLS certificate, named for the VM's public IP address
  • Windows Server 2025 Datacenter, patched with Windows Update at build, Microsoft Defender Antivirus and Windows Firewall on
  • cloudimg's support team on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours

Prerequisites

An active Azure subscription, a Remote Desktop client, and a virtual network in the target region. Standard_B2ms (2 vCPU, 8 GiB RAM) is a good starting point for a small fleet of devices; choose a larger size for more devices and concurrent remote sessions. In the network security group, allow inbound TCP 3389 (Remote Desktop), TCP 443 (the console and agents) and TCP 80 (the redirect to HTTPS) from your own address ranges only. Agents on your devices must be able to reach TCP 443.

Step 1 - Deploy from the Azure Marketplace

Sign in to the Azure Portal, choose Create a resource, search the Marketplace for MeshCentral on Windows Server 2025 by cloudimg, and select Create. On Basics pick your subscription, resource group, region and size, and set the Administrator account username and password. Under Inbound port rules allow RDP (3389), HTTP (80) and HTTPS (443), then narrow each rule's source to your own address range on the Networking tab. Select Review + create, then Create.

Step 2 - Deploy from the Azure CLI

# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn cloudimg1647283583153:meshcentral-windows-server:default:latest

az vm create \
  --resource-group <your-rg> \
  --name meshcentral \
  --image cloudimg1647283583153:meshcentral-windows-server:default:latest \
  --size Standard_B2ms \
  --admin-username <admin-name> \
  --admin-password '<a strong password>' \
  --public-ip-sku Standard

az vm open-port --resource-group <your-rg> --name meshcentral --port 3389 --priority 1000
az vm open-port --resource-group <your-rg> --name meshcentral --port 443 --priority 1010
az vm open-port --resource-group <your-rg> --name meshcentral --port 80 --priority 1020

az vm open-port opens each port to any address; narrow the rules to your own ranges in the network security group afterwards.

First boot takes a few minutes. When the VM first starts, Windows finishes its setup, then the image creates this VM's MeshCentral administrator and certificate and starts the MeshCentral service. Until then the console does not answer on port 443. The setup is finished when the file C:\ProgramData\MeshCentral\meshcentral-firstboot.done exists (Step 4).

Step 3 - Connect with Remote Desktop

Connect to the VM's public IP address with your Remote Desktop client (on Windows, mstsc; on macOS, Windows App), signing in with the administrator name and password you set at deployment. Open Windows PowerShell as administrator for the commands below.

Step 4 - Confirm MeshCentral is running

Get-Content C:\ProgramData\MeshCentral\meshcentral-firstboot.done
Get-Service meshcentral.exe | Format-Table Status, StartType, Name, DisplayName
Get-NetTCPConnection -State Listen -LocalPort 80, 443 | Format-Table LocalAddress, LocalPort, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}}
done 2026-12-01T03:43:25.8965852Z server=20.127.58.155

 Status StartType Name            DisplayName
 ------ --------- ----            -----------
Running Automatic meshcentral.exe MeshCentral

LocalAddress LocalPort Process
------------ --------- -------
::                  80 node
::                 443 node

The first line shows when first boot finished and the server name it chose (the VM's public IP address). MeshCentral runs as the meshcentral.exe service, started automatically with Windows, and its Node.js process listens on ports 443 and 80.

Step 5 - Read your administrator password

First boot wrote the MeshCentral administrator's name and password to a file that only the SYSTEM account and the Administrators group can read:

Get-Content C:\ProgramData\MeshCentral\meshcentral-credentials.txt
MeshCentral on Windows Server 2025 by cloudimg
Web console: https://20.127.58.155/
MESHCENTRAL_USERNAME=admin
MESHCENTRAL_PASSWORD=<24 random characters, different on every VM>
Change this password after your first sign-in (your name, top right > My Account > Change Password).

The username is always admin; the password is random and different on every VM. Keep it somewhere safe, and change it after you first sign in (Step 9).

Step 6 - Sign in to the console

On your own computer, browse to https://<vm-public-ip>/. The certificate is this VM's own self signed one, so your browser warns about it the first time: accept it to continue (or put a trusted certificate in front for production, see Use a DNS name and a trusted certificate below). MeshCentral shows its sign-in page, with no link to create an account: sign-up is turned off. Sign in as admin with the password from Step 5.

The MeshCentral sign-in page served by the VM over HTTPS

Step 7 - Add your devices

After signing in you land on My Devices, where every device you enrol appears, grouped into device groups. Create a device group, then choose Add Agent in it: MeshCentral offers the agent installer for Windows, Linux, macOS and more, already pointing at this server. Run the installer on a device and it appears in the group within seconds, ready for remote desktop, terminal and file transfer. Agents connect to the server on port 443 at the server name from Step 4, so that address must be reachable from your devices.

The MeshCentral My Devices page after signing in as the administrator

Step 8 - Check the server

My Server shows MeshCentral's own view of the server: its version, the database, uptime and the server's resources, with tools to back up the database.

The MeshCentral My Server page showing the server's status

Step 9 - Secure your account

Open My Account to change the generated password and turn on two-factor sign-in (an authenticator app). From My Users you can add accounts for your colleagues; sign-up from the sign-in page stays off.

The MeshCentral My Account page with the password and two-factor settings

Use a DNS name and a trusted certificate

MeshCentral accepts the console only at its server name: the cert value in C:\Program Files\MeshCentral\meshcentral-data\config.json, which first boot set to the VM's public IP address. A Standard public IP keeps its address while the VM exists. To use a DNS name instead, point the name at the VM's public IP, then set it as the server name and restart MeshCentral, which issues itself a new web certificate for the new name:

$cfg = 'C:\Program Files\MeshCentral\meshcentral-data\config.json'
$json = (Get-Content $cfg -Raw) -replace '"cert": "[^"]*"', '"cert": "meshcentral.example.com"'
[IO.File]::WriteAllText($cfg, $json)
Restart-Service meshcentral.exe

Do this before you add devices, because agents are given the server name when they are installed. For a certificate browsers trust, MeshCentral can obtain one from Let's Encrypt itself (the letsencrypt section of config.json, which needs the DNS name and port 80 reachable from the internet); see the MeshCentral documentation.

Maintenance

  • Windows updates: Windows Update is on, as Microsoft ships it. Restarting the VM restarts MeshCentral automatically.
  • Back up your data: everything MeshCentral keeps (its database of users, device groups and devices, config.json and the certificates) is in C:\Program Files\MeshCentral\meshcentral-data. Back it up, or use the backup tools on My Server; Azure Backup of the VM covers it too.
  • Upgrade MeshCentral: self-update is off, so you choose when to upgrade. In an administrator PowerShell, stop the service, install the version you want with npm, and start it again; your data is kept:
Stop-Service meshcentral.exe
cd 'C:\Program Files\MeshCentral'
& 'C:\Program Files\nodejs\npm.cmd' install meshcentral@<version>
Start-Service meshcentral.exe
  • Logs: the service wrapper's logs are in C:\Program Files\MeshCentral\WinService\daemon, and the first boot log is C:\ProgramData\MeshCentral\meshcentral-firstboot.log (it never contains the password).
  • Firewall: Windows Firewall allows 443 and 80 through the rules in the MeshCentral group; the network security group decides who can reach them.

Support

cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours. Contact support@cloudimg.co.uk.