G
Guest
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
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