Change workgroup from command line?

  • Thread starter Thread starter Nikolai Vorontsov
  • Start date Start date
N

Nikolai Vorontsov

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.
 
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/d...roup_method_in_class_win32_computersystem.asp

Or you can use NetDom utility of ResKit. (http://www.petri.co.il/download_w2k_sp4_support_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.
 
Back
Top