[HowTo] An extended guide on how to move the Plex data folder on Windows

By default, Plex server stores all its own data on the system drive, in the AppData path of the Windows user.
You might want to change that location, if your system drive is a small SSD or you are simply having capacity issues.

Moving Plex data to a dedicated drive also makes it easier to retain your Plex server data when changing machines or re-installing Windows from scratch.
For larger servers/collections, I recommend a dedicated, internal SSD drive.

  1. Exit/End/Quit/Close plex, using the task tray icon
  2. go to the ‘Services’ control panel (services.msc) of Windows and Stop the ‘Plex Update Service’
    (CTRL+Shift+Esc - tab ‘Services’)
  3. copy this folder and all its content to the new location
    C:\Users\<username>\AppData\Local\Plex Media Server
    The new location must not be inside a folder which has been added to a Plex library!
    The copy process can take several hours if you have a fairly big library.
  4. open the registry editor regedit.exe
    go to the branch HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server
    and create a new string (right-click) (“String Value”) and name it LocalAppDataPath
  5. Edit the newly created string and type in the new location
    Beware! The path you type in must not include ‘Plex Media Server’ as last part.
    So if now your plex data reside in E:\plex\Plex Media Server\, you type only
    E:\plex\ into the input field.

Always use a folder. Don’t point Plex to “naked” drive letters. That applies to Plex media libraries as well!
(Keep in mind that E: must use the NTFS file system, not ReFS which gets used with Windows Storage Spaces. It must also not be a networked drive. exFat is also not usable.)

  1. close Regedit
  2. restart computer

See also
https://support.plex.tv/hc/en-us/articles/201539237

Once you verified, that everything is working (including fetching metadata for new items!) you can delete the old plex data directory.

Addendum:

If you experience difficulties installing Plex server updates after moving the data folder, you might have to redirect the ‘Plex Updater Service’ to the new data folder location as well:

  1. stop the ‘Plex Update Service’ (services.msc)
  2. open the registry editor regedit.exe with Administrator privileges (“Run as…”)
  3. go to HKEY_USERS\.DEFAULT\SOFTWARE\Plex, Inc.\Plex Media Server\
    and change any drive letter references in there as well.
  4. reboot the server machine.

Addendum 2:

If you need to identify the plex data folder “manually”, here is how it looks like:

Addendum 3:

Here is a quick way to revert the above change:
copy this text and paste it into notepad.exe

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server]
"LocalAppDataPath"=-

Save it as a regular text file. Don’t change its content in any way!
Change the filename extension of that saved file from .txt to .reg
Double-click the file and confirm that you want it to make changes to the registry.

38 Likes
[HELP] -> Question about an Article about moving Plext Database folder
2740 - Remove the Windows AppData path...?
LocalAppDataPath
Trouble moving Plex server to new drive
Move database only
Win 11 Server Version 1.40.3.8555 Update problems
Move Plex AppData to dedicated Drive
Restore "link" to server after windows installation
Localhost folder size
Windows 11 installed over Windows 10 and I lost my Server Libraries
TV Show Libraries Give Something Went Wrong Error
Moving the Plex Media Server - none of the other suggestions work
Nothing working after PW reset
Moving the Plex Media Server - none of the other suggestions work
Plex Media Server won't start running in Windows after a complete reinstall
Old and new PMS installed, where's my metadata?
PMS install on second computer made original server disappear
Can't find field to specify Plex Media Server data location any more. Used to be in Settings
1 Windows NUC, 1 M4 Mac, same NAS can they match?
Win 11 Server Version 1.40.3.8555 Update problems
Video Preview Thumbnails file storage
Why is Plex using up so much space in AppData?
Why is Plex using up so much space in AppData?
Change location of Video Preview Thumbnails (Windows 11 Server)?
Change AppData Video Thumbnail Location
Plex Server Database/Program folder size out of control
Option to select metadata directory removed
Windows fails to grant application loopback exemption
I Hate to Ask (Moved appdata and now all libraries gone
I Hate to Ask (Moved appdata and now all libraries gone
Update Windows 1.31.3.6868 to most recent version - says no updates available
Plex Update Service Using Old LocalAppDataPath
I need help getting plex to run after install of Windows 11
Rebuilding Plex Media Server
Plex media server (autoupdate/check for update) doesn't work
Location of plexdata? Missing the setting?
How can I move the Plex Media Server folder on my C drive
Moving the plex database to a new drive
The Path where Local Application Data is Stored?
Appdata Location Missing PMSV: 1.19.4.2902
Plex Database files onto separate drive
The appdata library location is no longer available in new versions of Plex
Unable to change directory for "Plex App Data"
Unable to change directory for "Plex App Data"
Move /plex/Library/Application Support/Plex Media Server/media folder to new drive
The Path where Local Application Data is Stored setting missing in version 1.19.4.2935
Latest Plex server version (1.24.5.5160) gives playback error on some devices
Ordner 'Plex Media Server' von Laufwerk c: nach d: verschieben
My pc is destroyed how do i recovcer my files on plex for my new pc
Plex Drive Hog
Plex Media Server location - Need to move it
Server settings unavailable
Client requests server update
PMS (windows) not finding media after drive letter change
PMS (windows) not finding media after drive letter change
Folder's advanced properties - contents indexed
Re-Install Plex Media Server, tell me how NOT to loose everything
Plex on its own drive - Not working
Backing up files question
Issues and Errors with playback after migrating to new computer
How do I get all plex stuff off of my operating system hard drive
Unable to update from 1.19.2.2737 PlexPass User
Plex Arcade - need to move appdata\local\Plex Media Server to different drive
New hard drive install. Trying to move all media files and the PMS database
Specify library directory
Plex not in programs and features list - options
Reclaim server first, please!
How\Whether to Save Metadata from my current installation
Update media file server folder location
Plex server side; I want to change the database location. How to change it?
Moving the %LOCALAPPDATA% Plex directory
Data Folder Location
How to Move Media Server to New PC when the App Resides on OneDrive Folder on External Drive
Plex Media Server question about its library
Where did "The path where local application data is stored" go?
Can't Find Where Plex Data Files Are
Plex media server does not open (Windows 10)
Junction vs Real folder for metadata (Plex Data) [HDD to SSD]
La carpeta C:\Users\X\AppData\Local\Plex Media Server se llena
ERROR popup - Unable to start Plex Media Server
Plex Media Server was unable to open its media database
Moving Metadata On Windows
Moving metadata and cache to a separate drive
Server unreachable after partial new install
Backing up my Media Server Database
Change Plex Local Data Location
Db path modification in the advanced general setting is'nt available with the version plex 1.20.1.3252-a78fef9a9
Le paramètre pour changer le chemin de la BD n'est plus là?
Plex Media Server unavailable after switching from another Windows 10 account
Moving ther Plex Media Server folder from the AppData/Local folder on my C drive to an External HD
How to move your plex server data base to a new ssd on the same computer
How can I share Plex configuration & metadata between multiple Windows users on the same machine?
Plex not pulling metadata from internet
Plex Just Randomly Deleted My Server
Plex Server not running
Plex Media Server won't update
Plex Speicherort fĂźr Mediathek in den Einstellungen nicht vorhanden
C Drive on PMS ran out of space
I need help to change the plex path!
Server tab not visible in settings
How to have a smooth transition in upgrading my Plex windows server?
What are some housekeeping things I can do to speed up my Plex
Plex running really slow after moving supporting appdata folders
Install plex to an external hard drive
Zero libraries on moved install
Plex server metadata folder
Update Service Crashing
Hard Resetting Computer
Attempting to restore library after Windows reinstall
Recent issue with Connection via web/Remote Access
Conversion failed. The transcoder failed to start up
Doing it all... again!
Can i change the drive that plex uses for transcoding?
Corrupt DB?
Metadata Move
Are there any data cleanup strategies implemented?
Corrupt DB?
Networkdrives Does not work anymore
Corrupt DB?
Just updated my WIN10 box and something is hyper-f*cked can't even boot from fresh install
Plex Media Server will not start since latest upgrade - tried everything
Übertragung auf neuen Server - Kann ich einen anderen Ort für Plex Serverdaten wählen?
Corrupt database, but pms is running
Database appears to be beyond repair
PMS UPDATE - Yet Again
Help with moving plex to new windows 10 OS
How to change the cache folders location?
Vollständiges Plex-Backup erstellen (und einspielen)
Library won't show up after Crash and move
PMS as a service
PMS UPDATE - Yet Again
Can't find Plex Media Server database Metadata
Plex Media Server Data Is Taking Up A THIRD OF MY BOOT DRIVE! OVER 100 GB!
Issues with adding files to library and matching
Limited Windows 7 on SSD
Storage location of thumbnails?
Transferring plex to new windows install never actually works
How the heck do I move my playlists from one plex server to another
Corrupt Database. Unable to recover.. or delete
Server settings are unavailable
Change drive for Metadata
Media Server Update Problem
Move installation and data files to new drive
Install keeps failing
How to backup libraries, metadata, covers, etc., if I need to change my hard drive where the plex server is?
What is causing my Plex Cache to revert back to C: drive after setting it elsewhere?
Moving the Plex Media Server Database, and not the media files themselves
Plex doesn't always read media with multiple channels as anything other than stereo
One more try, Live TV won't work after updating server
Plex server files
Library that can't be deleted
Changing Plex Update Service.exe log location
Changing the AppData location from C drive to different drive
Getting error: "Something went wrong. Please install manually."
Plex server for windows database, etc files stored in Program Files and not the user's profile
Can I add my music collection without Plex creating a cache?
Rebuild of Windows - Cannot Connect to Plex Server
Unable to update after PMS 1.25.2.5319
What did I do and how do I stop it from ever happening again?
Hard Drive Died. Had to rebuild OS. Posters? Thumbnails?
PMS won't open. Flashes message about updating library & disappears
Server disaster
Feature to have Plex ask where to store metadata right away
Installing Plex Server on non system drive
Location for metadata/artwork and artwork already there?
Any ways to change the location of the log files?
Install Plex Server from scratch, but defiine the server location on separate drive upon installatio
Plex Server Size on Disk
Moved Plex metadata folder: no album art for new albums
Log File Location
Chapter Thumbnail Location please
Moving drive in server
I followed so many instructions here on moving my app data library, now my library's gone
Mediatheken nach Domänenjoin und IP Umstellung nicht mehr verbunden
Mediatheken nach Domänenjoin und IP Umstellung nicht mehr verbunden
2 Plex Media server folders / 2 Metadata folders, which do I backup?
Reinstall PMS ends in error
Metadata and posters are out of control!
How do I get my server back, Help Please
Video Preview Thumbnails - location
Migration of Sonic Analysis Metadata
Library Scan not recognizing video files after update
Physical Drive Issue - Database wont copy - Restored database wont allow plex to load
Media gone, replaced with BIF files
Plex media server not starting correctly
Moving meda data
Plex server crashing
Can't claim Server
Backup Win7 Restore to Win10?
Windows server system drive died. Content drives ok. New win 10 computer…help!
I'm having trouble moving Plex to an external hard drive
What is in "AppData\Local\Temp" Directory?
Server rebuild
Plex Server data path
PMS computer crashes when transcoding with recent PMS update
Plex auf externe Festplatte installieren?
PMS - Doesn't Start Anymore, Tray Icon Disappears Immediately
Error swrver after install in windows
Help! Win 10 crashed. Can't recover Plex server
Plex Media sever refuses to start, just gives "error"
Plex Media Server was unable to open its media database
Mayday : Media server can't find database
Issues With Restoring the Backup Plex Server on New PC
Plex transcoder temp location
Lost external subs and custom posters after moving server install
Live TV HD Appears Pixelated Part II: x86-Only
Live TV HD Appears Pixelated Part II: x86-Only
Server connect error URGENT
Safe to delete files in... \Databases\save & \last?
Moving plex
Considering Plex, have Questions
Pms crashes at startup -- no logs left behind
What do I lose when I reset Plex?
New PC install, Plex server no claim visible
Question regarding install location and AppData folder
Duplicated AppData folder (Win11)
PLEX is filling up my C: drive with Metadata when I wanted it to use the D: drive
I need to move Plex Media Server software from one drive to another
Library.db size more than doubled in latest version
Installing Plex to a different drive other than c drive?
PMS as a service
Copy files to Media Server after re-installation and lost Reg Key
Preparing for the worst

This Article is unclear in one thing to me. You mention specifically in 2. that you stop the Plex Update Service, but not when you turn it on again, or is that only when it automatically starts again after the reboot ? Just want to make sure I dont make any mistake.

Would appreciate any reply on that as soon as possible.
Thank you.

Wolf

P.S: I am sorry if its maybe a stupid question, but i am new to Plex. Thats why I wanna make sure. :wink:

1 Like

It is a “Windows Service”, which is set to automatically start at bootup. So no need to start it manually, it will get started eventually at the next reboot. And it is only used for Plex’ auto-update anyway, so it’s not exactly necessary for regular Plex operation.

I am going through the steps to transfer my metadata. Hung up on one thing.

In regedit (step 4), when creating the new string value, there is already a string value of the same name (LocalAppDataPath) which prevents that step . Are we supposed to delete that old string value prior to making a new one? Or, would it work just to edit the path to our new location for the metadata?

If the key is already existing, it means that you have moved the path already before.
It also means that you have to copy the Plex data from the folder location which is mentioned in the LocalAppDataPath key.
When you are done with copying, simply edit this key to point to the new location. Caveat from point 5) above remains.

Perfect. Thanks for the quick reply!

Would you mind adding the server-windows tag to this post, so that it can be filtered like other Windows-related posts? Thanks.

Right you are. Done!

1 Like

How would we do this on a Mac?

1 Like

I don’t know for certain. It might be similar to the method used on Linux.
Or it might involve directory junctions/symlinks or something like that.

3 posts were split to a new topic: Moved servers and lost my data

To avoid the Update problem, I would like to have your opinion on this solution;

https://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html

This is no solution, because it won’t magically move all your existing data to the other drive.
Follow the procedure above.

I moved my data folder, edited the registry plus the updater registry, restarted the computer, and now newly-added movies won’t pull default posters or allow me to choose one of the generated ones. All I get in the edit box are blank frames.

My old movies show the proper art.

Did you point it to a drive that is not formatted with the NTFS file system?

Yeah, I think Drivepool was the culprit here. What’s the reason why it doesn’t work for the metadata folder?

Drivepool with default settings tries to balance out disc usage across the pool.
Doing that with tiny metadata files that are part of the database is not gonna be a plan. Unless the plan is to corrupt that database. :grin:

Drivepool for the media files themselves however is fine.

Drivepool doesn’t support symlinks/hardlinks, so it is not a true NTFS file system.
There is a help article linked in the HowTo above.

The selection which poster to use is stored in a symlink, in order to not duplicate the artwork file.

Where is that “HowTo above”? I don’t see anything about symlinks in this thread beyond your comment. Please let me know, I would like to fix this callous oversight by Plex on where data is stored without giving an option to put elsewhere.

I appears that DriveBender also doesn’t work with moving the location of the Plex datastore. (But I think it is a true NTFS file system as I can pull a drive out and access content in another machine… but it’s using sym magic or something to enable “pooling” of drives which isn’t compatible with plex metadata. I see no difference between the media files and metadata files as far as the OS is concerned… why does it have an issue with non-media files? My media files are spread across all the drives, so what is so different about the metadata?)

I definitely would like to see if I can use symlinks to fix this problem. Plex should allow users of media server to specify WHERE they would like to store plex data… I finally figured out why my C drive was running out of space all the time :frowning:

((Not pertinent to plex media location, but pertinent to bad/inefficient software design and gobbling up space unnecessarily which is what storing metadata in C will do, and people coming here are trying to reclaim space that PLEX steals… : the dev teams need to CLEAN UP all the update files. I’ve had Plex on this server for what, 10 years now, and ALL the old update files that get pushed out to installations in the background (i.e. not the ones I downloaded to kick off the updates) as these are stored in some plex directory when the app updates itself. I deleted them all and recovered yet another 3 gigs of valuable space :())

1 Like

What I meant was: use the above how-to to move the Plex data folder location.
There is no known way of using symlinks on Windows for that.

Please move your other concerns out of this How-to thread.