How do I change workgroup membership in command window?

  • Thread starter Thread starter FUBARinSFO
  • Start date Start date
F

FUBARinSFO

Hi:

How do I change workgroup membership of a workstation from a command
window? (not via GUI or manual changes). Say from the default
installation WORKGROUP to WG002. I can't figure out the "net use"
command to do it, and haven't been able to locate a single source that
simply addresses this one issue.

Thank you in advance for your help.

-- Roy Zider
 
Jack:

Unless I misunderstand the purpose of the net localgroup command, it
is not what I'm referring to.

The problem here is that the local workstation is part of group
WORKSTATION
 
Jack:

(mispostd just now)

The problem is that the local Windows XP workstation is a member of
workgroup WORKGROUP whereas every other workstation ont eh LAN is
member of workgroup WG002.

As a result, when I "net view" from the local workstation I get
"System error 6118" and can't see any of the other workstations, and I
can't even browse to find out what the other groups are on the LAN.

I know I can simply change the name from WORKGROUP to WG02, but I want
to do it programmatically from a cmd file. The net group command
addresses groups of user accounts on my local XP workstation, not the
workgroup names on the LAN.
 
Back
Top