Change computer name with regedit
Change computer name with regedit
I there any way to change computername with regedit or make a script file.
I have ghost master and 10 computers thats i must changes name once every week.
Anyone?
I have ghost master and 10 computers thats i must changes name once every week.
Anyone?
-
tom lightbody
- Junior Member

- Posts: 334
- Joined: Fri Jul 07, 2006 1:07 am
- Location: cleveland
>...10 computers that i must change name once every week...
under *nix, the name is in the textfile /etc/hostname: here's a simple script to change <oldname> to <newname>:
"sed 's/oldname/newname/' </etc/hostname >/etc/h
mv /etc/h /etc/hostname"
This could be a weekly cronjob. If you're stuck with MS, maybe more difficult:-)
under *nix, the name is in the textfile /etc/hostname: here's a simple script to change <oldname> to <newname>:
"sed 's/oldname/newname/' </etc/hostname >/etc/h
mv /etc/h /etc/hostname"
This could be a weekly cronjob. If you're stuck with MS, maybe more difficult:-)
the way up and the way down are the same (heraclitus)
I don't think Mecke or any other windows user find this very useful. Since Mecke talk about regedit and posted this under the Windows OS forum it's pretty obvious it's a windows question.tom lightbody wrote:>...10 computers that i must change name once every week...
under *nix, the name is in the textfile /etc/hostname: here's a simple script to change <oldname> to <newname>:
"sed 's/oldname/newname/' </etc/hostname >/etc/h
mv /etc/h /etc/hostname"
This could be a weekly cronjob. If you're stuck with MS, maybe more difficult:-)
Mecke: I'm not sure what changes that is required to change the windows hostname, but i'm pretty sure there is more then one change in the registry required for a hostname change. I think the easiest way is to find som tool that can do this automatically and also change the SID (which is required if the PC is a member of a windows domain). Maybe i'm wrong, but isn't such a tool included with ghost?
I did a google search for "+windows +"computername" +change" and found some tools pretty easy, but not sure how well they work. Do you want a random hostname generated or is it ok to manully specify a hostname every time it's changed?
If that is the case.
Just use PXE Boot and have them download the images on bootup.
Take ya a few weeks to do the work but works like a charm after that.
Then you just have to turn the computer on for a new image to reinstall itself.
Just use PXE Boot and have them download the images on bootup.
Take ya a few weeks to do the work but works like a charm after that.
Then you just have to turn the computer on for a new image to reinstall itself.
There are 10 types of people in this world. Those who understand binary and those who don't.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
T43 Screen Dims and Computer Becomes Unresponsive
by SurrealMustard » Fri Jan 13, 2017 12:11 pm » in ThinkPad T4x Series - 20 Replies
- 2284 Views
-
Last post by kfzhu1229
Thu Apr 27, 2017 12:45 pm
-
-
-
Computer died during Windows Updates
by rebop » Thu May 11, 2017 9:34 pm » in Thinkpad - General HARDWARE/SOFTWARE questions - 2 Replies
- 455 Views
-
Last post by rebop
Thu May 11, 2017 11:36 pm
-
-
-
What computer have you had for the longest? When did you get it?
by pianowizard » Tue Jun 27, 2017 6:51 am » in Off-Topic Stuff - 18 Replies
- 392 Views
-
Last post by axur-delmeria
Fri Jun 30, 2017 3:49 am
-
-
-
change cmos battery x41
by D L Davis » Sun Jan 15, 2017 12:23 am » in ThinkPad X2/X3/X4x Series incl. X41 Tablet - 1 Replies
- 364 Views
-
Last post by RealBlackStuff
Sun Jan 15, 2017 6:31 am
-
Who is online
Users browsing this forum: No registered users and 2 guests



