Changing domain information for a managed computer

Once a computer successfully joins a domain, you can remove it from a domain at any time by using the adleave command. You must also use the adleave command before you can join a new domain or make changes to the domain information for a computer, such as changing the computer name.