You will need
  • - administrator rights;
  • - LAN with a Windows domain;
  • - user account in the domain.
  • is the domain name.
To turn on the computer in the Windows domain on the tab "computer Name" in the window "system Properties". To open the window "system Properties" in Windows XP, using the "start" menu, open "control Panel" and click "System". If your computer is running Windows 7 or Vista, open "control Panel" and choose "System and security", in which click "System". On the opened page click on "advanced system settings" in the left sidebar.
In the window "system Properties" select the tab "computer Name". Click "Edit" in the opened window enter the name of the domain to which you want to turn on the computer. Then click on the OK button. In the window that appears, enter the domain user name and password. Then click OK and restart the computer. Your computer included in the domain.
In addition to the graphical interface, you can add a computer to the domain using the command line. In the operating system Windows XP NETDOM utility is included, which can add computer to the domain using the command:

netdom join computer_name /domain:domain_name /userd:domain_name\user_name /passwordd:user_pass.

Where computer_name, domain_name and user_name should be replaced by the names of the added computer, domain, and user and user_pass to change the user's password in the domain. In Windows 7 NETDOM utility has been replaced with command in PowerShell add-computer. To add a computer to a domain console Window 7, run the following command:

add-computer -DomainName domain_name -credential domain_name\user_name

Where domain_name and user_name will replace the domain name and user.