How to backup the data to network location (drive) that require authentication

81 views
Skip to first unread message

Alexey Galaktionov

unread,
Nov 26, 2012, 10:38:46 PM11/26/12
to handy-back...@googlegroups.com

You can do it simply by adding batch script execution before running the task.

-          download and extract batch file called ‘automount.bat’ (attached to this topic)

-          open it with Notepad

-          you will see command line that you have to edit  

net use Z: \\server_name_here\share_name_here /user:username_here password_here /persistent:yes 

where Z is preferred drive letter for network location

persistent key defines whether network location letter can change or not

-          in Handy Backup start new task creation wizard

-          define path to configured batch script for Run before task in Additional settings

-          define path to batch script that will unmount network location after task completion for better security(this step is optional)

net use Z: \\server_name_here\share_name_here /user:username_here password_here /delete 

-          run created task

Also you may want  to mount this network location even after Windows reboot or power-off. To do so you have to place batch script in Autostart folder:

C:\Users\YOUR_USER_NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

automount.zip
Reply all
Reply to author
Forward
0 new messages