Backup and Shutdown

Discussion in 'Acronis True Image Product Line' started by Darylt, May 30, 2009.

Thread Status:
Not open for further replies.
  1. Darylt

    Darylt Registered Member

    May 30, 2009
    I am trying to find a way that I can schedual a backup to shut my PC down when it has finished. Alternatively creating a backup on shutdown would be OK but not ideal.

    I am using ATI 2009 on Windows Vista, I am also running this on an XP laptop.

    Thanks in advance

  2. babac

    babac Registered Member

    Sep 16, 2006
    Hi Daryl ,
    You have just to create a batch file and include it in the post command of your scheduled backup:
    Open NotePad/copy and paste %SystemRoot%\System32\shutdown.exe -s -t 0 /save it with a .bat extension.

    The 0 at the end of this syntax is the number of seconds it takes the computer to shutdown by itself.You may change this according to your needs.
  3. Darylt

    Darylt Registered Member

    May 30, 2009
    I have created the .bat file as suggested, and have tested the file which works!

    However the system does not shutdown after backup. The settings that I have are as follows;

    Source Selection - C:
    Target Archive - Add to Existing, Backup Location - Network drive
    Scheduing - Daily 01:00 UN and PW
    Backup Method - Incremental
    Source File Exclusions - None
    Backup Options - Post Command - Shutdown.bat, Arguments - None, Do not perform operations ubtil the commands execution is complete - unticked, Abort the operation if the user command fails - Unticked
    Automatic Consolidation - None
    Comments - None
  4. Acronis Support

    Acronis Support Acronis Support Staff

    Apr 28, 2004
    Hello Darylt and babac,

    Thank you for choosing Acronis Disk Backup Software.

    Please try to put "/" symbol instead of "-"

    Edit it and enter the text "shutdown /s /t 0" (w/o the quotes) and save it. Now, you can use the keyboard shortcut win + x + s + enter to let Vista's start menu search find the batch file and run the shutdown command.

    Additionally, here is the list of parameters:

    shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]]

    -l >> Logs off the current user
    -s >> Shuts down the local computer
    -r >> Reboots after shutdown
    -a >> Aborts shutdown. Ignores other parameters, except -l and Computer Name
    -f >> Forces running applications to close.
    -m [\\ComputerName] >> computer name

    To create a suspend icon, type “rundll32.exe PowrProf.dll, SetSuspendState”

    Thank you.
    Alexander Nikolsky
Thread Status:
Not open for further replies.