mmedic
May 24, 2020, 11:08pm
1
Is there a clean way to stop Plex from command line on Windows without doing taskkill with force option etc to ensure that the database WAL and SHM files get properly cleaned up?
tom80H
May 24, 2020, 11:35pm
2
Not a Windows expert… but I found this post on how to gracefully terminate the process.
Running taskkill /im "Plex Media Server.exe" (without the /f) flag initiates a graceful shutdown of PMS. Without the /f flag, the process is signaled to close (it appears from my logs that a WM_CLOSE message is sent). Plex then shuts down various functions (network advertisement, plug-ins, tuner service, database connections) and exits.
Including the /f (force) flag forces a shutdown, whether or not it can be performed gracefully. However, without the flag, the application can choose to cont…
1 Like
system
Closed
August 22, 2020, 11:35pm
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.