Oops, I missed a bit.
SetComputerName (szComputerName)
>-----Original Message-----
>I use the following within a VB program.
>
>Dim szComputerName As String
>Public Declare Function SetComputerName Lib "kernel32"
>Alias "SetComputerNameA" (ByVal lpComputerName As String)
>As Long
>
>Then use...
>
>szComputername="MyServer"
>
>It works fine for setting the name. I just wish it was as
>easy to set the IP address.
>
>
>SetComputerName (szComputerName)
>>-----Original Message-----
>>I use a VBScript to set the computer name, IP Address,
>>Subnet Mask, Default Gateway, and Time Zone. This
Script
>>launches the first time the box is booted after ghosting
>>the image to it.
>>
>>Robert
>>
>>>-----Original Message-----
>>>Hi Jon,
>>>
>>>> I am interested to hear what way people change the
>>computer name of their
>>>> XPe image once it is built.
>>>
>>>Some API functions:
>>>
>>>NetWkstaSetInfo
>>>SetComputerNameEx
>>>
>>>Regards,
>>>Slobodan
>>>
>>>
>>>.
>>>
>>.
>>
>.
>
|