Multiple AD credentials in MDT

Jarosław Boguta 1 Reputation point
2021-09-06T13:33:36.587+00:00

Hi,

i'll try configure MDT with two TS for two different AD in my company. I used:

  • bootstrap.ini for deployment direction,
  • CustomSettings.ini for skipping conf,
  • "customsettings.ini" for set default AD credential by "Gather local only" element in TS, but when i chose one of this TS on new device, i have default settings with chosen workgroup.

How can i fix this for setting one AD credential for one of this TS and other to second?

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).
859 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 43,061 Reputation points Microsoft Vendor
    2021-09-07T06:15:27.38+00:00

    Hi, anonymous user
    Thank you for posting in Microsoft Q&A forum.

    Sorry, I'm not very clear about your requirement, could you please have a more detailed description about the question?
    You may show how did you configure the bootstrap.ini and CustomSetting.ini.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Jarosław Boguta 1 Reputation point
    2021-09-07T07:50:51.863+00:00

    My bootstrap.ini:

    [Settings]
    Priority=Default

    [Default]
    DeployRoot=\server-01\Deploy$
    UserDomain=ad.local
    UserID=admin
    UserPassword=###########
    SkipBDDWelcome=YES

    My CustomSettings.ini:

    [Settings]
    Priority=HardwareInfo, Default
    Properties=MakeAlias, ModelAlias

    [Default]
    OSInstall=Y
    SkipCapture=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipBitLocker=YES
    SkipLocaleSelection=YES
    SkipTimeZone=YES
    SkipDomainMembership=NO
    SkipSummary=YES
    SkipFinalSummary=YES
    SkipComputerName=NO
    SkipUserData=YES

    TimeZoneName=Central European Standard Time
    KeyboardLocale=pl

    _SMSTSORGNAME=Build Share
    _SMSTSPackageName=%TaskSequenceName%

    SLShare=\server-01\Deploy$\Logs
    EventService=http://server-01:9800

    OSDComputerName=XY-%SerialNumber%
    JoinDomain=ad.local
    DomainAdmin=admin
    DomainAdminDomain=ad.local
    DomainAdminPassword=###########

    [HardwareInfo]
    UserExit=ModelAliasExit.vbs
    MakeAlias=#SetMakeAlias()#
    ModelAlias=#SetModelAlias()#

    My CS.ini added to TS:

    [Settings]
    Priority=Default

    [Default]
    _SMSTSORGNAME=Build Share
    _SMSTSPackageName=%TaskSequenceName%

    SLShare=\server-01\Deploy$\Logs
    EventService=http://server-01:9800

    OSDComputerName=XY-%SerialNumber%
    JoinDomain=ad01.local
    DomainAdmin=admin01
    DomainAdminDomain=ad01.local
    DomainAdminPassword=###########

    The problem is, when i chose one of the TSs with custom settings ini file with domain credentials, all of setting is default for unconfigured TS.