0

I would like to use Windows Task Scheduler to make a backup with DriveImage XML.

The first problem, which I somehow managed to solve, is that Windows Task Scheduler will not run 32 bit programs if Windows is 64bit. So I followed this article, and added C:\Windows\SysWOW64\cmd.exeto the Program/script: in the actions of the task.

In Program/script I have added %systemroot%\Syswow64\cmd.exe and in the arguments I have added /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe" This allows me to run DriveImage XML in Windows Task Scheduler, even if it is a 32 bit application.

But this is where it gets a little tricky. Now that I have added /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe" how can I append the arguments used for DriveImage XML? I tried to use this guide but it does not account for the "32bit in 64 bit issue"...

So if anyone can help me to setup DriveImage XML in Windows Task Scheduler I would be very grateful.

Please see this picture for what I have achieved so far

  • Perhaps try adding your DIXMl arguments within quotes, after is dixml.exe, ie: /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe dixlmargument1 dixlmargument2" – Ƭᴇcʜιᴇ007 Jan 19 '16 at 21:10
  • Please don't edit the answer into your question. Super User is a question and answer site and answers should be separate from questions. You can answer your own question instead. – DavidPostill Jan 23 '16 at 16:58
1

I realized that I should not have quotation marks on the end path. %systemroot%\Syswow64\cmd.exe /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe"/bc /tB:\\DRIVE IMAGES\\Windows10_maintenance_backup solved it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.