Jump to content

Changing a large number of workgroup wrkstns to domain wrkstns


Recommended Posts

Guest Mr. JYC
Posted

Hello,

 

Is there a script or something that would allow one to change the membership

of a number of workstations that are in a workgroup to domain membership?

I've been manually joining the domain for workstations in the past but I am

finding that may not be possible for a large number of workstations.

--

Thank you for your help!

JYC

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: Changing a large number of workgroup wrkstns to domain wrkstns

 

 

"Mr. JYC" <MrJYC@discussions.microsoft.com> wrote in message

news:7DF718BC-2CF5-43FF-8D9D-CEFF3BC2C1AE@microsoft.com...

> Hello,

>

> Is there a script or something that would allow one to change the

> membership

> of a number of workstations that are in a workgroup to domain membership?

> I've been manually joining the domain for workstations in the past but I

> am

> finding that may not be possible for a large number of workstations.

> --

> Thank you for your help!

> JYC

 

You could use netdom.exe from here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en&Hash=GZ7sC2dJVCow8EsQAMgFRIioqnkc7QHNORnttN8DN%2bek1wcoCFmuoor2wg%2fodxIbImoxqL2shRw9XkczvqGE5A%3d%3d

 

Here is its screen output:

 

NETDOM ADD machine /Domain:domain [/userD:user]

[/PasswordD:[password | *]] [/server:server] [/OU:ou path]

 

NETDOM ADD Adds a workstation or server account to the domain.

 

machine is the name of the computer to be added

 

/Domain Specifies the domain in which to create the machine account

 

/UserD User account used to make the connection with the domain

specified by the /Domain argument

 

/PasswordD Password of the user account specified with /UserD. A *

means

to prompt for the password

 

/Server Name of a specific domain controller that should be used to

perform the Add.

 

/OU Organizational unit under which to create the machine

account.

This must be a fully qualified RFC 1779 DN for the OU.

If not specified, the account will be created under the

default

organization unit for machine objects for that domain.

 

/DC Specifies that a domain controller's machine account is to

be

created. This option cannot be used with the /OU option.


×
×
  • Create New...