Posteado por: El Conde | 11 octubre 2006

Comando NETDOM

NETDOM HELP command
     -or-
NETDOM command /help

  Commands available are:

  NETDOM ADD               NETDOM QUERY          NETDOM TRUST
  NETDOM HELP              NETDOM REMOVE         NETDOM VERIFY
  NETDOM JOIN              NETDOM RENAME         NETDOM TIME
  NETDOM MOVE              NETDOM RESET          NETDOM RESETPWD

  NETDOM HELP SYNTAX explains how to read NET HELP syntax lines.
  NETDOM HELP command | MORE displays Help one screen at a time.

  Note that verbose output can be specified by including /VERBOSE with
  any of the above netdom commands.

----NETDOM help JOIN-------------------------------


NETDOM JOIN machine /Domain:domain [/OU:ou path] [/UserD:user]

          [/PasswordD:[password | *]]

          [UserO:user] [/PasswordO:[password | *]]

          [/REBoot[:Time in seconds]]



NETDOM JOIN Joins a workstation or member server to the domain.

machine is the name of the workstation or member server to be joined



/Domain         Specifies the domain which the machine should join

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

               specified by the /Domain argument

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

               to prompt for the password

/UserO          User account used to make the connection with the machine to

               be joined

/PasswordO      Password of the user account specified by /UserO.  A * means

               to prompt for the password

/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.

/REBoot         Specifies that the machine should be shutdown and automatically

               rebooted after the Join has completed.  The number of seconds

               before automatic shutdown can also be provided.  Default is

               20 seconds



When joining a downlevel (Windows NT version 4 or before) machine to the domain

the operation is not transacted.  Thus, a failure during the operation could

leave the machine in an undetermined state with respect to the domain it is

joined to.



The act of joining a machine to the domain will create an account for the

machine on the domain if it does not already exist.



NETDOM HELP command | MORE displays Help one screen at a time.

The command completed successfully.



--  Ekskrempel

Vellykket ser det slik ut:

C:\tmp>netdom /DOMAIN:uio /USER:uio\mlomholt /PASSWORD: MEMBER juritek31 /joindomain
NetDom 1.2 @1997. Written by Christophe Robert (chrisrob@microsoft.com).

Searching PDC for domain UIO ...
Found PDC \\RATATOSK
Connecting to \\RATATOSK with user account uio\mlomholt ...
Querying domain information on PDC \\RATATOSK ...
Querying domain information on computer \\JURITEK31 ...
Computer \\JURITEK31 is currently in workgroup WORKGROUP.
Verifying if computer account exists on \\RATATOSK ...
Connecting to \\RATATOSK with user account uio\mlomholt ...
Resetting secure channel ...
Changing computer account on PDC \\RATATOSK ...
Changing LSA domain information on computer \\JURITEK31 ...
Changing startup of service NETLOGON on \\JURITEK31.
Stopping service NETLOGON on \\JURITEK31 ... stopped.
Starting service NETLOGON on \\JURITEK31 .... started.
Querying user groups of \\JURITEK31 ...
Adding UIO domain groups on \\JURITEK31 ...

The computer \\JURITEK31 joined the domain UIO successfully.

Logoff/Logon \\JURITEK31 to take modifications into effect.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Categorías