Skip to main content

TrueImage 2010 and Taskkill (pre/post commands)

Thread needs solution

Hello,
Trueimage tells me all the time, that I need to close a program to continue with the backup of program data. It's firefox which stops the backup.
I'm working under Win 7 32 bit Home.

I've tried to solve this problem by implementing a Batch as a pre-command, like

firefox-close.bat
----------------
@echo off
taskkill /IM firefox.exe
rem for time delay (5 sec.) to shutdown firefox
ping -n 5 127.0.0.1 > NUL
-----------------
Pre-Command-Section:
Command:
c:\firefox-close.bat
Workdir:
c:\
Arguments:

-------------------

When I tested it (button "test command"), it worked(!!!), but NOT in the backup-task! Firefox kept running.

For testing, I started the batch separately without any problem.

What is wrong?

Greetings from Ratingen/Germany

Raimund

0 Users found this helpful

Put it in front because problem not solved until yet. It's True Image 2010.

Hello,
Trueimage tells me all the time, that I need to close a program to continue with the backup of program data. It's firefox which stops the backup.
I'm working under Win 7 32 bit Home.

I've tried to solve this problem by implementing a Batch as a pre-command, like

firefox-close.bat
----------------
@echo off
taskkill /IM firefox.exe
rem for time delay (5 sec.) to shutdown firefox
ping -n 5 127.0.0.1 > NUL
-----------------
Pre-Command-Section:
Command:
c:\firefox-close.bat
Workdir:
c:\
Arguments:

-------------------

When I tested it (button "test command"), it worked(!!!), but NOT in the backup-task! Firefox kept running.

For testing, I started the batch separately without any problem.

What is wrong?

Greetings from Ratingen/Germany

I have a Similar problem. Also with True Image 2010.
I am using Windows 7 Ultimate 64-bit.

In my case I was attempting in a Batch file to:
taskkill.exe /IM OUTLOOK.EXE
taskkill.exe /IM treepadxenterprise.exe
@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n 2 -w 1000> nul

Just as in the previous post
"When I tested it (button "test command"), it worked(!!!), but NOT in the backup-task!"

So what is Wrong?