hansolo77 11 Posted January 9, 2016 Share Posted January 9, 2016 So originally, Emby Server was designed to run via a taskbar icon. This worked before, but I disabled it because I wanted to have it running as a service. I did that because I wanted the server to be running if the computer reboots, and I hadn't had the chance to log into a desktop to have the taskbar app start up. This was working great. Then I started to notice some of the things I have scheduled (like Server Restart) not working, and automatic updates needing to be manually installed after disabling the service. The restart plugin specifically only works with the taskbar app, and doesn't work when the server is running as a system service. So I've switched back to using the taskbar icon. Trouble is, the taskbar app doesn't automatically start with Windows. I have to manually go into my Start menu and launch it. The tricky thing here is that this is Windows Server 2012 R2. I had another program a few months ago that I wanted to have run at login too, but ultimately gave up on it because there was no way to make it work. There isn't any "Startup" folder like what you would find on earlier versions of Windows. So there's no way to create a shortcut and place in that folder. I also tried (with the other program I gave up on) adding registry keys and editing the msconfig. Speaking of msconfig.. it actually says "Startup items are not enabled on this system" on the Startup tab. So I'm not sure how to proceed. I have drivers that load up on startup just fine, as well as my PVR service (NextPVR) but I have no idea how they managed to get configured to run on login. So I'm looking for advice and instructions on how to make the tray app start on login, rather than rely on the service. Little help? Thanks guys! Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted January 9, 2016 Share Posted January 9, 2016 Run Task Scheduler. Create a Task to run Emby Server. Set the trigger to "When Computer Starts". Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted January 9, 2016 Share Posted January 9, 2016 You can also use a Startup Script. https://technet.microsoft.com/en-us/library/cc770556.aspx Link to comment Share on other sites More sharing options...
hansolo77 11 Posted January 9, 2016 Author Share Posted January 9, 2016 Does that actually work though? Link to comment Share on other sites More sharing options...
Happy2Play 8304 Posted January 9, 2016 Share Posted January 9, 2016 (edited) Why can't you use startup folder? http://devonenote.com/2013/09/how-to-find-startup-folder-in-windows-server-2012/ https://social.technet.microsoft.com/Forums/windowsserver/en-US/87ffd1d4-5b02-44c3-8007-e454f56ad2d6/how-could-i-use-startup-folder-in-windows-2012-?forum=winserver8gen Edited January 9, 2016 by Happy2Play Link to comment Share on other sites More sharing options...
Pais 115 Posted January 9, 2016 Share Posted January 9, 2016 I put the server shortcut into the Startup folder on 2012 R2. It starts with the server without any issue. Link to comment Share on other sites More sharing options...
hansolo77 11 Posted January 9, 2016 Author Share Posted January 9, 2016 I tried running that shell command and it doesn't work. Maybe it's not available in Essentials? Link to comment Share on other sites More sharing options...
Pais 115 Posted January 9, 2016 Share Posted January 9, 2016 C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Link to comment Share on other sites More sharing options...
hansolo77 11 Posted January 9, 2016 Author Share Posted January 9, 2016 I will try that. I don't think it will work though. It has only 1 shortcut in there (Speedfan) and I think that was the program I was trying to get to work before. Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted January 9, 2016 Share Posted January 9, 2016 (edited) I don't know why you don't have access to gpedit.msc. Are you logged in as a server administrator? Currently, I am using Windows Server Essentials 2016. I am not sure how your server is setup and most home situations don't really need a lot of security. I've been trying to do best practices while learning more about Windows Server. The issue with the startup folder is that you actually have to log in as that user. If you only have one user, then great. However, you still have to log in as them. Using an auto-login reduces security. I am using the server as a Windows Service with its own user and permissions. This keeps it away from other server duties. I have been using this script to update the server on a regular basis: http://emby.media/community/index.php?/topic/26607-powershell-script-to-update-server-when-running-as-a-service/ I hope you find a solution that works for you, though. Edited January 9, 2016 by Koleckai Silvestri Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now