Plex on a CPU-Only Windows VPS: A Direct Play Setup

A VPS with no GPU can serve Plex well if clients play files as they are. Install, open port 32400, keep Plex running after reboots and prepare media so it doesn't transcode.

dns WindowsVPS Team calendar_today schedule5 min read
Plex on a CPU-Only Windows VPS: A Direct Play Setup
tocOn this page 8 sections
  1. Why transcoding is the problem on a VPS
  2. Install Plex over RDP
  3. Open port 32400
  4. Keep Plex running after reboots
  5. Prepare media for Direct Play
  6. Client and server settings
  7. Size for bandwidth, not cores
  8. FAQ

A Windows VPS with no GPU can run Plex Media Server well if your clients use Direct Play, which means they receive the file exactly as it is stored and the server never re-encodes video. To get there, store media in formats your players already support, set client quality to Original, and avoid image-based subtitles that force burn-in. Then the VPS CPU only reads files from disk and sends them over the network, and the plan's upload bandwidth becomes the real limit.

Why transcoding is the problem on a VPS

Plex has three playback modes, and you can see which one is in use on the Dashboard under Now Playing:

  • Direct Play: the file is sent unchanged. CPU use is close to zero.
  • Direct Stream: the video is copied, and only the container is repackaged, or only the audio is converted. This is light work and fine on a VPS.
  • Transcode: the video is decoded and encoded again. Hardware transcoding needs a supported GPU, so on a VPS this falls to the vCPUs. One 1080p or 4K transcode can use every core you have.

The whole setup below aims to keep every stream in the first two modes.

Install Plex over RDP

  1. Connect over RDP, download the Plex Media Server installer for Windows from Plex's site using the browser on the VPS, and install it under the account that will run it.
  2. Do the first setup from the VPS itself at http://127.0.0.1:32400/web. A new server can only be claimed to your Plex account from a local connection, so don't try this from your home PC first.
  3. Keep media on a data volume rather than the system drive, for example D:\Media\Movies and D:\Media\TV, and add each folder as its own library.

Plex stores its database and metadata in %LOCALAPPDATA%\Plex Media Server under the account that runs it. Include that folder in your backups. To move your own media up to the server or copy it between storage locations, rclone on Windows Server works well over RDP.

Open port 32400

Plex listens on TCP 32400. Allow it in Windows Defender Firewall from an elevated PowerShell:

New-NetFirewallRule -DisplayName "Plex Media Server" -Direction Inbound -Protocol TCP -LocalPort 32400 -Action Allow
Get-NetTCPConnection -LocalPort 32400 -State Listen

Next, in Plex go to Settings > Remote Access, tick Manually specify public port, enter 32400 and click Retry. A VPS has a public IP and no home router doing NAT, so the status should turn green with no UPnP or port forwarding. Opening this port publishes a service to the internet, so use a strong Plex account password with two-factor sign-in, and work through our Windows Server VPS hardening checklist.

Keep Plex running after reboots

On Windows, Plex runs as a desktop app that starts when a user signs in. If you close the RDP window without signing out, your session stays open and Plex keeps running. After a reboot, though, nobody is signed in. A common fix is a scheduled task that starts Plex at boot as the same user, so it keeps reading the same data folder:

$action  = New-ScheduledTaskAction -Execute "C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe"
$trigger = New-ScheduledTaskTrigger -AtStartup
Register-ScheduledTask -TaskName "Plex at boot" -Action $action -Trigger $trigger -User "$env:COMPUTERNAME\plexadmin" -Password (Read-Host "Password") -RunLevel Limited

Check the install path on your server before you run this. Plex doesn't officially support running at boot this way and won't show a tray icon. After you set it up, reboot once and confirm the web app loads before you rely on it. If you'd rather use an automatic sign-in (auto-logon), store the password with Sysinternals Autologon instead of in plain-text registry values.

Prepare media for Direct Play

Before you add files, check their codecs with MediaInfo. These formats Direct Play on the widest range of clients:

  • Video: H.264 at 8-bit. HEVC (H.265) and AV1 Direct Play only on clients that can decode them, and older TVs and browsers often can't.
  • Audio: AAC stereo, or AC3/E-AC3 for surround. DTS and TrueHD often get converted. That conversion is audio only and cheap, but it's still extra work for the server.
  • Container: MP4 or MKV. Browsers handle MP4 most reliably.
  • Subtitles: use text formats such as SRT. Image-based PGS or VobSub subtitles usually have to be burned into the picture, which forces a full video transcode.

If you need to convert files, do it on your home PC with HandBrake or ffmpeg before you upload. Avoid Plex's Optimize feature on the VPS, because it is itself a CPU transcode.

Client and server settings

  • On each Plex app, set Settings > Quality for both remote and home streaming to Original or Maximum. Any lower setting forces a transcode.
  • On the server, set the upload speed and the remote stream limit to Original under Settings > Remote Access.
  • Under Settings > Library, set Generate video preview thumbnails to Never, or limit it to the scheduled maintenance window in Settings > Scheduled Tasks, so it doesn't compete with playback for CPU.

Size for bandwidth, not cores

With Direct Play, each stream uses its file's own bitrate. A 1080p H.264 encode is often 8 to 12 Mbps, and a 4K or Blu-ray remux can go well past 40 Mbps. Add up the bitrates of streams that play at the same time and compare the total with the plan's port speed and monthly traffic allowance. Two to four vCPUs and enough disk for the library are usually plenty.

FAQ

Can I enable hardware transcoding on a VPS?

Not on a standard VPS. Hardware transcoding needs a GPU passed through to the virtual machine, so this setup keeps streams on Direct Play instead.

Why does the Dashboard still show Transcode?

The usual causes are, in order: a client quality setting below Original, image-based subtitles, or a video codec the client can't decode. Open the stream's details on the Dashboard to see whether video, audio or subtitles caused it.

Should I run Plex on a Linux VPS instead?

Linux handles Plex well, either as a native package or in Docker, and it runs as a proper service. Choose Windows if you also want a desktop over RDP or other Windows software on the same server.

Run this on your own Windows VPS

Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.

Buy a Windows VPS →

dns

Written by the WindowsVPS Team

We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.

About WindowsVPS Windows VPS guides All articles

Ready to deploy your server?

Windows or Linux VPS — up and running in under 60 seconds.