Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Domain on a computer with SMS

Status
Not open for further replies.

ribayah

Programmer
Apr 3, 2001
14
FR
We have to change NT domain name on 400 PCs. Can we do that with SMS?
 
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 /Domain:DomainName MEMBER \\PCName /DELETE" to remove from the domain.

To join a domain "netdom.exe /Domain:DomainName MEMBER \\NewPCName /ADD"
Followed by "netdom.exe /Domain:DomainName 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.
 
SMS: Site Does Not Function After You Change the Domain Name or Computer Name of a Site Server

Microsoft Knowledge Base Article - 213186

There is a White Paper out there on how to move SMS within a 2000 domain only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top