ReverentCreature Posted December 12, 2018 Posted December 12, 2018 Hi is it possible to grant permissions to a computer account or user on the laptop to a shared shared folder on a domain server? I have a robocopy batch file on a standalone laptop with CCTV and door software on it. It needs to copy the database files to the admin server so they get backed up. With it being standalone how can I grant permissions so that it can access the folder and run?
glen_j Posted December 12, 2018 Posted December 12, 2018 You could map a drive via command line / batch file. You just need to provide credentials for a user that has access to that folder. syntax is: net use w: \\myserver\fileshare /user:MyID MyPassword
ReverentCreature Posted December 12, 2018 Author Posted December 12, 2018 Thanks Glenn, What about then moving files to that location in the scheduled task. Because the computer/user account would not have access to that folder would they. Is the only option as this is not on the domain to make the share available to "Everyone"?
dhicks Posted December 12, 2018 Posted December 12, 2018 Hi is it possible to grant permissions to a computer account or user on the laptop to a shared shared folder on a domain server? I think you should be able to simply map the shared folder as a drive and simply check any "remember credentials" tickboxes as you go along.
glen_j Posted December 13, 2018 Posted December 13, 2018 Thanks Glenn, What about then moving files to that location in the scheduled task. Because the computer/user account would not have access to that folder would they. Is the only option as this is not on the domain to make the share available to "Everyone"? I'd create a user on the domain and grant it access to the folder in question and then schedule tasks for a batch file first line would be to map drive second line would be the robocopy command or do as @dhicks suggested and map drive and tick reconnect box.
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