Windows domain 670x335

Join/Quit Windows Domain

Add or remove any endpoints to a domain

Description

This set of agent procedures allows you to add or remove any endpoints to your Windows Domain.
There are two versions of each script. One prompting you for the credentials and domain name prior to executing so you can fill as needed.
The second version uses static variables you will need to modify with the correct credentials for better automation.

Developer
  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website: http://www.kaseya.com
  • Contact Developer
  • Summary
  • Join/Quit Windows Domain
  • 410 Downloads
  • Version:
  • Initially Released October 16th, 2019
  • Reviews
    Gravatar for yannick bourgeois
    by yannick bourgeois on March 2nd, 2021

    This script is AWESOME. It can be used to fix stubborn trust relationship issues between pc's and domain controllers without requiring local admin rights. Seriously saved me some trouble.

    Gravatar for Johan
    by Johan on May 28th, 2020

    Thanks

    Discussion
    Gravatar for Dmitrij Kondrasov
    Dmitrij Kondrasov over 1 year ago

    Is it possible to join pc to not default OU?

    Gravatar for Gareth Thorley
    Gareth Thorley over 1 year ago

    If you want the PC to join a specific OU, you could add the following parameter, to line 7 of the Agent Procedure

    -OUPATH "OU=Tills,OU=Store Devices,OU=Domain Operations,DC=YourDomain,DC=local"

    If you want to specify your own OU, you will need to create additional GetVariable lines, and then reference the variable in Line 7.

    Hope this helps!

    Gravatar for Nick Abdullah
    Nick Abdullah 3 months ago

    Where is the joindomain.ps1 file?