Change workgroup from command line?

Posted: 09-05-2005, 01:39 PM
Hello All,

I spent 2 hours searching web and didn't find answer on a simple question:

is there a way to change XPe workgroup name from the command line?

I don't want to rebuild XPe only to change this stupid workgroup name...

Please help.

--
Nikolai Vorontsov
Quadrox NV
Reply With Quote

Responses to "Change workgroup from command line?"

KM
Guest
Posts: n/a
 
Re: Change workgroup from command line?
Posted: 09-06-2005, 07:45 AM
Nikolai,

How about using WSH?
JoinDomainOrWorkgroup Method of the Win32_ComputerSystem Class:
http://msdn.microsoft.com/library/de...utersystem.asp

Or you can use NetDom utility of ResKit. (http://www.petri.co.il/download_w2k_...port_tools.htm)

--
Regards,
KM

> Hello All,
>
> I spent 2 hours searching web and didn't find answer on a simple question:
>
> is there a way to change XPe workgroup name from the command line?
>
> I don't want to rebuild XPe only to change this stupid workgroup name...
>
> Please help.
>
> --
> Nikolai Vorontsov
> Quadrox NV

Reply With Quote
Nikolai Vorontsov
Guest
Posts: n/a
 
Re: Change workgroup from command line?
Posted: 09-06-2005, 09:08 AM
Hello KM,

thanks for your reply. Finally I used NetJoinDomain() function from
netapi32.lib
> How about using WSH?
> JoinDomainOrWorkgroup Method of the Win32_ComputerSystem Class:
> http://msdn.microsoft.com/library/de...utersystem.asp
>
> Or you can use NetDom utility of ResKit. (http://www.petri.co.il/download_w2k_...port_tools.htm)
About NetDom - as far as I got from my tests of this utility - it works
mainly with domains. I didn't manage it to change workgroup name.

--
Nikolai Vorontsov
Quadrox NV
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Computer Name- via command line or registry Christian Anton Windows XP Configuration & Management 1 08-10-2004 02:14 PM
telnet (command line) to change "path of executable" gmcdanie Windows XP Work Remotely 0 01-28-2004 05:46 PM
XP Fax: Command line Darb Windows XP Printers / Scanners / Fax 1 01-08-2004 09:20 AM
fax command line Sandro Windows XP Printers / Scanners / Fax 2 11-10-2003 07:36 PM
Change XP Password @ Command Line Miha Pihler Windows XP Security & Administration 1 07-17-2003 07:30 PM