Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
change computer hostname
Name: mongar Date: November 29, 2006 at 12:55:28 Pacific OS: win2003 CPU/Ram: 1 Product: hp
Comment:
does somebody know how to change the hostname of a windows computer via script doesnt matter in which language Perl ,VB and so on thanks
Name: Chi Happens Date: November 30, 2006 at 04:50:01 Pacific
Reply:
hmmm, i have never seen any program that would want to do that, but my guess is that the hostname of the computer is stored within the registry.
Search the registry to see if this is true, and if so then any language that can access the registry should be able to do this. I am pretty certain, however, that it would require a reboot.
Hope this helps, Chi
They mostly come at night...mostly.
0
Response Number 2
Name: mongar Date: December 27, 2006 at 13:00:11 Pacific
Reply:
thanks though i have managed to find a method in perl that will do it thanks anyway its: Win32::InitiateSystemShutdown($host,300,0,0,1);
Summary: I am trying to change the computer name of my system with a batch file logon script. The script will check to see if the system has a unique name if it does it will change the name based on a predefin...
Summary: I am trying to construct a batch file that lets someone remotley execute either a command prompt or task manager. I have that part done but what I want to do is to be able to ask the person running t...
Summary: Hello, I've searched the forums but what i find isn't quite what i need(Or i don't know how to mod them to work for me). What i am trying to do is this: Copy an .exe to all in list psexec file on all...