Table 1 lists the error codes that the MDT scripts create and provides a description of each error code. These error codes are recorded in the BDD.log file.

Table 1. Error Codes and Their Description

Error code

Description

5201

A connection to the deployment share could not be made. The deployment will not proceed.

5203

A connection to the deployment share could not be made. The deployment will not proceed.

5205

A connection to the deployment share could not be made. The deployment will not proceed.

5206

The Deployment Wizard was canceled or did not complete successfully. The deployment will not proceed.

5207

A connection to the deployment share could not be made. The deployment will not proceed.

5208

DeploymentType is not set. Must set some value for SkipWizard.

5208

Unable to find the SMS Task Sequencer. The deployment will not proceed.

5400

Create object: Set class_instance = New class_name

5490

Create MSXML2.DOMDocument.

5495

Create MSXML2.DOMDocument.ParseErr.ErrCode.

5496

LoadControlFile.FindFile: ConfigFile

5601

Verify OS guid: %OSGUID% exists.

5602

Open XML with OSGUID: %OSGUID%.

5610

Verify file.

5630

Verify file: ImagePath.

5640

Verify file: ImagePath.

5641

FindFile: ImageX.exe.

5643

Find BootSect.exe.

5650

Verify directory: SourcePath.

5651

Verify directory: SourcePath\Platform.

5652

FindFile: bootsect.exe.

6001

Verify drive.

6002

Verify drive.

6010

Test for TSGUID.

6020

Robocopy returned value: Value.

6021

Robocopy returned value: Value.

6101

Check for file: DeployCab.

6102

Expand Sysprep files from DEPLOY.CAB.

6111

Run Sysprep.exe.

6121

Run Sysprep.

6191

Test for CloneTag in registry to verify Sysprep completed.

6192

Test for SystemSetupInProgress in registry to verify Sysprep completed.

6401

Authorized DHCP server.

6501

Computer backup not possible, no network path (BackupShare, BackupDir) specified.

6502

ERROR - Unable to locate IMAGEX, unable to perform backup.

6601

GetObject(... root/wmi:BCDStore).

6602

BCD.OpenStore (BCDStore).

6701

Configured protectors.

6702

Moved boot files.

6703

Create BDE partition.

6704

Defragment drive.

6705

Shrink drive.

6706

Testing for more than 1 partition.

6707

Create boot files.

6708

Encrypt the disk.

6709

Connect to MicrosoftVolumeEncryption WMI provider.

6710

Encrypting the disk.

6711

ProtectKeyWithTPM.

6712

ProtectKeyWithTPMAndPIN.

6713

ProtectKeyWithTPMAndStartupKey.

6714

Save external key to file.

6715

Protect with external key.

6716

Save external key to file.

6717

Protect key with numerical password.

6718

GetKeyProtectorNumberialP@ssword.

6718

Save password to file.

6719

Open PasswordFile.

6720

Encrypt the drive.

6721

Open DiskPartFile.

6722

Create partition.

6723

Get existing BDE drive.

6724

Open DiskPartFile.

6727

Attempt to open DiskPartFile.

6729

Create text file DiskPartFile.

6730

Execute cmd /c DISKPART.EXE /s DiskPartFile >> LogPath\ZTIMarkActive_diskpart.log 2>&1

6731

Find bcdboot.exe.

6732

Connect to Microsoft TPM provider.

6733

Get a TPM instance in the provider class.

6734

Get TPM instance.

6735

Check to see if TPM is enabled.

6736

Check to see if TPM is activated.

6737

Check to see if TPM is owned.

6738

Check to see if TPM ownership is allowed.

6739

Check to see if TPM is enabled.

6740

Check to see if TPM is activated.

6741

Check to see if TPM is owned and ownership is allowed.

6741

TPM Owner Password set

6742

TPM Owner P@ssword set to AdminP@ssword.

6743

Set TPM Owner P@ssword to value.

6744

Check to see if TPM is enabled.

6745

Check TPM owner.

6746

Check for endorsement key pair.

6747

Check to see if TPM is activated.

6748

Check to see if TPM ownership is allowed.

6749

Convert owner p@ssword to owner authorization.

6750

Create endorsement key pair.

6751

Change owner authorization.

6752

Run Cmd.

6753

Validate TPM.

6754

Get BDE instance.

6755

Protect key with TPM.

6756

Check for removable media to configure. ProtectKeyWithTpmAndStartupKey.

6757

Protect key with TPM and startup key.

6758

Look for BDE pin.

6759

Protect key with TPM and Pin.

6760

Find removable media for BDEKeyLocation.

6761

Protect with external key.

6762

Recovery P@ssword being saved to PasswordFile.

6764

Configure BitLocker policy.

7000

Unable to locate ZTIConfigure.xml; aborting.

7001

Looking for unattend AnswerFile.

7100

ERROR - This script should only run in the full OS.

7101

ERROR - Not enough values supplied for generating DCPromo answer file.

7102

ERROR - Mandatory properties for creating a new replica DC were not specified.

7103

ERROR - Mandatory properties for creating a new child domain were not specified.

7104

ERROR - Mandatory properties for creating a new forest were not specified.

7105

ERROR - Mandatory properties for creating a new forest were not specified.

7200

Unable to configure DHCP server because the service is not installed.

7201

Unable to read the scope details; GetScopeDetails() failed.

7202

Not enough values specified for scope creation.

7203

Not enough values provided to set the IP range for this scope.

7204

No value specified for scope exclusion range.

7300

Unable to issue DNS commands.

7700

Not a New Computer scenario; exiting disk partition.

7701

Disk is not large enough for System and BDE partitions, Required = 1.5 GB.

7702

Disk is not large enough for System and WinRE partitions, Required = 10 GB.

7703

DeployRoot is on disk # DiskIndex. Running an OEM Scenario: Skip.

7704

Running an OEM Scenario: Skip.

7704

Extended and logical partitions are not allowed with BitLocker.

7712

Verify Drive/Volume Drive is present. Format.

7900

Findfile: Microsoft.BDD.PnpEnum.exe.

7901

AllDrivers.Exists("GUID").

7904

AllDrivers.Exists("GUID").

9200

Findfile(PkgMgr.exe).

9601

ERROR - ZTITatoo state restore task should be running in the full OS; aborting.

9701

Nonzero return code from USMT estimate, rc = Error.

9702

User state capture not possible; insufficient local space and no network path (UDShare, UDDir) specified.

9703

Nonzero return code from USMT capture, rc = Error.

9704

No valid command line option was specified.

9801

ERROR - Attempting to deploy a client operating system to a machine running a server operating system.

9802

ERROR - Attempting to deploy a server operating system to a machine running a client operating system.

9803

ERROR - Machine is not authorized for upgrading (OSInstall=OSInstall); aborting.

9804

ERROR - Memory MB of memory is insufficient. At least Memory MB of memory is required.

9805

ERROR - Processor speed of ProcessorSpeed MHz is insufficient.  At least a ProcessorSpeed MHz processor is required.

9806

ERROR - insufficient space is available on Drive. An additional Size MB is required.

9807

ERROR - insufficient space is available on Drive. An additional Size MB is required.

9901

The ZTIWindowsUpdate script should not run in Windows PE.

9902

ZTIWindowsUpdate has run and failed too many times. Count = Count.

9903

Unexpected issue installing the updated Windows Update Agent, rc = Error.

9904

Failed to create object: Microsoft.Update.Session.

9905

Failed to create object: Microsoft.Update.UpdateColl.

9906

Critical file File was not found; aborting.

10000

Create object: Set oLTICleanup = New LTICleanup.

10201

Unable to Join Domain Domain. Stop installation.

10203

FindFile(LTISuspend.wsf).

10204

Run Program LTISuspend.

41024

Run ImageX.

52012

All the wizard parameters are not set.

 

Listing 1 provides an excerpt from a log file that illustrates how to find the error code. In this excerpt, the error code reported is 5001.

Listing 1. Excerpt from an SMSTS.log File That Contains Error Code 5001

      .

      .

      .

The operating system installation failed. Please contact your system administrator for assistance.

 

The action "Zero Touch Installation - Validation" failed with exit code 5001

      .

      .

      .

Related Topics

Troubleshooting Reference
Converting Error Codes
Review of Sample Logs