Windows Installation
Installing Plex on Windows
Section titled “Installing Plex on Windows”This guide walks you through installing Plex Media Server on Windows 10 or Windows 11.
Prerequisites
Section titled “Prerequisites”Before installing, ensure you have:
- Windows 10/11 (64-bit)
- Administrator access
- A free Plex account
- Media files ready to add
Download Plex
Section titled “Download Plex”- Visit the Plex Downloads page
- Select Windows from the platform dropdown
- Click Download to get the latest installer
Installation Methods
Section titled “Installation Methods”The easiest method for most users:
- Run the downloaded
.exeinstaller - Click Install when prompted
- Wait for installation to complete
- Plex launches automatically and opens in your browser
- Sign in with your Plex account
For automated or headless installation:
# Download latest installer$url = "https://plex.tv/api/downloads/5.json"$json = Invoke-RestMethod -Uri $url$windowsUrl = $json.computer.Windows.releases | Where-Object { $_.build -eq "windows-x86_64" } | Select-Object -First 1 -ExpandProperty urlInvoke-WebRequest -Uri $windowsUrl -OutFile "PlexSetup.exe"
# Silent installStart-Process -FilePath "PlexSetup.exe" -ArgumentList "/install /quiet" -WaitUsing the Chocolatey package manager:
# Install Chocolatey if not presentSet-ExecutionPolicy Bypass -Scope Process -Force[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install Plexchoco install plexmediaserver -yInitial Configuration
Section titled “Initial Configuration”After installation, complete the setup wizard:
- Sign in to your Plex account
- Name your server (e.g., “Home Server”, “Living Room PC”)
- Skip library setup for now (we’ll configure properly later)
- Complete wizard and access the dashboard
Configure Windows Firewall
Section titled “Configure Windows Firewall”Plex should automatically configure firewall rules. Verify they exist:
- Open Windows Security → Firewall & network protection
- Click Allow an app through firewall
- Verify Plex Media Server is listed and checked for both Private and Public
If not present, add manually:
# Run as AdministratorNew-NetFirewallRule -DisplayName "Plex Media Server" -Direction Inbound -Program "C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe" -Action AllowNew-NetFirewallRule -DisplayName "Plex DLNA" -Direction Inbound -Protocol UDP -LocalPort 32469 -Action AllowNew-NetFirewallRule -DisplayName "Plex Discovery" -Direction Inbound -Protocol UDP -LocalPort 32410-32414 -Action AllowRun as Windows Service
Section titled “Run as Windows Service”By default, Plex runs as a desktop application. For always-on operation, configure it as a service:
Option 1: Built-in Service Mode
Section titled “Option 1: Built-in Service Mode”- Open Plex Settings → General
- Check “Run Plex Media Server as a Windows Service”
- Restart Plex when prompted
Option 2: Using NSSM
Section titled “Option 2: Using NSSM”For more control, use NSSM (Non-Sucking Service Manager):
# Install NSSMchoco install nssm -y
# Create servicenssm install PlexMediaServer "C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe"nssm set PlexMediaServer AppDirectory "C:\Program Files\Plex\Plex Media Server"nssm set PlexMediaServer Start SERVICE_AUTO_START
# Start servicenssm start PlexMediaServerAuto-Start Configuration
Section titled “Auto-Start Configuration”Task Scheduler Method
Section titled “Task Scheduler Method”If not running as a service:
- Open Task Scheduler
- Click Create Task
- General tab: Name it “Start Plex”, check “Run with highest privileges”
- Triggers tab: Add trigger “At startup”
- Actions tab: Add action:
- Program:
"C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe"
- Program:
- Conditions tab: Uncheck power conditions
- Click OK to save
Verify Installation
Section titled “Verify Installation”Check that everything is working:
# Check if Plex is runningGet-Process "Plex Media Server" -ErrorAction SilentlyContinue
# Check if port is listeningTest-NetConnection -ComputerName localhost -Port 32400
# Open Plex in browserStart-Process "http://localhost:32400/web"Update Plex
Section titled “Update Plex”Plex can update automatically, or manually:
Automatic Updates
Section titled “Automatic Updates”- Settings → General → Enable “Update my Plex Media Server automatically”
Manual Update
Section titled “Manual Update”# Check current version$plexPath = "C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe"(Get-Item $plexPath).VersionInfo.ProductVersion
# Download and install latest# (Same process as initial installation)Uninstallation
Section titled “Uninstallation”To completely remove Plex:
- Stop Plex Media Server
- Settings → Apps → Plex Media Server → Uninstall
- Delete data folder (optional):
%LOCALAPPDATA%\Plex Media Server
Next Steps
Section titled “Next Steps”Continue to Configuration to set up your server properly.