Hi guys we are developing a small utility for synchronizing a network folder where, as domain admins we have the full privileges, with a local folder in another computer.
We had written a service to do this job and found that when the service starts the error returned is "Access denied". This service is running as "Local System" and if we manually input the username and password along with the domain details then the service runs successfully.
So our question is, there any methods through which we could pass the authentication credentials automatically to the service so that we may not have to manually pass the authentication credentials?
We had written a service to do this job and found that when the service starts the error returned is "Access denied". This service is running as "Local System" and if we manually input the username and password along with the domain details then the service runs successfully.
So our question is, there any methods through which we could pass the authentication credentials automatically to the service so that we may not have to manually pass the authentication credentials?