this post was submitted on 10 Nov 2024
-8 points (38.2% liked)
Technology
59358 readers
4794 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can you set the Jellyfin server service to start with Windows? Shouldn't need a login then. If not, you can use a PowerShell script that starts the Jellyfin .exe and use a scheduled task to run it when event id 6005 is triggered. That's the event id created when the event log starts.
Windows task scheduler has plenty of built in things for this.
This might work, do you know how secure this is? Could i just put it in to automatically input the password on startup? i imagine that wouldn't just "unlock" the machine for anyone trying to SSH in
Automatically entering the password at the login prompt would be FAR more insecure than task scheduler starting the task on startup. What you should do is go into task scheduler and tell it to start your jellyfin service. Then jellyfin is running, but your user isn't even signed in.
If you just want auto login then look at these:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
https://answers.microsoft.com/en-us/windows/forum/all/auto-sign-in-missing-from-netplwiz/1c06918b-04e0-4b2f-ab67-8b5bd7eee89b
That's how windows intends you to automatically log in even though your user has a password.
Thank you this worked
I have used this for something else a few years ago: It let me select what user to run it as and prompted me for a password while configuring it and then later it didn't need a login any more.