MDT Rules based on task Sequences

Joaquim Braga 20 Reputation points
2023-06-09T20:31:34.5933333+00:00

Hi,

I try to implement different properties by Rule in MDT but dont work. I am using the MDT 6.3.8456.100 with the code above. Every time the tasks dont allow domain:

############################

[Settings]

Priority=TaskSequenceID, Default

[11]

UserDomain=domain.intranet

MachineObjectOU=OU=THREE,OU=ONE,DC=domain,DC=intranet

JoinDomain=domain.intranet

[22]

UserDomain=domain.intranet

MachineObjectOU=OU=TWOs,OU=ONE,DC=domain,DC=intranet

JoinDomain=domain.intranet

[EXTRA]

JoinWorkgroup=Workgroup

[Default]

OSInstall=Y

SkipCapture=YES

SkipAdminPassword=YES

SkipProductKey=YES

SkipComputerBackup=YES

SkipBitLocker=YES

SkipSummary=YES

SkipFinalSummary=YES

SkipComputerName=NO

SkipLocaleSelection=YES

KeyboardLocale=0416:00010416

UserLocale=pt-BR

UILanguage=pt-BR

SkipTimeZone=YES

TimeZoneName=E. South America Standard Time

DeployRoot=\XXXXXXX\DeploymentShare$

SkipBDDWelcome=YES

SkipFinalSummary=YES

SkipUserData=YES

SystemLocale=pt-BR

KeyboardLocale=0416:00010416

EventService=http://XXXXXX:9800

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,205 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
832 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 14,541 Reputation points
    2023-06-12T07:29:06.28+00:00

    Hi,

    Based on the context you provided, you seem to be trying to implement different properties by Rule in MDT but they are not working. You are using MDT 6.3.8456.100 with the code above but every time the tasks do not allow domain. Without more information on the specific errors or issues you are experiencing, it is difficult to provide a concrete solution. However, there are a couple of things you can try:

    1. Double-check your syntax: Make sure that your syntax is correct and free of errors. One misplaced character or punctuation can cause the rules to fail.
    2. Verify MDT version: Ensure that you are using the correct version of MDT since the configuration files vary across different versions of MDT.
    3. Check Priority: Make sure that the priority of the rules is correct. In your sample code, [11] and [22] are of equal priority, so MDT will not know which to apply first.
    4. Ensure correct Task Sequence ID: Confirm that the Task Sequence ID is correct. The Task Sequence ID in the rules must match the ID of the task sequence you are deploying.
    5. Check for conflicts: Verify that there are no conflicting rules that are overriding your desired settings.
    6. Check for group policy conflicts: Check if there are any Group Policy Objects (GPOs) that are overriding your settings. The MDT rules engine is designed to be applied after GPOs have been applied, so if there are conflicts between them, the GPOs will take precedence.
    7. Refer to Microsoft documentation: If none of the above steps have worked, please refer to the Microsoft Deployment Toolkit resource center to understand how to configure MDT and its rules.

    References: