I have a remote directory that a web application accesses via a UNC path e.g. \\192.168.0.42\g$\files
.
The web app runs on Tomcat which is being run as a Windows service i.e. no user is logged in.
I can access the directory when logged in as a user; and the web application can also access it when I start tomcat from a script; but if I start tomcat as a Windows service then it can't access the directory.
Can anyone suggest why the service can't access the remote path?