Rename Windows Server 2008 Core with netdom.exe
Type the hostname.exe command line to see the current computername which has been generated by the Windows setup. Select the computername and press enter on the keyboard. Now we are going to rename the server and prepare it for dcpromo process.