How do I make SyncToy back up while shutting down?

Unanswered How do I make SyncToy back up while shutting down?

  • miércoles, 09 de marzo de 2011 19:36
     
     

    Hi all,

    I work for a company that requires us to shut our computers down every night.  I would like have SyncToy back up my files after I tell my computer to shut down so I don't forget to back up or waste any of my day doing so. 

    I am running Windows 7 and SyncToy 2.1.  I looked into using Windows Task Scheduler to schedule a SyncToy event, but I could not find time frame for after the computer is told to shut down and before it actually shuts down.

    This is the time frame I'm looking to auto-back up.  Any help is greatly appreciated!

Todas las respuestas

  • sábado, 04 de febrero de 2012 17:23
     
     

    A bit late reply bit maybe someone might find it handy.

    Create a simple backup.bat file and put in the following text:

    ________________________________

    @echo off

    "C:\Windows\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R

    _________________________________

    then copy this batch file into C:\Windows\System32\GroupPolicy\User\Scripts\Logoff   (Note: You can activate it now just to test if it functions properly, check the SyncToy event log for errors).

    Click on Run and open gpedit.msc and navigate to User Configuration then Windows Settings then Logon/Logoff, click on Logoff and click Add and select the backup.bat script that you made previously.

    I hope that it work for you as it did for me.

    Note. I believe that you must have Windows 7 Professional or Ultimate to be able to use gpedit.msc (Group Policy) tool.

    Regards,

    Smokie