Label Studio on Windows Server 2025 on Azure User Guide
Overview
Label Studio is an open source data labelling tool from HumanSignal. Teams set up a project from a template, import text, images, audio, video or time series, annotate them in the browser, and export the results in the formats their machine learning models need.
This image runs Label Studio 1.23.2 Community Edition on Python 3.13 on Windows Server 2025 Datacenter (Desktop Experience). Label Studio listens on 127.0.0.1:8080 only; Caddy serves it over HTTPS on port 443 with a certificate made for this VM, and port 80 only redirects to HTTPS. On the first boot of every VM the image creates Label Studio's database, an administrator account (admin@cloudimg.local) with its own random password, Django's secret key and the TLS certificate, so nothing is shared between machines. Sign-up without your organisation's invite link is switched off. The Windows Server licence is included in the virtual machine price that Microsoft bills; Label Studio Community 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:
- Label Studio 1.23.2 Community Edition (HumanSignal's release from PyPI, Apache License 2.0) on Python 3.13.17 from python.org, private to Label Studio, in
C:\Program Files\Label Studio; every Python package is pinned to the exact file the image was built and checked with - The Windows service
LabelStudio(startup Automatic), running under its own virtual accountNT SERVICE\LabelStudio, not LocalSystem, on127.0.0.1:8080 - Caddy 2.11.9 as the Windows service
LabelStudioProxyunder its own virtual accountNT SERVICE\LabelStudioProxy: HTTPS on TCP 443, and TCP 80 redirecting to HTTPS - Label Studio's SQLite database, uploads and exports in
C:\ProgramData\LabelStudio\data, readable only by SYSTEM, Administrators and the Label Studio service - A per-VM administrator password, Django secret key and self signed TLS certificate (for the VM's public IP address, private IP address and computer name), all made at first boot
- Sign-up without an invite link switched off, and secure (HTTPS-only) session and CSRF cookies
- Windows Firewall rules for TCP 443 and TCP 80 only
- 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
This is Label Studio Community Edition; HumanSignal's Label Studio Enterprise features (role-based access, workspaces, reviewer workflows, single sign-on) are not included.
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; choose a larger size for many annotators or large image and video projects. In the network security group, allow inbound TCP 3389 (Remote Desktop) from your own address only, and TCP 443 (Label Studio over HTTPS) and TCP 80 (the redirect to HTTPS) from your users' address ranges.
Step 1 - Deploy from the Azure Marketplace
Sign in to the Azure Portal, choose Create a resource, search the Marketplace for Label Studio 1.23 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), HTTPS (443) and HTTP (80), then narrow each rule's source to your own address ranges 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:label-studio-windows-server:default:latest
az vm create \
--resource-group <your-rg> \
--name label-studio \
--image cloudimg1647283583153:label-studio-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 label-studio --port 3389 --priority 1000
az vm open-port --resource-group <your-rg> --name label-studio --port 443 --priority 1010
az vm open-port --resource-group <your-rg> --name label-studio --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 about ten minutes. When the VM first starts, Windows finishes its setup, then the image creates this VM's secret key, Label Studio's database and administrator, the certificate and the credentials file, and starts both services. Building the database takes most of that (about six minutes on Standard_B2ms). Ports 443 and 80 stay closed in Windows Firewall until Label Studio has proved it signs in over HTTPS, so nothing answers on them before then. The setup is finished when the file
C:\ProgramData\label-studio-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 Label Studio is running
Test-Path C:\ProgramData\label-studio-windows-server-firstboot.done
Get-CimInstance Win32_Service -Filter "Name LIKE 'LabelStudio%'" | Format-Table Name, State, StartMode, StartName -AutoSize
Get-NetTCPConnection -State Listen -LocalPort 443, 80, 8080 | Format-Table LocalAddress, LocalPort, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}} -AutoSize
Invoke-RestMethod http://127.0.0.1:8080/health/
True
Name State StartMode StartName
---- ----- --------- ---------
LabelStudio Running Auto NT SERVICE\LabelStudio
LabelStudioProxy Running Auto NT SERVICE\LabelStudioProxy
LocalAddress LocalPort Process
------------ --------- -------
:: 80 caddy
:: 443 caddy
127.0.0.1 8080 python
status : UP
True confirms first boot finished. Both services run under their own accounts and start automatically with Windows. Caddy is the only process listening on the network, on ports 443 and 80; Label Studio itself (python) listens on 127.0.0.1 only, which nothing outside the VM can reach. The same checks in an elevated PowerShell window on a new VM:

The versions and the firewall rules:
& "C:\Program Files\Label Studio\python\python.exe" -I -B -c "import sys, importlib.metadata as m; print('Python', sys.version.split()[0]); print('Label Studio', m.version('label-studio'))"
& "C:\Program Files\Label Studio\caddy\caddy.exe" version
Get-NetFirewallRule -Group 'Label Studio' | Format-Table Name, DisplayName, Enabled, Direction, Action -AutoSize
Python 3.13.17
Label Studio 1.23.2
v2.11.9 h1:bhZtcRKQOq0fuLvEgCdPYvUxXyGn9kzjG4lh2332DTE=
Name DisplayName Enabled Direction Action
---- ----------- ------- --------- ------
cloudimg-LabelStudio-HTTP-In Label Studio redirect to HTTPS (TCP 80) True Inbound Allow
cloudimg-LabelStudio-HTTPS-In Label Studio (HTTPS, TCP 443) True Inbound Allow
The first boot log records what it made. In this output and the next, the test VM's public IP address is shown as <vm-public-ip>; yours shows its own.
Get-Content C:\ProgramData\label-studio-windows-server-firstboot.log
2026-12-03T05:37:55.5161145Z provisioning finished
2026-12-03T05:38:06.9524306Z services: LabelStudio as NT SERVICE\LabelStudio, LabelStudioProxy as NT SERVICE\LabelStudioProxy
2026-12-03T05:38:07.2214443Z made C:\ProgramData\LabelStudio (data and work: LabelStudio modify) and C:\ProgramData\LabelStudioProxy (tls: LabelStudioProxy read)
2026-12-03T05:38:07.5957048Z secret key written (data\.env: SYSTEM, Administrators; NT SERVICE\LabelStudio read)
2026-12-03T05:38:13.1271830Z service settings written; trusted HTTPS origins https://<vm-public-ip>,https://10.20.0.18,https://wsrdp-92c890,https://127.0.0.1,https://localhost
2026-12-03T05:44:14.4528806Z database made and administrator admin@cloudimg.local created in 361 s (one user, a superuser, password hashed)
2026-12-03T05:44:15.2075099Z certificate CN=<vm-public-ip> names=wsrdp-92c890,<vm-public-ip>,10.20.0.18 sha256=DD26E30EEDA235C4DE5645BBAC65BB4DFC9893AFB96D91155BC0D5385E47AD71; Caddyfile written
2026-12-03T05:44:15.2566260Z credentials written (SYSTEM and Administrators only)
2026-12-03T05:45:03.1442091Z Label Studio healthy after 19 s; through HTTPS: loginPage=200 form=1 signIn=302/1 whoami=200/1 wrong=200/401 anonymousApi=401 signup=403/401 signupAccountSignIn=200/401
2026-12-03T05:45:04.0322721Z Windows Firewall rules cloudimg-LabelStudio-HTTPS-In (TCP 443) and cloudimg-LabelStudio-HTTP-In (TCP 80) enabled
2026-12-03T05:45:04.5789325Z both services Automatic and running
2026-12-03T05:45:11.5289390Z first boot done
The through HTTPS line is first boot's own proof, made before the firewall opened: the administrator's password signs in (302, then whoami=200), a wrong password is refused (401), the API refuses anyone not signed in (401), and a sign-up without an invite link is refused (403) and leaves no account behind. The certificate is named for the VM's public IP address, its private IP address (10.20.0.18 here) and its computer name (wsrdp-92c890 here), and is valid for ten years; compare its SHA-256 fingerprint with the one in the log when your browser first shows it.
Step 5 - Read the administrator password
First boot wrote the sign-in to a file that only the SYSTEM account and the Administrators group can read. Here it is with the password hidden:
PS> (Get-Content C:\ProgramData\label-studio-windows-server-credentials.txt) -replace 'password=.*', 'password=<hidden>'
# Label Studio on Windows Server 2025 by cloudimg: this VM's own sign-in (made at first boot).
# Open https://<vm-public-ip>/ (port 80 redirects there) and sign in with the e-mail and password below. Allow TCP 443
# (and 80) from your address in the network security group first.
# The certificate is this VM's own, self-signed: C:\ProgramData\LabelStudioProxy\tls\cert.pem
# Sign-up without an invite link is off: invite your team from Organization in Label Studio.
# Guide: https://www.cloudimg.co.uk/guides/label-studio-on-windows-server-2025-azure/
label-studio-windows-server.url=https://<vm-public-ip>/
label-studio-windows-server.admin.email=admin@cloudimg.local
label-studio-windows-server.admin.password=<hidden>
Run Get-Content C:\ProgramData\label-studio-windows-server-credentials.txt to see the password itself. It is random and different on every VM. Only SYSTEM and Administrators can open the file, and the secret key in C:\ProgramData\LabelStudio\data\.env is readable by the Label Studio service and nobody else:

Step 6 - Sign in to Label Studio
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 use your own certificate, see Use your own domain name and certificate below). Port 80 redirects to the same page. Label Studio shows its sign-in page; there is no sign-up link:

Sign in with admin@cloudimg.local and the password from Step 5. From PowerShell on the VM, the web front answers like this (-k because the certificate is the VM's own self signed one):

Step 7 - Create a labelling project
After signing in, Label Studio opens on Projects. Choose Create Project, give it a name, import your data on Data Import (files, or a list of URLs), and pick a template on Labeling Setup, for example Text Classification, Image Classification or Object Detection with Bounding Boxes. Here is a text classification project with a few product reviews:

Open the project and choose Label All Tasks (or select a task) to annotate. Each task shows the data and the template's controls; choose Submit to save the annotation and move to the next one:

When you are done, Export on the project page downloads the annotations as JSON, CSV, COCO, Pascal VOC, YOLO and other formats, depending on the template. The Label Studio documentation covers templates, import and export, and the API.
Step 8 - Invite your team
Sign-up without an invite link is switched off, so nobody can create an account on your server by finding its address. To add people, open the menu, choose Organization, then Add Members, and send the invite link it shows to your team. Each person opens the link and makes their own account in your organisation:

Anyone with the invite link can join, so share it only with your team. In Community Edition every member can see and work on every project.
Change the administrator password
Label Studio Community has no password form in the browser; change a password with Label Studio's own reset_password command, in an elevated PowerShell window on the VM:
$env:LABEL_STUDIO_BASE_DATA_DIR = 'C:\ProgramData\LabelStudio\data'
& 'C:\Program Files\Label Studio\python\python.exe' -I -B -m label_studio.server reset_password --data-dir C:\ProgramData\LabelStudio\data
It asks for the Username: (the account's e-mail, for example admin@cloudimg.local) and then the new password, which is not shown as you type. Then update C:\ProgramData\label-studio-windows-server-credentials.txt so the file stays right, or delete the file once you keep the password elsewhere. The same command resets a teammate's password.
Use your own domain name and certificate
Label Studio accepts sign-ins only from the addresses in its trusted HTTPS origins, which first boot set to this VM's public and private IP addresses and computer name. To use a DNS name:
- Point the name (for example
labels.example.com) at the VM's public IP address. - In
C:\Program Files\Label Studio\LabelStudio-service.xml, addhttps://labels.example.comto the end of theLABEL_STUDIO_CSRF_TRUSTED_ORIGINSvalue, separated by a comma. - Replace
C:\ProgramData\LabelStudioProxy\tls\cert.pemandkey.pemwith your certificate (full chain) and its private key, in PEM format, keeping the files' permissions. - Restart both services:
Restart-Service LabelStudio, LabelStudioProxy
If the public IP address changes (a dynamic IP after the VM is deallocated), add the new address the same way, or give the VM a static public IP.
Usage reporting
Label Studio ships with HumanSignal's error reporting (Sentry) and anonymous usage analytics turned on, as upstream builds it, and this image keeps that default; it also checks PyPI for a newer Label Studio release when it starts. To turn the analytics off, add this line beside the other <env> lines in C:\Program Files\Label Studio\LabelStudio-service.xml, then Restart-Service LabelStudio:
<env name="LABEL_STUDIO_COLLECT_ANALYTICS" value="0"/>
Server components
| Component | Version | Where |
|---|---|---|
| Label Studio Community | 1.23.2 | C:\Program Files\Label Studio\python\Lib\site-packages\label_studio, service LabelStudio |
| Python | 3.13.17 | C:\Program Files\Label Studio\python |
| Caddy | 2.11.9 | C:\Program Files\Label Studio\caddy\caddy.exe, service LabelStudioProxy |
| WinSW (service wrapper) | 2.12.0 | C:\Program Files\Label Studio\LabelStudio-service.exe, LabelStudioProxy-service.exe |
| Windows Server | 2025 Datacenter | Desktop Experience |
Files and folders
| Path | What it holds |
|---|---|
C:\ProgramData\LabelStudio\data |
Label Studio's SQLite database (label_studio.sqlite3), uploads, exports and .env (the secret key) |
C:\ProgramData\LabelStudio\work\service-logs |
Label Studio's service log |
C:\ProgramData\LabelStudioProxy |
Caddy's Caddyfile, the certificate and key (tls) and its logs |
C:\Program Files\Label Studio\LabelStudio-service.xml |
Label Studio's settings (trusted origins, sign-up, cookies) |
C:\ProgramData\label-studio-windows-server-credentials.txt |
This VM's administrator sign-in (Step 5) |
C:\ProgramData\label-studio-windows-server-firstboot.log |
What first boot did (it never contains a password) |
Maintenance
- Windows updates: Windows Update is on, as Microsoft ships it. Restarting the VM restarts both services automatically.
- Back up your data: everything Label Studio keeps is in
C:\ProgramData\LabelStudio\data. Use Azure Backup of the VM, or stop theLabelStudioservice and copy the folder. - Upgrade Label Studio: you choose when to upgrade. Read HumanSignal's release notes first, back up the data folder, and test on a copy: a new release migrates the database when it first starts.
- Logs: Label Studio's output is in
C:\ProgramData\LabelStudio\work\service-logs, Caddy's inC:\ProgramData\LabelStudioProxy\logs. - Firewall: Windows Firewall allows TCP 443 and 80 through the rules in the Label Studio group; the network security group decides who can reach them.
Troubleshooting
- Nothing answers on 443 just after deployment: first boot is still running (about ten minutes). Wait for
C:\ProgramData\label-studio-windows-server-firstboot.done, and read the first boot log. - "CSRF verification failed" when signing in: the address in your browser is not in the trusted HTTPS origins, for example a new DNS name or a changed public IP. Add it (see Use your own domain name and certificate).
- The browser shows a certificate warning: expected with the image's self signed certificate; compare the fingerprint with the first boot log, or install your own certificate.
- A teammate cannot sign up: sign-up needs the organisation's invite link (Step 8).
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.