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/...k1wcoCFmuoor2wg/odxIbImoxqL2shRw9XkczvqGE5A==
Here is its screen output:
NETDOM ADD machine /Domain:domain [/UserD:user]
[/PasswordD:[password | *]] [/Server:server] [/OU
u 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.