none
Join Specific OU during Deployment RRS feed

  • Question

  • Hi Andrew,

    What are the custom ini settings for selecting the OU in whicha new PC is placed ?

    I have the PC joining the domain but want to select which of 2 OU's it goes into depending on the type of machine (eg Desktop or Laptop) I need to name ecah PC but want a drop down arrow for selecting OU and have all other options greyed out - or - is there a way of automating the query ?

    Bart

    Tuesday, March 14, 2017 3:17 PM

All replies

  • Here's an example that not only automatically chooses the correct OU but still gives you the option to change it from a drop down in the wizard

    [Settings]
    Priority=ByLaptopType, ByDesktopType, Default
    Properties=
    
    [ByLaptopType]
    Subsection=Laptop-%IsLaptop%
    
    [Laptop-True]
    TaskSequenceID=WIN10_1607
    MachineObjectOU=OU=Laptops,DC=Contoso,DC=Com
    
    [ByDesktopType]
    Subsection=Desktop-%IsDesktop%
    
    [Desktop-True]
    TaskSequenceID=WIN10_1607
    MachineObjectOU=OU=Desktops,DC=Contoso,DC=Com
    
    [Default]
    ...
    ...
    ...
    MachineObjectOU=OU=Computers,DC=Contoso,DC=Com
    DomainOUs1=OU=Desktops,DC=Contoso,DC=Com
    DomainOUs2=OU=Laptops,DC=Contoso,DC=Com
    DomainOUs3=OU=IT,DC=Contoso,DC=Com


    If this post is helpful please vote it as Helpful or click Mark for answer.


    • Edited by Dan_Vega Tuesday, March 14, 2017 4:16 PM fixed typo
    • Proposed as answer by Ty GlanderModerator Wednesday, March 15, 2017 9:46 PM
    Tuesday, March 14, 2017 4:16 PM