I have program that reads/writes to a mapped drive. It works properly when accessing the mapped drive if I run it interactively (e.g. double click or command line), however it fails if run as a service. (Works fine as a service if I am only accessing local drives)
There is no difference in the program code being executed in either mode, only that it cannot access mapped drives as a service.
I have tested the service running as LocalSystem, LocalService, NetworkService, and set to login as the same user account used to run it interactively, none work.
Are there additional permissions to look for? I had thought having it run as a user it would inherit all of their rights.
Environment is Wondows Server with Active Directory accounts.