Navidrome on Windows Server 2025 on Azure User Guide
Overview
Navidrome is an open source, self-hosted music streaming server. You copy your music collection onto the server; Navidrome reads the tags and cover art, organises albums, artists, genres and playlists, and streams them to any browser through its built-in web player, or to the many Subsonic-compatible apps for phones, desktops and smart speakers. It keeps each user's favourites, ratings, play counts and playlists, and transcodes on the fly when a connection is slow.
This image runs Navidrome 0.65.0 on Windows Server 2025 Datacenter (Desktop Experience), with the ffmpeg build that Navidrome ships for transcoding. Navidrome listens only on the VM itself; in front of it, Caddy serves the web player and the APIs on HTTPS port 443, and port 80 only redirects to HTTPS. Your music lives in C:\Music.
Navidrome makes the first account anyone registers its administrator. A server that showed that form on a public address could be taken over by whoever reached it first, so this image never does: on the first boot of every VM, before port 443 opens, the image creates the database, its own TLS certificate, its own password-encryption key and the administrator admin with a random password, and checks that the create-the-first-administrator form is closed. Nothing is shared between machines. The Windows Server licence is included in the virtual machine price that Microsoft bills; Navidrome is open source under the GNU General Public License version 3. Support by email from cloudimg's team at support@cloudimg.co.uk, on hand 24 hours a day, with a guaranteed response within 24 hours.
What is included:
- Navidrome 0.65.0 (
C:\Program Files\Navidrome\navidrome.exe), from the project's own Windows release, running as the Windows serviceNavidrome(startup Automatic) under its own virtual accountNT SERVICE\Navidrome, not LocalSystem, listening on127.0.0.1:4533only - The ffmpeg and ffprobe build that Navidrome bundles in its Windows release (FFmpeg 7.1, GPL version 3), which Navidrome runs to transcode
- Caddy 2.11.9 as the HTTPS front, running as the Windows service
NavidromeProxyunderNT SERVICE\NavidromeProxy: HTTPS on TCP 443 with this VM's own certificate, TCP 80 redirecting to HTTPS, and Windows Firewall rules for both ports - The administrator
adminwith a per-VM 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 and computer name, valid for ten years
- The music folder
C:\Music(administrators may write; Navidrome may only read), and Navidrome's settings, database, caches and logs inC:\ProgramData\Navidrome, made at first boot so every VM has its own - Windows Server 2025 Datacenter, updated with Windows Update at build, Microsoft Defender Antivirus and Windows Firewall on
- Support by email from cloudimg's team at support@cloudimg.co.uk, on hand 24 hours a day, 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 household or a small team; choose more vCPUs if many people stream transcoded audio at once. The image has no data disk, so your music shares the OS disk: choose an OS disk large enough for your collection at deployment, or attach a data disk and point Navidrome at it (see Keep your music on a data disk below). In the network security group, allow inbound TCP 3389 (Remote Desktop), TCP 443 (Navidrome) and TCP 80 (the redirect to HTTPS) from your own address ranges only.
Step 1 - Deploy from the Azure Marketplace
Sign in to the Azure Portal, choose Create a resource, search the Marketplace for Navidrome 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:navidrome-windows-server:default:latest
az vm create \
--resource-group <your-rg> \
--name navidrome \
--image cloudimg1647283583153:navidrome-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 navidrome --port 3389 --priority 1000
az vm open-port --resource-group <your-rg> --name navidrome --port 443 --priority 1010
az vm open-port --resource-group <your-rg> --name navidrome --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 database, administrator, key and certificate and starts the two services. Until then Windows Firewall keeps ports 443 and 80 closed. The setup is finished when the file
C:\ProgramData\navidrome-windows-server-firstboot.doneexists (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 Navidrome is running
Open Windows PowerShell as administrator. First boot is done when its marker exists; then both services run under their own virtual accounts, Navidrome listens on the loopback address only, and Caddy answers on 443 and 80:
PS> Test-Path C:\ProgramData\navidrome-windows-server-firstboot.done
True
PS> Get-CimInstance Win32_Service -Filter "Name LIKE 'Navidrome%'" | Format-Table Name, State, StartMode, StartName -AutoSize
Name State StartMode StartName
---- ----- --------- ---------
Navidrome Running Auto NT SERVICE\Navidrome
NavidromeProxy Running Auto NT SERVICE\NavidromeProxy
PS> Get-NetTCPConnection -State Listen -LocalPort 443, 80, 4533 | Format-Table LocalAddress, LocalPort, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}} -AutoSize
LocalAddress LocalPort Process
------------ --------- -------
:: 80 caddy
:: 443 caddy
127.0.0.1 4533 navidrome
PS> curl.exe -sk -o NUL -w "%{http_code} %{redirect_url}`n" https://127.0.0.1/
302 https://127.0.0.1/app/
PS> curl.exe -s -o NUL -w "%{http_code} %{redirect_url}`n" http://127.0.0.1/app/
301 https://127.0.0.1/app/
PS> & "C:\Program Files\Navidrome\navidrome.exe" --version
0.65.0 (b2debbb3)
PS> & "C:\Program Files\Navidrome\ffmpeg.exe" -hide_banner -version | Select-Object -First 1
ffmpeg version n7.1-14-g87ccf995cb-20241020 Copyright (c) 2000-2024 the FFmpeg developers
PS> & "C:\Program Files\Navidrome\caddy\caddy.exe" version
v2.11.9 h1:bhZtcRKQOq0fuLvEgCdPYvUxXyGn9kzjG4lh2332DTE=
PS> Get-NetFirewallRule -Group 'Navidrome' | Get-NetFirewallPortFilter | Format-Table Protocol, LocalPort -AutoSize
Protocol LocalPort
-------- ---------
TCP 80
TCP 443
The first boot log tells what first boot did on this VM, ending with first boot done:
PS> Get-Content C:\ProgramData\navidrome-windows-server-firstboot.log -Tail 13
2026-12-03T11:53:37.8599642Z provisioning finished
2026-12-03T11:53:48.7207277Z services: Navidrome as NT SERVICE\Navidrome, NavidromeProxy as NT SERVICE\NavidromeProxy
2026-12-03T11:53:51.7498256Z made C:\ProgramData\Navidrome (config: Navidrome read; data, cache, logs: Navidrome modify; proxy: NavidromeProxy read, proxy\state: NavidromeProxy modify)
2026-12-03T11:53:51.7622465Z made C:\Music (SYSTEM, Administrators full; Navidrome read)
2026-12-03T11:53:53.5604590Z navidrome.toml written (SYSTEM, Administrators; NT SERVICE\Navidrome read): 127.0.0.1:4533, this VM's own PasswordEncryptionKey
2026-12-03T11:54:34.6314809Z Navidrome 0.65.0 ready after 31 s on 127.0.0.1:4533 (firstTime=true)
2026-12-03T11:55:46.2989709Z administrator admin made: createAdminAgain=403 firstTime=false login=200/token=1 users=1/onlyAdmin=1 wrong=401 noToken=401
2026-12-03T11:55:55.5915028Z certificate CN=<vm-public-ip> names=wsrdp-0fbcdf,<vm-public-ip>,10.20.0.11 sha256=BADA3A4B691925F67BF93A73258A8A4CD9418EB19B4CA802C69587A33996EC6C; Caddyfile written
2026-12-03T11:56:18.8404931Z HTTPS front: root=1 page=1 ping=1 login=1 redirect=1 status=302/200/200/301
2026-12-03T11:56:18.8697577Z credentials written (SYSTEM and Administrators only)
2026-12-03T11:56:19.9434449Z Windows Firewall rules cloudimg-Navidrome-HTTPS-In, cloudimg-Navidrome-HTTP-In (TCP 443, 80) enabled
2026-12-03T11:56:20.5875584Z both services Automatic and running
2026-12-03T11:56:27.0095295Z first boot done
The same checks as a screenshot:

Step 5 - Read your password
First boot wrote this VM's sign-in to C:\ProgramData\navidrome-windows-server-credentials.txt, a file only SYSTEM and the Administrators group can read. Read the password on the VM, in an administrator PowerShell:
Get-Content C:\ProgramData\navidrome-windows-server-credentials.txt
The password is on the line navidrome-windows-server.admin.password=. Here it is hidden; on your VM the command above shows it:
PS> (Get-Content C:\ProgramData\navidrome-windows-server-credentials.txt) -replace '(password=).*', '$1<hidden here>'
# Navidrome on Windows Server 2025 by cloudimg: this VM's own administrator sign-in (made at first boot).
# Sign in at https://<vm-public-ip>/ as admin with the password below (allow TCP 443 from your address in the network
# security group first). The certificate is this VM's own, self-signed:
# C:\ProgramData\Navidrome\proxy\tls\cert.pem
# Copy your music into C:\Music; Navidrome finds new files by itself.
# Guide: https://www.cloudimg.co.uk/guides/navidrome-on-windows-server-2025-azure/
navidrome-windows-server.admin.user=admin
navidrome-windows-server.admin.password=<hidden here>
navidrome-windows-server.url=https://<vm-public-ip>/
navidrome-windows-server.music.folder=C:\Music
PS> (Get-Acl C:\ProgramData\navidrome-windows-server-credentials.txt).Access | Format-Table IdentityReference, FileSystemRights -AutoSize
IdentityReference FileSystemRights
----------------- ----------------
NT AUTHORITY\SYSTEM FullControl
BUILTIN\Administrators FullControl

The password is random, made on this VM at its first boot; no two VMs share it, and it is never in the image.
Step 6 - Check the certificate
Caddy serves HTTPS with this VM's own self signed certificate, made at first boot and named for the VM's public IP address, private IP address and computer name. Note its SHA-256 fingerprint, so that you can compare it with the one your browser shows before you accept the warning in Step 7:
PS> $c = [Security.Cryptography.X509Certificates.X509Certificate2]::new("C:\ProgramData\Navidrome\proxy\tls\cert.pem")
PS> $c | Format-List Subject, NotBefore, NotAfter, @{n='Names';e={($_.Extensions | Where-Object { $_.Oid.Value -eq '2.5.29.17' }).Format($false)}}, @{n='SHA256';e={$_.GetCertHashString('SHA256')}}
Subject : CN=<vm-public-ip>, O=Navidrome on Windows Server (cloudimg)
NotBefore : 12/3/2026 11:50:54 AM
NotAfter : 12/3/2036 11:55:54 AM
Names : DNS Name=wsrdp-0fbcdf, IP Address=<vm-public-ip>, IP Address=10.20.0.11
SHA256 : BADA3A4B691925F67BF93A73258A8A4CD9418EB19B4CA802C69587A33996EC6C

Step 7 - Sign in from your browser
On your own computer, browse to https://<vm-public-ip>/ and accept the certificate warning (or install a trusted certificate, see Use a DNS name and a trusted certificate below). Navidrome's sign-in page opens: enter admin and the password from Step 5. There is no Create Admin form: the administrator already exists.

Step 8 - Add your music
A new VM starts with an empty library. Copy your music into C:\Music over Remote Desktop (copy and paste from your own computer works with the Remote Desktop client's clipboard or drive redirection), or download it on the VM. Navidrome reads common formats (MP3, FLAC, AAC/M4A, Ogg Vorbis, Opus, WMA and more), takes artist, album and track from the files' tags, and shows a cover.jpg or folder.jpg beside the files, or a picture embedded in them, as the album's cover. A folder per artist and album (C:\Music\<Artist>\<Album>\<track>.flac) keeps things tidy, but Navidrome goes by the tags, not the folder names.
Navidrome watches C:\Music and picks up new files by itself within a minute or so; to scan at once, open the activity menu (the pulse icon at the top right) and choose Scan Library (hold Shift for a full rescan).
The screenshots below show a demo library of six albums of generated tones, made for them; your library will show your own music. Navidrome opens on the album grid:

Open an album and choose Play: the player at the bottom streams the tracks over HTTPS. A track whose format or bit rate the player cannot take is transcoded on the fly by ffmpeg.

Step 9 - Add people
Each person gets their own account, with their own favourites, ratings, play counts and playlists. Signed in as admin, open the user menu (top right) > Users, and choose Create: give a user name, a name and a password, and leave Is admin off unless they should manage the server. A new VM has exactly one account, the administrator first boot made:

Step 10 - Listen from a Subsonic app
Navidrome speaks the Subsonic API, so most Subsonic-compatible apps work with it (for example Symfonium, Ultrasonic, play:Sub, substreamer, Sonixd or Feishin; see Navidrome's list of apps). In the app, add a server with the address https://<vm-public-ip>/, your user name and your password. Apps that check the certificate need a trusted one (see Use a DNS name and a trusted certificate below); some let you accept a self signed certificate.
Apps and scripts can use Navidrome's own API and the Subsonic API. On the VM, Navidrome answers on http://127.0.0.1:4533; from outside, use https://<vm-public-ip>/. Without a sign-in, the API refuses; signing in returns a token for Navidrome's API and a token and salt for the Subsonic API (this example reads the password from the credentials file into a variable and prints neither):
PS> $pw = (Select-String C:\ProgramData\navidrome-windows-server-credentials.txt -Pattern 'admin\.password=(\S+)').Matches[0].Groups[1].Value
PS> curl.exe -s -o NUL -w "%{http_code}`n" http://127.0.0.1:4533/api/user
401
PS> $login = Invoke-RestMethod -Method Post http://127.0.0.1:4533/auth/login -ContentType application/json -Body (@{username='admin'; password=$pw} | ConvertTo-Json)
PS> $login | Format-List username, name, isAdmin, @{n='tokenLength';e={$_.token.Length}}
username : admin
name : Admin
isAdmin : True
tokenLength : 217
PS> $s = @{u='admin'; t=$login.subsonicToken; s=$login.subsonicSalt; v='1.16.1'; c='guide'; f='json'}
PS> (Invoke-RestMethod -Method Post http://127.0.0.1:4533/rest/ping.view -Body $s).'subsonic-response' | Format-List status, version, type, serverVersion, openSubsonic
status : ok
version : 1.16.1
type : navidrome
serverVersion : 0.65.0 (b2debbb3)
openSubsonic : True
PS> (Invoke-RestMethod -Method Post http://127.0.0.1:4533/rest/getAlbumList2.view -Body ($s + @{type='alphabeticalByName'})).'subsonic-response'.albumList2.album | Format-Table name, artist, year, songCount -AutoSize
name artist year songCount
---- ------ ---- ---------
First Light Aster Quartet 2023 4
Harbour Lights Night Harbour 2026 4
Low Tide Night Harbour 2024 4
Morning Tones Aster Quartet 2025 5
Quiet Rooms Juniper Hall 2025 4
Signal Paths Copper Lane 2026 5
Change the admin password
Sign in as admin, open the user menu > Users, select admin, choose Change Password, enter the current and the new password, and save. Update C:\ProgramData\navidrome-windows-server-credentials.txt too, so the file stays right.
Keep your music on a data disk
To keep a large library off the OS disk, attach a data disk to the VM in the Azure portal, initialise and format it in Disk Management (say as M:), and copy your music there. Then let Navidrome's account read it and point Navidrome at it:
icacls M:\Music /grant "NT SERVICE\Navidrome:(OI)(CI)RX"
notepad C:\ProgramData\Navidrome\config\navidrome.toml # set MusicFolder = 'M:\Music'
Restart-Service Navidrome
Use a DNS name and a trusted certificate
The image's certificate is self signed. To use a DNS name with a certificate your users' browsers and apps already trust, point the name at the VM's public IP, get a certificate and key for it as PEM files, and replace C:\ProgramData\Navidrome\proxy\tls\cert.pem (the certificate, with any intermediate certificates after it) and key.pem (the private key); then Restart-Service NavidromeProxy.
Maintenance
- Windows updates: Windows Update is on, as Microsoft ships it. Restarting the VM restarts both services automatically.
- Settings: Navidrome's settings are in
C:\ProgramData\Navidrome\config\navidrome.toml(every option is in Navidrome's configuration reference); restart the service after a change (Restart-Service Navidrome). KeepAddress = '127.0.0.1': Caddy is the only door from outside.PasswordEncryptionKeyencrypts the stored passwords: changing it makes every stored password unreadable. - Back up your data: the database (users, playlists, favourites, play counts) is
C:\ProgramData\Navidrome\data\navidrome.db, with the settings inC:\ProgramData\Navidrome\config(keepnavidrome.tomlwith the database: its key decrypts the passwords) and the front's Caddyfile and certificate inC:\ProgramData\Navidrome\proxy. Your music isC:\Music. Use Azure Backup of the VM, or stop the services and copy the folders. - Logs: Navidrome's log is in
C:\ProgramData\Navidrome\logs, Caddy's inC:\ProgramData\Navidrome\proxy\state\logs, and the first boot log isC:\ProgramData\navidrome-windows-server-firstboot.log. - Sign-in limit: Navidrome accepts at most 5 sign-in attempts every 20 seconds and, behind Caddy, counts them for everyone together; after a burst of wrong passwords, wait 20 seconds.
- Upgrades: you choose when to upgrade Navidrome. Read the release notes first, back up
C:\ProgramData\Navidrome, then stop the services (Stop-Service NavidromeProxy, Navidrome), replaceC:\Program Files\Navidrome\navidrome.exewith the one from the new release'snavidrome_<version>_windows_amd64.zip, and start them again (Start-Service Navidrome, NavidromeProxy). The database is upgraded when Navidrome starts. - Licences: Navidrome's licence (GPL version 3) is
C:\Program Files\Navidrome\LICENSE-Navidrome.txt, ffmpeg's statement and where to find its sourceLICENSE-FFmpeg.txt, andREADME.txtlists every component. - Firewall: Windows Firewall allows 443 and 80 through the rules in the Navidrome group; the network security group decides who can reach them.
Support
Support by email from cloudimg's team at support@cloudimg.co.uk, on hand 24 hours a day, with a guaranteed response within 24 hours.