We help IT Professionals succeed at work.

automate process for remote copying with user interaction

mn210 asked
Last Modified: 2013-11-05
Create and implement a process for all users to back up data from their local C drive to their remote home directory   M drive. This needs to be a simple one-click, manual interaction for the user, giving them the flexibility to back up files as they feel fit. This process should also allow users to easily retrieve the backed up files from their M drives .
1) When user logs in, C:\Data folder should be checked and it should be created if required.
2) An Icon be created on desktops which does remote backup with user interaction
I just need the scripts to implement this and I will link them to group policy
Watch Question

Have you considered using folder redirection?  You can redirect users' My Documents folders to their Home (M:) drives and just have them save everything to My Documents.  Redirected folders are available offline and are automatically synchronized when a connection with the server is present.
Most Valuable Expert 2012
Top Expert 2014

What kind of user interaction do you need?  You could just run a log in script that launches the NTBackup utility in Wizard mode....then they step through the processes to back up what they need....




I have saved the ntbackup utility with predefined settings as backup.bks. How can I run this file with one click user interaction.
Also, I would like to run restore the same way.
Most Valuable Expert 2012
Top Expert 2014

You should be able to use a shortcut to this command
ntbackup backup @backup.bks /M normal /J ""Name Of Backup Job"" /l:s /f "\\server\share\backup.bkf"

Check if that works to back up files from your job file.




I have created a shared folder with batch file and its shortcut on the DC and have linked a script for copying both batch file and its shortcut when the user logs in in the group policy.
whenever a user logs in, the batch file is copied from DC to his local workstation which works fine. However, the shortcut is not copied from DC to local wkstn. How can I achieve this ?
here is the batch file: Even on the DC when in cmd prompt, I enter each copy command at a time:
copy  /y "\\apollo\Icon\Data_BCKP.bat" "%USERPROFILE%\Desktop\"
copy  /y "\\apollo\Icon\Data_BCKP.lnk" "%USERPROFILE%\Desktop\"
Data_BCKP.bat is copied
However for Data_BCKP.lnk ,I get the message - The system cannot find the file specified.
Most Valuable Expert 2012
Top Expert 2014
This one is on us!
(Get your first solution completely free - no credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.