Configuring Windows Server 2008 R2 Server Core

  1. 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"
  2. 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.
  3. Add an administrator:
    • 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
  4. Rename your server: Run the following command to rename the server: netdom renamecomputer <ComputerName> /NewName:<NewComputerName>