Changing hostname from command prompt

Masejoer

Gawd
Joined
Mar 11, 2001
Messages
698
Does anyone know of a way to effectively change the hostname in XP (sp2 if it matters) through the command prompt? I've tried pretty much everything I can think of. Someone told me you can through netsh, but wasn't specific and I couldn't find anything that works.
 

Malk-a-mite

[H]ard|Gawd
Joined
Feb 16, 2002
Messages
2,023
I don't think it's possible.

C:\>hostname /?
sethostname: Use the Network Control Panel Applet to set hostname.
hostname -s is not supported.


Even after digging thru a couple of other forums I can't see a way to pull this off - anyone else out there late on a Sunday have any ideas?
 
Top