Here’s a massive thread which addresses how to run Plex as a service on Windows (so it’s not depending on your user being logged in)