When MDT 2010 is integrated with ConfigMgr 2007 and the ZTIBde.wsf script is attempted to be run in a ConfigMgr 2007 task Sequence via a "Run Command Line" task in an x64 Windows OS, the script will fail. Examining the logs reveals the following errors:
SMSTS.log
About to run command: cmd /c DEFRAG.EXE c: >> C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\ZTIdefrag.log 2>&1 InstallSoftware
Process completed with exit code 6726 InstallSoftware
Return code from command = 1 InstallSoftware
FAILURE ( 6726 ): 1: Execute cmd /c DEFRAG.EXE c: >> C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\ZTIdefrag.log 2>&1 InstallSoftware
Command line returned 6726 InstallSoftware
Process completed with exit code 6726 TSManager
!--------------------------------------------------------------------------------------------! TSManager
Failed to run the action: Partition Disk for Bitlocker.
The kernel transaction manager had to abort or forget the transaction because it blocked forward progress. (Error: 00001A46; Source: Windows) TSManager
ZTIBde.log
About to run command: cmd /c DEFRAG.EXE c: >> C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\ZTIdefrag.log 2>&1 ZTIBde
Return code from command = 1 ZTIBde
FAILURE ( 6726 ): 1: Execute cmd /c DEFRAG.EXE c: >> C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\ZTIdefrag.log 2>&1 ZTIBde
ZTIDefrag.log
'DEFRAG.EXE' is not recognized as an internal or external command,
operable program or batch file.