MSFN Forum: Changing Workgroup Via Batch / Script - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Workgroup Via Batch / Script Rate Topic: -----

#1 User is offline   kukris 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 28-November 03

Posted 15 March 2005 - 02:50 PM

Hello,

I have W2K Pro and would like to change the workgroup via a batch file or script, i.e. from workgroup1 to workgroup2. Is that possible?


#2 User is offline   Noise 

  • Windows Guru
  • PipPipPip
  • Group: Members
  • Posts: 425
  • Joined: 27-February 04

Posted 15 March 2005 - 05:11 PM

I believe their is a utility called NETDOM in the Resource Kit that can do this from the command line.

#3 User is offline   kukris 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 28-November 03

Posted 17 March 2005 - 12:31 PM

Unfortunately that tool can be only used for domains, but not for workgroups.

#4 User is offline   kukris 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 28-November 03

Posted 18 March 2005 - 05:33 AM

I found an answer to this in another forum. It works with netdom.exe from the Resource-Kit of Windows NT4, but not with the Resource-Kit of W2K (and probably XP). To change a workgroup, use this command:

netdom.exe member /joinworkgroup myworkgroup


Replace myworkgroup with your workgroup name. After that you need to logoff.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy