8 hours ago
(This post was last modified: 5 hours ago by theguymadmax. Edited 1 time in total.)
You can configure Jellyfin to run automatically before login by using the Task Scheduler. If Jellyfin starts automatically after you log in, it's likely being launched from the system tray. You'll need to disable that, click the Jellyfin icon in the system tray and unselect "Autostart".
Steps to Set Up Task Scheduler:
1. Open Task Scheduler and select Create Task from the Action menu.
2. General Tab:
- Name: Enter a name like "Start Jellyfin" (or any name you prefer).
- Under Security options, choose the user account under which Jellyfin is installed.
- Select "Run whether user is logged on or not".
3. Triggers Tab:
- Click New, then under "Begin the task," select At startup.
4. Actions Tab:
- Click New.
- For Program/script, enter:
C:\Programs\jellyfin\master\jellyfin.exe
- For Add arguments, enter:
--datadir "C:\ProgramData\Jellyfin\Server"
OR
--datadir "C:\Users\YOURUSERNAME\AppData\Local\jellyfin"
Identifying the Correct Data Directory:
- If Jellyfin is launching from the system tray, it's using the ProgramData folder.
- If you're starting Jellyfin manually with custom arguments, it's likely using the AppData\Local directory.
Make sure to select the correct folder for the --datadir argument.
5. After saving the task by selecting OK, you'll be prompted to enter your admin password.
6. Restart your system and test to ensure Jellyfin starts automatically as expected.
Be sure to keep the userdata folder in its original location. Moving it without updating the corresponding paths in the database will cause it to malfunction.
Steps to Set Up Task Scheduler:
1. Open Task Scheduler and select Create Task from the Action menu.
2. General Tab:
- Name: Enter a name like "Start Jellyfin" (or any name you prefer).
- Under Security options, choose the user account under which Jellyfin is installed.
- Select "Run whether user is logged on or not".
3. Triggers Tab:
- Click New, then under "Begin the task," select At startup.
4. Actions Tab:
- Click New.
- For Program/script, enter:
C:\Programs\jellyfin\master\jellyfin.exe
- For Add arguments, enter:
--datadir "C:\ProgramData\Jellyfin\Server"
OR
--datadir "C:\Users\YOURUSERNAME\AppData\Local\jellyfin"
Identifying the Correct Data Directory:
- If Jellyfin is launching from the system tray, it's using the ProgramData folder.
- If you're starting Jellyfin manually with custom arguments, it's likely using the AppData\Local directory.
Make sure to select the correct folder for the --datadir argument.
5. After saving the task by selecting OK, you'll be prompted to enter your admin password.
6. Restart your system and test to ensure Jellyfin starts automatically as expected.
Be sure to keep the userdata folder in its original location. Moving it without updating the corresponding paths in the database will cause it to malfunction.