I just want Plex to start when Server 2016 boots

Just looking for the right and best why to have plex start on its own when my server boots. I have tried all the app’s, 3rd party fixes and they arnt the right answer. this is not a hard thing and whey it already dosent just start by itself I don’t know. so can someone tell me when this will be fixed in Plex? and or how ot fix the right way. Plex is awsome in every way and why this is not working is behind me! Plex shoud just start on its own when you reboot, not having to login.

Thanks
John

why is this not suitable ? PMS As a Service
I have been using it for a number of years - so have loads of other people

I do agree it should be built-in and one day it will be probably so, but for now we have a solution by cjmurph and it works

Ok, will try it again. Should I use the local administrator account or the domain administrator for the service?

John

@johnzapf said:
Ok, will try it again. Should I use the local administrator account or the domain administrator for the service?

John

I run the plex media server service in a non admin plex account
I use an admin account for installs and updates but that adds a complication in that one needs to a regedit after every update to stop plex media server launching in the admin account on login

I think local account is safer option than a domain account

ok, thanks.

John

Well its not working for me the server re-booted and now no plex. its asking me to claim a different media server and then when I do noting will open and certificate errors none stop, this is why I just wish they would start on its own, this is a mess and I should have to fight with something that should be so simple.

John

@johnzapf said:
Well its not working for me the server re-booted and now no plex. its asking me to claim a different media server and then when I do noting will open and certificate errors none stop, this is why I just wish they would start on its own, this is a mess and I should have to fight with something that should be so simple.

John

Are you using multiple windows accounts ? Are there two instances of Plex Media Server running - one as a service and one outside the service ?

Remote access wont work now also. I dont have the time to mess with this, just going to recover the VM to before the 3rd party service thing.

Now Plex wont see the mapped drives. Like I said that 3rd party service to start Plex has never worked right for me. I am senior IT admin now with 29 years experiences.

Going to redo the server back to to as it was, I had this all set and now after messing with that service its all jacked up.

John

@johnzapf said:
Now Plex wont see the mapped drives. Like I said that 3rd party service to start Plex has never worked right for me. I am senior IT admin now with 29 years experiences.

Going to redo the server back to to as it was, I had this all set and now after messing with that service its all jacked up.

John

Are you running Plex Media Server as a service ? If you are, then it would not see any mapped drives and the paths need to be UNC. A service can never see mapped network drives

If you are not running it as a Service, then there are some known windows UAC related issues to do with mapped network drives visibility to applications

had to stop using the plex as a service, will not work for me at all.

Now still trying to get plax working again. I have uninstalled and re-installed 4 times, and now still cant get it to setup remote access, what a mess, I know I should have not done the 3rd party plex as a service. I spent a week setting up this brand new server and installing all and now its hosed.

I’ve written up a full guide for installing Plex as a service on Windows 10 and Windows Server 2016, including both Server Core and Desktop Experience installations… Link
Hope that might help you :slight_smile:

Hi Chris - looks like your link is broken, also cant find your article on the search in your blog page either…is it still there?

There is another option. I’m guessing you’re wanting to automate reboots and maintenance, but you can add registry keys to auto login to an account once a reboot completes and just add PMS as a startup item. It’s not exactly secure because the password is in plain text, but as long as it’s a system you don’t care about it being logged in, it should do the trick for you.

That’s the route I decided to take on my new install of Server 2019. Modified the registry to log in automatically after a reboot and have a .ps1 file set to run on login that does the following:

  1. Verifies network drive access
  2. Starts Plex
  3. Starts another .ps1 for some automation tasks
  4. Locks the server