Re: Howto change the workgroup

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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" <Klaus@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DC847BF8-2039-4336-9C1E-2C6EE4FE6636@xxxxxxxxxxxxxxxx
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




.



Relevant Pages

  • Re: Critical error on http://connect
    ... When I joined my Windows Vista Business SP1 computer to my new SBS 2008 domain, I forgot to drop it to workgroup first. ... It failed at 'configuration complete' at the end of the http://connect wizard. ... Id it possible the _sbs_netsetup_.computername profile has to be deleted first? ... It should be in the profile. ...
    (microsoft.public.windows.server.sbs)
  • Re: install error 1913 ??!! cant update win.ini
    ... > my network settings get messed up about everyday. ... then norton got 4 virus attacked on my other pc now in repair. ... all i want is a configuration with system and network connections working together ... cant view the pages at all. ...
    (microsoft.public.publisher)
  • Re: Dual Boot Laptops
    ... > other configured as a Workgroup based system. ... > network (also configured as a Workgroup environment). ... > potential security issues with a dual boot configuration. ... > such a solution on a ThinkPad laptop is approximately $800 CDN, ...
    (microsoft.public.windowsxp.security_admin)
  • Critical error on http://connect
    ... When I joined my Windows Vista Business SP1 computer to my new SBS 2008 domain, I forgot to drop it to workgroup first. ... It failed at 'configuration complete' at the end of the http://connect wizard. ... I dropped the computer to workgroup, deleted the object in ADUC, then rejoined it. ... Id it possible the _sbs_netsetup_.computername profile has to be deleted first? ...
    (microsoft.public.windows.server.sbs)
  • Re: Network XP Pro and XP Home
    ... >> My wife's laptop is configured for her work domain, and the home network is a ... >The easiest way is to rename the home workgroup to be the same as the work ... DO NOT ALTER THE DOMAIN CONFIGURATION OR THE LAPTOP WILL BE ...
    (microsoft.public.windowsxp.general)