none
Domain Join specific to Task Sequence

    Question

  • I have spent 2 days roaming the internet on how to have a specific Task Sequence join a domain and be added to a OU without success. There seems to be several different way of accomplish this, but the most popular is modify the customsettings.ini. Here is what I have.

    [Settings]
    Priority=TaskSequenceID, Default
    Properties=MyCustomProperty

    [Default]
    _SMSTSORGNAME=domain1.com
    OSInstall=Y
    SLSHARE=\\imageserver\Logs$
    SkipCapture=NO
    ComputerBackupLocation=%DeployRoot%\Captures
    SkipAdminPassword=Yes
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipUserData=YES
    SkipBitLocker=YES
    SkipLocaleSelection=YES
    SkipTimeZone=Yes
    TimeZone=004
    TimeZoneName=Pacific Standard Time
    UILanguage=en-US
    UserLocale=en-US
    SystemLocale=en-US
    KeyboardLocale=0409-00000409
    EventService=http://imageserver:9800

    [TS-Windows2012r2-Image]
    JoinDomain=domain2.com
    DomainAdmin=domain\mdt_user
    DomainAdminDomain=
    DomainAdminPassword=Password
    MachineObjectOU=OU=org,OU=Servers.OU=custom-Servers,dc=mydc,dc=com

    I have modified the initialization – gather local only to: gather local data and process rules= rules file: customersettings.ini

    When I run the mdt, the wizard ignores these settings. Any advice would be appreciated. 

    I'm using Version: 6.3.8450.1000


    Jim


    • Edited by Jim.Admin Wednesday, May 16, 2018 9:03 PM
    Wednesday, May 16, 2018 3:28 PM

Answers

  • I ended up installing SQL Express and using role based installations to accomplish my goal. 

    Jim

    • Marked as answer by Jim.Admin Thursday, May 24, 2018 5:01 PM
    Thursday, May 24, 2018 5:01 PM
  • I understand you resolved this already, just providing the answer of how to use an INI file to do this.

    The reason this did not apply is that when the CS.ini is read, you have not selected a TS, so it will not process the part for the TaskSequenceID.  At this point, the TaskSequenceID is null/not set/blank.

    This link should point you in the right direction if you dont want to use the database.

    LawsonT

    • Marked as answer by Jim.Admin Thursday, May 24, 2018 6:09 PM
    Thursday, May 24, 2018 5:42 PM

All replies

  • Hi,

    look here

    or try this


    Toni





    • Edited by tonibert Thursday, May 17, 2018 9:39 AM
    Thursday, May 17, 2018 9:27 AM
  • Thank you for the suggestion, but that had no effect. Its like the MDT doesn't process the entry. Shouldn't I see the values populated at the join domain wizard? 

    Jim

    Thursday, May 17, 2018 4:38 PM
  • I ended up installing SQL Express and using role based installations to accomplish my goal. 

    Jim

    • Marked as answer by Jim.Admin Thursday, May 24, 2018 5:01 PM
    Thursday, May 24, 2018 5:01 PM
  • I understand you resolved this already, just providing the answer of how to use an INI file to do this.

    The reason this did not apply is that when the CS.ini is read, you have not selected a TS, so it will not process the part for the TaskSequenceID.  At this point, the TaskSequenceID is null/not set/blank.

    This link should point you in the right direction if you dont want to use the database.

    LawsonT

    • Marked as answer by Jim.Admin Thursday, May 24, 2018 6:09 PM
    Thursday, May 24, 2018 5:42 PM
  • Thanks for the info. I wish I would have stumbled on this weeks ago. :) 

    Jim

    Thursday, May 24, 2018 6:10 PM
  • For sure.  I have been trying to be an active participant in this community and help where I can, but I was out sick so I missed a bunch here.

    LawsonT

    Thursday, May 24, 2018 6:18 PM