GE,
> "KM" wrote:
>> There is no such command supported, neither there is a tool for that in XPe
>> Repository.
>> However, it is only one API call (SetComputerName[Ex]) or registry change.
>> So it would be easier for you to compile your own utility.
>> Note: reboot is required.
>
> What registry change do you mean? I have found more than one registry key
> that is named so.
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
> If I change these keys I can ping the new computername and the old one, too.
> In the computername Userinterface the old name is displayed.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName],"ComputerName"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters],"Hostname".
You need a reboot so that kernel can read the new name early enough to provide it to the interested drivers (network) and services
(server service, etc).
KM
|