Pat,
Thank you for the speedy reply. I looked at the WMI SDK link but,
unfortunately, don't understand about methods. I would be very grateful for
some sample code.
I also looked at 'unattended' and found it very interesting. The place where
I work has used Ghost successfully for several years. This is going to
change in the very near future so it looks like I'll have to look at
'unattended' in more detail.
Rick
"Patrick J. LoPresti" <(E-Mail Removed)> wrote in message
news:s5g1xsw3ta3.fsf@patl=users.sf.net...
> If you only care about XP, you can use the JoinDomainOrWorkgroup
> method of the Win32_ComputerSystem WMI class:
>
>
http://msdn.microsoft.com/library/en...utersystem.asp
>
> Let me know if you need sample code.
>
> - Pat
> http://unattended.sourceforge.net/
>
> P.S. Workstation cloning is almost always a bad idea.
>
>
> "Rick Corbett" <(E-Mail Removed)> writes:
>
> > I've created a disk image used to clone new Win XP Pro PC's. I've
> > concocted a VBS script that changes the TCP/IP info and Computername
> > but one last thing has me stumped.
> >
> > Does anyone know how to change the Workgroup using script (VBS, WMI... I
> > don't care as long as it works)?
> >
> > Any help would be greatly appreciated.