Article ID: 952573 - Last Review: May 13, 2008 - Revision: 1.1

The reference computer does not start Windows PE when you try to perform an image capture operation of a non-U.S. English version of a Windows operating system

On This Page

Expand all | Collapse all

SYMPTOMS

When you use Windows Preinstallation Environment (Windows PE) to perform an image capture operation of a non-U.S. English version of a Microsoft Windows operating system, the reference computer does not start Windows PE. Instead, the system starts the operating system mini-setup process.

Note This problem also occurs when you try to update a non-U.S. English version of a Windows operating system.

CAUSE

This problem occurs because the Ztibcdutility.vbs script file runs the Bcdedit.exe tool to update the boot configuration database. The Ztibcdutility.vbs script file expects a response of "Successfully" after the Bcdedit.exe operation. If the primary operating system language is not U.S. English, the returned response does not contain the English word “Successfully." Therefore, the boot configuration database is not appropriately updated.

RESOLUTION

To resolve this problem, follow these steps:
  1. On the distribution share, double-click the Scripts folder.
  2. Right-click the Ztibcdutility.vbs script file, and then click Edit.
  3. Locate the following code that contains the CreateNewRamDiskEntry function.
    If iRetVal <> Failure Then
    		arrTemp = split(iRetVal, " ")
    		 sNewGuid = arrTemp(2)
    	Else
    		CreateNewRamDiskEntry = iRetVal	  
    		  Exit Function
    	End If	
    
    Delete the original code, and then use the following code to replace it.
    If iRetVal <> Failure Then
    		Dim aGuidTemp
    arrTemp = split(iRetVal, "{")
    		aGuidTemp = split(arrTemp(1), "}")
    		sNewGuid = "{" & aGuidTemp(0) & "}"
    	Else
    		CreateNewRamDiskEntry = iRetVal	  
    		  Exit Function
    	End If	
    
  4. Locate the RunBCDEdit function.
  5. Use the following code to replace the original RunBCDEdit function.
    Function RunBcdEdit (sCommand, bCapture)
     Dim iRetVal, oExec, sLine,oExec1, sLine1,arrTemp1
     Dim re
    
    
    
    	sBcdEdit = oEnv.Item("SystemRoot") & "\system32\bcdedit.exe"	
    	
    	If not oFSO.FileExists(sBcdEdit) Then
    		SetBcdError ("Unable to locate bcdedit.exe")
    		 RunBcdEdit = Failure
    		  Exit Function
    	End If
    
    
    		
    	sCommand = sBcdEdit & " " & sCommand
    
    
    	Set oExec = oShell.Exec(sCommand)
    
    		
    	 sLine = oExec.StdOut.ReadLine
    
    		
    
    	if bCapture = True Then
    		iRetVal = sLine
    	Else
    		iRetVal = Success
    	End If
    
    
    	RunBcdEdit = iRetVal
    End Function
    

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

Method 1
  1. In Windows PE, configure a Task Sequence to capture an operating system.
  2. Deploy a non-U.S. English version of a Windows operating system.
  3. After the System Preparation (Sysprep) step occurs, the computer should restart Windows PE. Instead, the computer starts the operating system mini-setup process.
Method 2
  1. Start a Lite Touch Installation from an existing non-U.S. English version of a Windows operating system.
  2. After the "Apply Windows PE" step occurs, the computer should restart Windows PE. However, the computer restarts the current operating system.

APPLIES TO
  • Microsoft Solution Accelerator for Business Desktop Deployment
Keywords: 
kbexpertiseinter kbtshoot kbprb KB952573
 

Article Translations