locked
MDT to move a certain computer to a particular OU in AD based on laptop or Desktop? RRS feed

  • Question

  • Hi,

    Is their a way to tell MDT to move a computer to a particular OU in AD based on whether its a laptop or desktop.?

    Thanks,

    bobby

    Friday, April 28, 2017 6:04 PM

All replies

  • Something like this in your customsettings.ini should work:

    [Settings]
    Priority=ByLaptopType,ByDesktopType,Default


    [ByDesktopType]
    Subsection=Desktop-%IsDesktop%

    [Desktop-True]
    oinDomain=contoso
    DomainAdmin=mdt-domainjoin
    DomainAdminDomain=contoso
    DomainAdminPassword=P@$$w0rd
    MachineObjectOU=OU=Computers,OU=Desktops,DC=contoso,DC=local

    [ByLaptopType]
    Subsection=Laptop-%IsLaptop%

    [Laptop-True]
    oinDomain=contoso
    DomainAdmin=mdt-domainjoin
    DomainAdminDomain=contoso
    DomainAdminPassword=P@$$w0rd
    MachineObjectOU=OU=Computers,OU=Laptops,DC=contoso,DC=local

    Friday, April 28, 2017 8:16 PM