Re: Computer Name
From: Bin Xing (BinXing_at_discussions.microsoft.com)
Date: 11/17/04
- Next message: KM: "Re: Computer Name"
- Previous message: Slobodan Brcin \(eMVP\): "Re: Virtual Memory Setting problems"
- In reply to: KM: "Re: Computer Name"
- Next in thread: KM: "Re: Computer Name"
- Reply: KM: "Re: Computer Name"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Nov 2004 15:06:01 -0800
Hi KM,
Thank you for your reply. Yes, I'm talking about the RAM disk with Remote
Boot Manager, and I'd like to change the computer name without a reboot.
Since System Cloning assigns a random computer name and our applications are
based on computer name, I have to specify computer name for each cloned XPe.
We've already used the same way to set computer name on Windows NT Embedded
(no cloning, just a same image for different computers), and it worked fine
on NT embedded. Now, we're going to use XPe for new projects.
It seems there is no way to set computer name in XPe, that's fair because
XPe doesn't know how many computers will use the same image. But I guess XPe
should give chance to user to specify their own computer names with, for
example, Remote Boot Manager or a batch file.
Bin
"KM" wrote:
> Bin,
>
> Since you are talking about RAM (Remote Boot) image, I believe you are trying to change the hostname/computername without a reboot.
> Right?
>
> Unfortunately, it is not going to work with such easy approach.
> IIRC, kernel has to read the hostname early at boot. If you change the hostname later, you must restart the machine.
> At least this is true for the ComputerName.
>
>
> I don't know any easy good way for you to accomplish what you want to.
>
> --
> Regards,
> KM, BSquare Corp.
>
>
> > Hi,
> >
> > I'm using XPe with Remote Boot Manager for a diskless system. DHCP & DNS are
> > used on the server side, and IP addresses are not hardcoded in DHCP server.
> > System Cloning generates a random name for XPe at boot time, however, I'd
> > like to specify the computer name according to each NIC's MAC address instead
> > of random name.
> >
> > I made a batch file to modify the registery for computer name and restart
> > DHCP client & DNS client. After running the batch file, if I run "hostname",
> > it shows the modified computer name, if I run "ping xxxx(NewHostName)", it
> > also works. But if I try to map driver as "\\xxxx(NewHostName)", it doesn't
> > work and shows error message "a duplicate name exists". And I'm still able to
> > map driver with old hostname, like "\\xxxx(OldHostName)". I update the
> > following registery:
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
> > "ComputerName"=NewHostName
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName]
> > "ComputerName"=NewHostName
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]
> > "ComputerName"=NewHostName
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
> > "Hostname"=NewHostName
> > "NV Hostname"=NewHostName
> >
> > Thanks.
> >
> > Bin
>
>
>
- Next message: KM: "Re: Computer Name"
- Previous message: Slobodan Brcin \(eMVP\): "Re: Virtual Memory Setting problems"
- In reply to: KM: "Re: Computer Name"
- Next in thread: KM: "Re: Computer Name"
- Reply: KM: "Re: Computer Name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|