pachi81 6 Posted July 25, 2023 Posted July 25, 2023 Hi, I installed Emby Server for Windows on a new Windows 11 system. I used the NSSM to use Emby as service and set the local account for log-on to the service. I also disabled the Emby itself to start after login. All seems to work, the service run with the local account as expected, but I do not see my mapped network drives. I only have access to C:\ from the library. Is there anything I can do or is it better to use Emby Server on Linux?
Neminem 1519 Posted July 25, 2023 Posted July 25, 2023 Make sure the service run's as a user that has access. Default System account do not have access to mapped drives.
pachi81 6 Posted July 25, 2023 Author Posted July 25, 2023 Yes, I know and you can see in the screenshots, that it runs with "admin" account.
pwhodges 2012 Posted July 25, 2023 Posted July 25, 2023 Is the network interface set in Windows 11 to public or private? Paul
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 The interface is public and when I try to add it manually, I got an error, that the path is invalid...
richt 94 Posted July 26, 2023 Posted July 26, 2023 Could be a Windows issue. Devices using the "public" network setting cannot access Windows devices using a "private" network setting. Also make sure that your "admin" account has access to the target drives.
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 The admin account is the one, I log in with and where I created the mapped network drives. What do you mean with network settings? Shall I switch to private?
richt 94 Posted July 26, 2023 Posted July 26, 2023 Try changing the setting a see if it works. Just in case you need more info, this article describes the Widows settings pretty well. https://www.howtogeek.com/810044/change-network-public-to-private-windows/
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 Oh yes, private is the correct setting, my mistake. But unfortunately it does not solve the problem...
richt 94 Posted July 26, 2023 Posted July 26, 2023 30 minutes ago, pachi81 said: The admin account is the one, I log in with and where I created the mapped network drives. Assuming that the server hosting the shared drives is a Windows machine. Check the sharing properties for the shared folder on the host machine. Check the Windows firewall to make sure it allowing File and Printer sharing
ebr 16185 Posted July 26, 2023 Posted July 26, 2023 53 minutes ago, pachi81 said: where I created the mapped network drives Hi. Don't use mapped drives. Just provide the direct UNC path (e.g. \\SERVER\SHARENAME).
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 2 minutes ago, ebr said: Hi. Don't use mapped drives. Just provide the direct UNC path (e.g. \\SERVER\SHARENAME). I have problems with one NFS share for using the direct UNC path. For my NAS it is working with the direct UNC paths.
Gilgamesh_48 1240 Posted July 26, 2023 Posted July 26, 2023 3 hours ago, ebr said: Hi. Don't use mapped drives. Just provide the direct UNC path (e.g. \\SERVER\SHARENAME). Just as a data point. I use mapped drives exclusively and I have never had any access problems. However I have a fairly unique setup: I am the only windows user user although i do have two or three Emby users as that makes some things easier to do while in Emby but all my Emby users are "admin" users in Windows. I suppose that those all "could" be changed to UNC drives and operationally I would see no change. I take measures to assure that Windows never changes the drive letter. I do not think that if I were to do that I would see any "better" operation but I do not know all the behind the scenes Emby functionality so I might be missing something. To me the most and really only important thing about drive mappings is that all users must have at least read access to all the drives and directories used by Emby and those "rights" should not be allowed to change. But, since I live alone (I do NOT let my dog use my computers at all) and I have no remote users I just turn off all local "security" so I do not run into the problems that many others have. Should anyone actually get themselves to be able to access my computers I will have much more serious problems that anything involving Emby.
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 It is working, now! I stopped the service and started Emby manually and now I see my mapped drive. Maybe Emby as service does not work correct. Now I can play around with mapping the NFS mount... And if all is working, I will try again with the service. Regards, Michael
Spaceboy 2573 Posted July 26, 2023 Posted July 26, 2023 any program run as a service needs to run under an account that has access to a mapped drive. you need to change it from a local service account to your user account in the service config
pachi81 6 Posted July 26, 2023 Author Posted July 26, 2023 As you can see in my first post, the service is already running on my user account... Don't know, why it does not work with the service.
Solution rbjtech 5284 Posted July 27, 2023 Solution Posted July 27, 2023 14 hours ago, pachi81 said: As you can see in my first post, the service is already running on my user account... Don't know, why it does not work with the service. It doesn't work because a 'mapped' drive is a 'user logon' based mapping - it only exists when the user is logged in. Emby will still work even if you are not logged in (one of the major advantages to using a service) - thus the mapping would not exist in this configuration (but any UNC paths will work just fine). You need to try and use the NFS share as a UNC path - check the NFS version - most allow you to 'mount' it via a UNC. 1
pachi81 6 Posted July 27, 2023 Author Posted July 27, 2023 Yes, I got the NFS share to work with UNC path and mapped drive. So you are right, there is not need to use the mapped drives. At the moment, I do not use a service as Emby is running on a dedicated hardware, where nothing/nobody else is working on, so I have only one account and it is automatically logged in to. Thank you for you help! The topic is solved! 1 1
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