Jellyfin Forum
Server Auto-Run/Start on Windows 10 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Server Auto-Run/Start on Windows 10 (/t-server-auto-run-start-on-windows-10)

Pages: 1 2


Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-17

When I first setup Jf a few years back it automatically did what it needed to do to become an auto-run program when Windows 10 would start. Many iterations of updates, rebuilds and trouble shooting the auto-run does not work and I haven't been able to figure out why. On the second JF server I manage the auto-run works no problem but on my home system I can't get it to work. Would love to resolve this if possible (and not have to start my server over from scratch).


RE: Server Auto-Run/Start on Windows 10 - TheDreadPirate - 2025-04-17

Is it setup to run as a service? Or as a basic install that runs from the tray app?

I see this PR for the Windows installer, but it only affects new installs or existing installs that are converted to service startup.

https://github.com/jellyfin/jellyfin-server-windows/pull/141

I only see one issue that resembles yours, but that user is starting Jellyfin as a service.

https://github.com/jellyfin/jellyfin-server-windows/issues/145

Do you see anything in the Windows event viewer that could provide us a clue?


RE: Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-18

Not sure where to look for the vent viewer so then what to look at inside. It's basically an issue straight from when I did a re-install at some pont and it's never worked properly since. Even doing updates or a new "fresh" install. I believe I am insalling as a service though not 100% certain. Honestly it's been a bit since I tried. Just came up agin after a sstem reboot and forgetting to re-start JF manually.


RE: Server Auto-Run/Start on Windows 10 - TheDreadPirate - 2025-04-18

If you open the start menu and simply type "event viewer" it should be a result.

If you type in "services.msc" in the start menu, that will bring up the service manager. If you setup Jellyfin as a service, it would be listed here.


RE: Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-18

I tried un-installing JF and then installing again making sure to setup as a service. Now I can't get JF to start through the system tray and it doesn't auto-start with Windows. It just times out. Not sure what in the log I'd be looking at for a reason.


RE: Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-18

OK I think I got it sorted. Not entirely sure but it's working so not going to knock it.

Spoke to soon. Now JF starts automatically on a Windows start but a good number of my TV shows are disappearing from my library and/or won't playback giving a "fatal player error" message. Ugh.

Yup anything that is on a network storage is failing now. What the heck happened?

Network locations are not seen by JF now. Even though all are active and working and worked just fine an hour ago. Why does my head hurt so much from banging it into this wall???

OK if I install as a service, whether I run as admin or not, and select the Network Services account, JF will not run. If I select the local user account JF will run, auto-start, all that, but it cannot connect to network folder locations where almost all my media is. I also didn't get a trap icon when it was running for some reason.

So that is where I am stuck. It's uncomfortable.s wall???


RE: Server Auto-Run/Start on Windows 10 - TheDreadPirate - 2025-04-18

The service needs permissions to access both Jellyfin's application data directory AND the network share. I'm assuming the network service user does NOT have permissions to access the Jellyfin app data directory, while your user does not have permissions to access the network share.


RE: Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-18

I only (should) have 1 user on this system, myself. I have access to all network shares through explorer and other programs. When I had my JF server running it also saw everything. Then I tried to 'fix' JF and, well, kablooey.

I can't even get JF to install and start manually and access the server I had built now. It just fails. The Program Data folder is all still there but nope, nada. If I use the old Program Files folder even with a new install then JF just doesn't start.

So now I'm not even certain what to do to try and get back running like I was a few hours ago, despite having back-ups and all that. And still no idea why when I thought I had things fixed it was still a failure since how do I have permissions yet don't? Very confused.


RE: Server Auto-Run/Start on Windows 10 - TheDreadPirate - 2025-04-18

When you said "Program Files" folder, did you mean "ProgramData" folder?  The ProgramData contains Jellyfin's application directory with all your permanent data.  If you are restoring it, ensure that the permissions are correct.


RE: Server Auto-Run/Start on Windows 10 - KodiUser1138 - 2025-04-18

There is the Program Files folder where the application is installed and then the Program Data folder where all the application settings etc are. I've tried starting fresh with both folders empty and had issues getting JF to even start. Trying to restore to what was previously working I've tried having the Files folder empty or just over-ridden after un-installing and the installing JF and I don't get back to being able to access my server. At best JF will run, manually, and then through the tray I have to open JF and it sees a server with my name on it but won't access it.