This question is related to http://stackoverflow.com/questions/54989/change-windows-hostname-from-command-line, but I'm in a different situation. The netdom tool will not work on a computer not joined to a domain. I've tried setting the hostname from the registry, but I was wondering if there was another way from the command-line.
migrated from stackoverflow.com Jun 9 '10 at 19:06
This question came from our site for professional and enthusiast programmers.
Right from the link you provided:
Then reboot with