I have a small XP network (Workgroup) with a network hard-drive that we are using for a backup. My predecessor created a backup schedule thru Robocopy but my problem is that the network drive is password protected and the backup fails each evening with Access is denied.
The backup is from a single XP machine acting as a file server. The system has multiple users who log in and out with the same mapped drive to the backup drive, but when users log out it drops the mapped drive.
So I need to add some commands to the batch file. Mapping the network drive and authenticating with the username and password. Then waiting a few seconds before continuing with the backup.
Is this possible with a Batch file? I have searched the internet and am coming up blank.
The IP of the network drive is the 192.168.168.210. Below is the batch file as it currently stands:
robocopy "C:\Investments" "I:\BACKUPS" /MIR /V /NP /R:10 /W:5 /log:C:\Nightly_Backup_log.txt
Thanks in advance for any help.