Windows 2008 : Command Prompt Rename COmputer

Windows 2008 : Command Prompt Rename Computer

Use the following command to rename you the computer you are currently logged on to:

netdom renamecomputer %computername% /newname:<newhostname>