Shut down computer after backup completes does not work.

A few days ago I replaced my laptop (running Windows7 32 bit) with a computer running Windows7 64 bit. On the laptop the shut down worked OK. But it does not on my new computer. Here's what I did:
In the Task options I created a post task with the following:
Command = shutdown
Working directory = c:\windows\system32
Arguments= -s
WHen I click on the Test command button it shut the computer down (I saved everything before the shut down occurred.
After the computer booted back up again I checked the enteries in the Post command dialog.
THe Command was changed to C:\User\BOB\Desktop\shutdown
When I click on the Test command button I get an error dialog with a message of "User command's execution failed".

- Se connecter pour poster des commentaires

Hello,
Bob, GroverH is absolutely correct. This command should work just fine under any Windows installation.
GroverH, I may suggest you to include this guide to your guide.
Thank you very much for your help.
Bob, please reply to this thread if the command still not works fro you, I'll be glad to assist you.
- Se connecter pour poster des commentaires

Thanks GroverH,
I'll create the post-task as shown above. My Backup runs Sunday mornings. I'll post a results on Sunday or Monday.
- Se connecter pour poster des commentaires

It failed with errors:
Screenshots of my Edit Command dialog and error report are in the attached Word document.
Fichier attaché | Taille |
---|---|
26061-88264.docx | 141.02 Ko |
- Se connecter pour poster des commentaires

I am unable to read it. Can you put it in a zip file. Is the file extension correct?
- Se connecter pour poster des commentaires

The attached zip file contains as Word2007 version (.docx) and Word2003 version (.doc)
Fichier attaché | Taille |
---|---|
26067-88267.zip | 246.67 Ko |
- Se connecter pour poster des commentaires

Bob,
I am having difficulty in reading your attachments. The docx file is all gibberish. The doc file seems to have two images but the first image is blank. I was able to read the2nd image of the log file which indicates something wrong within the shutdown command.
Can you take a print screen capture of the shutdown coding and post it as an image.
Question: simulate editing the image and get to the point where the shutdown commands are on the screen.
Click on the test option. What happens? Does it succeed or does it fail?
Another option in troubleshooting would be copy the shutdown commands into a notepad text file and save it as a .bat file and run it manually to check its results.
- Se connecter pour poster des commentaires

Can you see the attached JPG?
When I click on the Test button I get a dialog stating "User Command's execustion failed".
Fichier attaché | Taille |
---|---|
26125-88279.jpg | 65.16 Ko |
- Se connecter pour poster des commentaires

Yes, the image is very good.
It hard for me to tell but there looks to be a space between the dash and the letter A at the end of the code line. It looks to be Shutdown - A but needs to be Shutdown -A
If that does not correct the issue, then try removing the Quote marks at the end of Shutdown -A"
If that does not correct, then shorten the message.
We need to get it to pass the test button before it will work.
- Se connecter pour poster des commentaires

If I cut out the -c and the comments, the test works. tomorrow I'll try backup. Post more then
- Se connecter pour poster des commentaires

According to the help syntax for xp pro, the -c comment command is supposed to accept up to 127 characters in between a set of quotation marks on both ends.
- Se connecter pour poster des commentaires

In W7 the '-' is replaced with the backslash '/' and the /d switch is required if using the /c text switch. A maximum of 511 characters are now allowed.
Having said all that, I tried the script with - and / had the same results as Bob. Entering the same command and parameters into the Windows run box did work.
To send a 'message' Windows requires the user to be part of the Administrators group for the the text to be recognised. I wonder if the command line parser for Acronis has this authority.
OK, I've solved the problem!
It works if you make a cmd file and then get TI to call the cmd file as per the attached png.
Download and add your extra text to shutdown.txt and change the type from txt to cmd
Fichier attaché | Taille |
---|---|
26146-88282.PNG | 44.91 Ko |
26146-88285.txt | 61 octets |
- Se connecter pour poster des commentaires

Bodgy,
My testing shows that your solution should work. I've updated my task that runs on Sunday morning. I'll post Sunday my results.
- Se connecter pour poster des commentaires

Colin B,
Your tip worked great! Thank you very much.
- Se connecter pour poster des commentaires

Great!
Colin is a great help to us all.
Question:
What content did you use in your shutdown command? I will need to make changes to other postings I have made with revised instructions using Colin's instructions.
- Se connecter pour poster des commentaires

I've attached an image file that shows the contents of the ShutDown.cmd and the Task Post Command Option that worked for me.
Fichier attaché | Taille |
---|---|
27108-88483.jpg | 60.61 Ko |
- Se connecter pour poster des commentaires