We are currently moving Windows 2000 PCs from one Domain to another, we have used a VBscript which opens a shell object and runs a netdom.exe command to change the domain of the workstation. Unless you are running XP on the PCs, you will have to firstly remove the PC from the domain, add it to the new Domain and reboot (unless you plan to rename the PC, then you'll have to add it to a workgroup first before joining the new domain). XP supports a library function enabling you to change the PCs domain.
The netdom command is "netdom.exe /DomainomainName MEMBER \\PCName /DELETE" to remove from the domain.
To join a domain "netdom.exe /DomainomainName MEMBER \\NewPCName /ADD"
Followed by "netdom.exe /DomainomainName MEMBER PCName /JoinDomain"
In theory you could use these in a SMS Installer script which is sent to a client, however you would have to run it under an account with permissions to remove and join a PC to a domain. I hope this is of some help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.