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".

- Log in to post comments

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.
- Log in to post comments

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.
- Log in to post comments

It failed with errors:
Screenshots of my Edit Command dialog and error report are in the attached Word document.
Attachment | Size |
---|---|
26061-88264.docx | 141.02 KB |
- Log in to post comments

I am unable to read it. Can you put it in a zip file. Is the file extension correct?
- Log in to post comments

The attached zip file contains as Word2007 version (.docx) and Word2003 version (.doc)
Attachment | Size |
---|---|
26067-88267.zip | 246.67 KB |
- Log in to post comments

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.
- Log in to post comments

Can you see the attached JPG?
When I click on the Test button I get a dialog stating "User Command's execustion failed".
Attachment | Size |
---|---|
26125-88279.jpg | 65.16 KB |
- Log in to post comments

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.
- Log in to post comments

If I cut out the -c and the comments, the test works. tomorrow I'll try backup. Post more then
- Log in to post comments

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.
- Log in to post comments

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
Attachment | Size |
---|---|
26146-88282.PNG | 44.91 KB |
26146-88285.txt | 61 bytes |
- Log in to post comments

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.
- Log in to post comments

Colin B,
Your tip worked great! Thank you very much.
- Log in to post comments

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.
- Log in to post comments

I've attached an image file that shows the contents of the ShutDown.cmd and the Task Post Command Option that worked for me.
Attachment | Size |
---|---|
27108-88483.jpg | 60.61 KB |
- Log in to post comments