Our company is acquiring smaller firms all the time. Does anyone have a script that can be pushed to window 7 machines which will allow us to change their domain to ours without having to touch each machine and manually changing domain?
Answer Summary:
2 Comments   [ + ] Show Comments


  • Are you adding the machines to an active directory tree? Are you joining the machines to a different server domain? Just changing the domain is not enough.
  • Current situation is that 2 totally seperate AD domains merged. While we have a trust setup between domains we have software which can only push PC policies inside one AD so we are looking for an automated way to do this rather than having to touch each machine.

    The machines in question are already attached to a domain which we will be phasing out.

    So essentially we are looking to move computers attached to domain B to domain A.
Please log in to comment


Answered 12/06/2014 by: flip1001
Third Degree Green Belt

Please log in to comment
From reading the comments there are a few options you can do.
Our company has the policy to re-image "new-come"  machine because of ISO certifications.
This option does seems to most problem proof method for later, more standard settings and so...

But before this ISO stuff, it was more easier to just join a machine, so long an agent was installed on it that would take care of policy and other settings...
If you have a service account that has rights as local administrator in both (all) domains, you can use this to generalize the computer.
I know of script that can unjoin and rejoin a server, so should be easier for a workstation.
Reboot will be required!
Answered 12/08/2014 by: dedenker
Third Degree Black Belt

Please log in to comment
I would create a account in AD then use a powershell script and use kace to push it out. then force a reboot. But if you don't have kace or any other SMS System then I would use email or other means.
Answered 12/08/2014 by: mikesharp1
Second Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity