Naming PC for network access

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

In XPp one can use the Network Setup Wizard to name a PC.
Is there a way to do this in a XPe network component? If
so which one? I can't seem to find it.
 
Tom,

There is a few ways to change device name:

1. TD: Standard PC or ACPI component, Settings, System Identification.
2. On target device (GUI): System Properties (My Computer-->Properties),
Computer Name page.
3. On target device (command line): netdom util or similar (please look into
Recourse Kit it for more details on the util).
4. You may also write your own util using either SetComputerName[Ex] API
(exported by XP kernel32.dll and does not require any other component) or
NetWkstaSetInfo API (exported by netapi32.dll interface and requires
Software->System->System Services->Base->Primitive: Netapi32).
SetComputerName[Ex] does nothing but a change of corresponding registry
settings. So you may just change the registry directly
(HKLM\SYSTEM\CurentControlSet\Control\ComputerName\ComputerName).

Hope this helps,
KM


T> In XPp one can use the Network Setup Wizard to name a PC.
T> Is there a way to do this in a XPe network component? If so which
T> one? I can't seem to find it.

With best regards, KM. E-mail: (e-mail address removed)
 
Back
Top