Why does the post command not work in 2015?
I upgraded from 2013 to 2015 as I liked the look of the new UI and the upgrade price wasn't bad, but it seems like that might have been a mistake as my post command (which has worked fine in all other versions of True Image) does not function in 2015.
In addition I can't see anywhere to view logs in 2015 (if it even supports this feature!), so the exact error code escapes me. The backup operation completes fine but it just hangs on executing the post command, the taskbar icon shows 166% complete as well.
The command is to put the computer to sleep after an operation and looks like this:
http://i.imgur.com/ycHpsUN.png
Could someone help me get this working again please?
I should mention the build is 6525 and that the post command in question works as intended when hitting the "test" button, but doesn't seem to execute after a backup operation.

- Log in to post comments

Thanks David. A lot of things about 2015 just seem so backward in some ways, I guess that's the price to pay for a slicker UI.
- Log in to post comments

Acronis has always had issues with direct commands. I am surprised it ever worked--directly.
Put the command inside a bat or cmd file and execute the bat/cmd file rather than as a direct command.
Your illustration shows zero for timed delay.
This is my suggested link.
https://forum.acronis.com/forum/38609
Do be sure and start a new task with the included bat/cmd file as a prior task does not work well when edited and changed.
My signature link #1 could help. Partitucarly item AGH-1 inside that link.
- Log in to post comments

I came across your guide Grover but couldn't get the bat file to run properly.
What exactly would I need to enter to get the command to run?
The .exe that puts the computer to sleep is located at: C:/Users/Admin/My Apps/PSTools/psshutdown.exe
And the arguments are: -d -t 00
- Log in to post comments

Which version of Windows?
Which version of TrueImage was the last one which worked correctly for this command?
Are you wanting to shut down the machine, \
or are you wanting to put it to sleep?
- Log in to post comments

Its Windows 8.1 64bit. The command worked fine in 2014 and 2013.
The command above with those arguments is to put the PC to sleep.
- Log in to post comments

Am I to understand that both 2014 and 2013 put the 8.1 computer to sleep?
The first step in troubleshooting will be to put the post command into a bat/cmd file
and test/execute the bat/cmd file as a desktop shortcut without TI being involved.
The bat/cmd file will need to function correctly before inserting into the post command position.
When inserting into post position, you will need to use TI to create its own path via you working the way down the directory tree to the actual bat/cmd file. During testing of the standalone bat/cmd file, test both bat file and also test it as a cmd file to check if one type works any better than the other.
- Log in to post comments

Yes the post command put the PC to sleep correctly in 2014 and 2013, it was configured exactly like it is below in 2015.
http://i.imgur.com/ycHpsUN.png
The problem I had was entering the exact command into a notepad to make a .bat file - would I just put a "start" or "run" in front of C:/Users/Admin/My Apps/PSTools/psshutdown.exe and add the arguments "-d -t 00" to the end of that?
I've tried a few ways but all the happens is a cmd window pops up and then quickly disappears.
- Log in to post comments

Too little time. I haven't forgotten but so far, I have not been able to get psshutdown to work from a batch file.
the needed service won't start. I will try to test more over the weekend.
Until psshutdown works independently, TI is not involved.
Grover
- Log in to post comments

So the command does work in Windows from a batch file, it looks like this:
START C:\PsTools\psshutdown.exe -d -t 00
I think downloading a new copy of PSTools and just extracting it to the C drive may have helped.
But unfortunately true image still does not run the batch file successfully, same issue as before.
I'm talking to Acronis support and going through a few troubleshooting steps, if nothing pans out I'm reverting back to an older version and requesting a refund for 2015.
- Log in to post comments

Browse to your PSShutdown.exe
RIGHT click and choose properties.
Under the general tab,
look near the bottom and check if you have a button "UNBLOCK".
If yes, click on it so the unblock gets greyed out.
Let me know.
Also, when opening NOTEPAD to create either the bat or cmd file, Notepad has to be opened in "Run As Adiministator" mode EACH time you need to use Notepad to make a change in your bat/cmd file.
Such as
Start/All Programs/Accessories
RIGHT CLICK on Notepad and choose "Run as Administrator".
Add your text content and save the file as a txt type
with the name of xxxx.cmd
or xxxx.bat
use whatever name you wish.
- Log in to post comments

Post #11 blocking was the issue. With the "unblock" greyed out and disabled
Now, using your command directly inside the post command works as it has in the past.
c:/pstools/psshutdown.exe -accepteula -d -t 00
.. will suspend if using -t
.. will shutdown if using -s
Note: I used the edit function of the post command and browsed to the psshutdown.exe file so the program listed the path rather than risk a possible typing or path error.
- Log in to post comments

Ah wow, thanks for your help grover. I shall give it a try tonight and see what happens.
I guess this means TI 2015 has an issue running blocked files, because I am pretty sure the older PSTools I used with TI 2013/2014 were left blocked.
I've followed your steps, if my PC is still asleep tomorrow morning then everything will have worked as it should. Fingers crossed.
- Log in to post comments

I thought I'd just test it out now rather than wait until tonight. For some reason the backup hangs if TI is pointing directly to the pshutdown.exe file, it lingers on 90% with "processed, less than 1 minute remaining".
But I am happy to say it worked as it should using the batch file now that the psshutdown.exe has been unblocked. And this is good enough for me.
Thanks again for your help Grover.
- Log in to post comments

If you use a batch/cmd file, be sure the file is saved in Notepad when Notepad is is "run as administrator" mode.
- Log in to post comments

Yep I made sure to do that, everything is working as it should. Thanks again
- Log in to post comments