Configuring Windows Server 2008 R2 Server Core
- Find the domain: To identify the domain of the computer you are connected to, run the following command from command prompt: systeminfo | findstr /B /C:"Domain"
- Add machine to the domain: At a command prompt, type the following command: netdom join <ComputerName> /domain:<DomainName> /userd:<UserName> /passwordd:*
ComputerName is the name of the server that is running the Server Core installation.
DomainName is the name of the domain to join.
UserName is a domain user account with permission to join the domain.
When prompted to enter the password, type the password for the domain user account specified by UserName.
- If you need to add a domain command: net localgroup administrators /add DomainName>\<UserName>
- Restart the computer: You can do this by typing the following at a command prompt: shutdown /r /t 0