DebugJoinOnlyOnThisError specifies a particular error code that causes DebugJoin to trigger if encountered during Windows Setup.

This setting modifies the behavior of DebugJoin. If specified, this setting causes the DebugJoin behavior only when the domain join operation fails with the error specified by this setting.

DebugJoinOnlyOnThisError only functions if DebugJoin is set to true.


This is an advanced setting designed to be used by product development and Microsoft Product Support Services. Leave this setting unmodified when you configure the unattended answer file.



Specifies an error code. The value is the decimal error code to filter. Error_code is a string. The default value is 0, meaning any error triggers the debug routine.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes


Parent Hierarchy

Microsoft-Windows-UnattendedJoin | Identification | DebugJoinOnlyOnThisError

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-UnattendedJoin.

XML Example

The following XML output shows how to set debug joins.


See Also