I thought there might be a WMI solution, but
Win32_NetworkAdapterConfiguration doesn't seem to yield a solution. You
might want to try asking the Visual Studio NG.
Regards,
Sean Liming
www.sjjmicro.com /
www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
"Klaus" <(E-Mail Removed)> wrote in message
news

C847BF8-2039-4336-9C1E-(E-Mail Removed)...
> Thank you for your answer. But what I need, is something different:
>
> My image runs from CF-Card with a custom shell and is write protected by
> EWF. The user does not have access to the control panel, because I don't
> want
> that he accidentally misconfigures the whole system. The user can only
> configure some few things like network settings. So I build my own
> configuration dialogs e.g. one for configuring the network settings like
> IP-Adress, DNS etc. The IP-settings I set with 'netsh', the computer-name
> I
> set with Win32-API call 'SetComputerName'. But unfortunately there is no
> API
> call like 'SetWorkgroupName'. So I'am looking for a solution to set the
> workgroup at runtime from within my own configuration dialog.
>
> Klaus
>
> "jetq88" wrote:
>
>> you can change it when you build xpe image, go to whatever pc component
>> you use(ie, standard pc, ACPI uniprocessor pc etc, ) click on setting,
>> then system identification, you can change there.
>>
>> jet
>>
>> Klaus wrote:
>> > Hello,
>> >
>> > I want to modify the workgroup, which the computer joins when it starts
>> > up.
>> > But I don't want to use the GUI for this purpose, instead I want to
>> > change
>> > the workgroup programmatically e.g. with a script or a Win-API call or
>> > something like this. Does anybody know how to do this?
>> >
>> > Any hints are welcome,
>> > Klaus
>>
>>