How To Domain Join a Computer Using MDT 2013 Update 1

How To Domain Join a Computer Using MDT 2013 Update 1

Finally had some downtime to do this video for you guys. It’s all about MDT and joining your computer during deployment to your domain. It’s easy and simple. Enjoy!

Scripts used in video –
Joining by PowerShell –

Iron Bacon by Kevin MacLeod is licensed under a Creative Commons Attribution license (

Support the video by giving it a “LIKE”, it will help me out.

Follow Me at Twitter:
Tech Site:



Sound Effects by
The Epidemic Sounds by


  1. Franklin De La Cruz on February 20, 2022 at 10:52 pm

    Is there a way to specify an OU using this script

  2. Stanislav Soták on February 20, 2022 at 11:01 pm

    You can join domain without this. The default step in task sequence (Recover From Domain) works as well, but you have to specify domain, domain admin account and password in Unattend.xml in that 7th step of "4-specialize" section. I’m working on deployment myself and i just tried, it works.
    Btw, really enjoy this tutorials, I’ve learned a lot from them, thanks BTNHD!

  3. Christian Yotha on February 20, 2022 at 11:09 pm

    cannot find your link to the sript

  4. choypogi07 on February 20, 2022 at 11:13 pm

    Hello, I’m inclined to try this, but will this work if I put this as the last sequence? We have this legal thing in GP, and it just messes up my MDT automation as it pops up when it restarts, even if I put it at the end

  5. Kareem Roberts on February 20, 2022 at 11:14 pm

    Hey BT,So, I noticed you are using MDT 2013 Update 1 to do this deployment. I upgraded my Server to MDT 2013 update 1 also. One of the issue I’m having is that Update 1 does not show the progress bar because it is using DISM.exe /apply to apply the image. But I’m seeing in this video from 6:53 that your deployment shows(traditional progress bar). What was the implementation you did to your Deploymentshare that corrects this issue?Thanks

  6. Josh B on February 20, 2022 at 11:15 pm

    What task sequence did you use as the template?

  7. Christian Yotha on February 20, 2022 at 11:16 pm

    Hello BTHND where is the sript please?

  8. PRATEEK SINGHAL on February 20, 2022 at 11:16 pm

    How to Remove the Static DNS Automatically after Domain Join?

  9. Matt Thilakarathnage on February 20, 2022 at 11:18 pm

    Hi, This is Really great explained tutorial,I really liked and I learned so much and will share this video because is really informative tutorial ,
    I am working on Domain environment so I have a problem application deployment and Domain join, I have try so many videos but still I have problem with application deployment and Domain join please help me.

  10. Neil li on February 20, 2022 at 11:19 pm

    Hi,may i ask a to set auto login domain use a specify domain account after computer auto join domain

  11. Dan Davis on February 20, 2022 at 11:23 pm

    That script places a password in plain text. is there a way to use a password that is not in plain text.

  12. Luis Lucas on February 20, 2022 at 11:30 pm

    Hello BTHD ……..

    I follow the same process that you are using on this video to join a PC a domain during the deployment, and the deployment finish ok but the pc is not joined into the domain. I don’t receive any error.

    Any advise?

  13. Doctor Who Jr. on February 20, 2022 at 11:42 pm

    THANKS A LOT <333

  14. Adam on February 20, 2022 at 11:43 pm

    Thank you BTHD for all this information.
    What options do you have for this configuration in your customsettings.ini file? I have everything sorted except a decent customsettings.inin for the domain join.
    Much apprecaied.

  15. Ray shiro on February 20, 2022 at 11:43 pm

    +BTNHD i have fellow all the step but it does not auto join the domain. My task sequences was deploy successfully. Pls advise. 🙁

    i got this error msg prompt when i try to run the script on my virtual pc

    Script: c://…..joindomain.vbs
    Errors: Expected ‘)’
    Code: 800A03EE
    Source: Microsoft VBScript compilation error

  16. Mangal Rahmani on February 20, 2022 at 11:49 pm

    Hi sir How are you Mr how can we configure from MDT Set a range of name with value to dynamically configre to all PC Which we Installing from WDS TNX

  17. bigboibryan on February 20, 2022 at 11:49 pm

    Hi there do you happen to know how to do this process using WDS only with features such as autologin and adding domain user and join domain all fully functional? if possible a video tutorial would be great thanks.

  18. Mihai Popa on February 20, 2022 at 11:50 pm

    Hello, is there a way to join a deployed machine to the domain based on the start credentials? you know, the crendetials that i’ve provided at the begining of the deployment? and also, i would like to add this option, if possible, as one of the lasts steps in the TS.