ConfigMgr 2007: The ZTIBde.wsf script from MDT 2010 does not work in x64 Windows OSs

Article ID: 2254610 - View products that this article applies to.
Expand all | Collapse all

Symptoms

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.

Cause

This problem is caused by an error in the ZTIBde.wsf script that causes it not to find Defrag.exe in x64 Windows OSes. Defrag.exe is used by the script to defragment the existing partition before shrinking it to create the partition needed by BitLocker.

Resolution

To resolve the problem, upgrade to MDT 2010 Update 1. The ZTIBde.wsf script has been corrected in MDT 2010 Update 1. If an upgrade to MDT 2010 Update 1 is not possible, the ZTIBde.wsf script in MDT 2010 can be corrected using the below steps:

  1. In the ConfigMgr 2007 Admin Console, navigate to the "Computer Management" --> "Software Distribution" --> "Packages" node.

  2. Under the "Packages" node, locate the the MDT 2010 Toolkit Package.

  3. Right click on the MDT 2010 Toolkit Package and choose "Properties".

  4. Click on the "Data Source" tab. Under "Source directory" determine the location of the MDT 2010 Toolkit Package source files.

  5. Click on the "OK" button to close the MDT 2010 Toolkit Package properties window.

  6. Navigate to the directory determined in Step 4 and open the "Scripts" folder.

  7. Make a back  copy of the ZTIBde.wsf file.

  8. Right click on the original ZTIBde.wsf file and choose "Edit". This should open the ZTIBde.wsf script in Notepad.exe.

  9. Find the following line in the ZTIBde.wsf script:

    ElseIf oFSO.FileExists(oEnv("SystemRoot") & "\sysnative\ServerManagerCmd.exe") then

    and change it to

    ElseIf oFSO.FileExists(oEnv("SystemRoot") & "\sysnative\defrag.exe") then

  10. Save and close the file in Notepad. When saving the file, make sure that the .txt extension is not added onto the file. The files should maintain the original name of ZTIBde.wsf.

  11. In the ConfigMgr 2007 Admin Console, update the Distribution Points that the MDT 2010 Toolkit Package are on.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2254610 - Last Review: November 22, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft System Center Configuration Manager 2007 R2
  • Microsoft System Center Configuration Manager 2007 Service Pack 1
  • Microsoft System Center Configuration Manager 2007 Service Pack 2
  • Microsoft Deployment Toolkit 2010
Keywords: 
KB2254610

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com