Wednesday, June 24, 2009

Change hostname in Server Core

The installation process of Windows Server Core 2008 does not prompt you for a hostname of the computer. Instead, you end up with a hostname that looks something like this: "Win-39408347". Not exactly practical for use on the network. To check the current hostname, use this command:
hostname
To change your the hostname, use this command:
netdom renamecomputer [hostname] /newname [new name]
You will need to reboot for this to take effect.

No comments:

Post a Comment