Re: not in domain



On Wed, 14 Feb 2007 18:01:07 +0100, fpl wrote:

the computers arent in domain, all computer are in a workgroup.

this command works in workgroups?

Thanks,

You can use the netdom command as long as you have admin credentials on the
box. There are run time parameters for specifying them.

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. You
can specify a particular domain controller by entering
/Domain:domain\dc. If you specify a domain controller, you
must also include the user's domain. For
example: /UserD:domain\user

/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
30 seconds

Windows Professional machines with the ForceGuest setting enabled (which is
the
default for machines not joined to a domain during setup) cannot be
remotely
administered. Thus the join operation must be run directly on the machine
when the ForceGuest setting is enabled.

When joining a machine running Windows NT version 4 or before 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.

--
Jeffery Hicks
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
VBScript & Windows PowerShell Training -
www.ScriptingTraining.com/classes.asp
Windows PowerShell? - www.SAPIENPress.com/powershell.asp

blog: http://blog.SAPIEN.com
blog: http://jdhitsolutions.blogspot.com
.



Relevant Pages

  • Re: CTRL ALT DEL function disabled locally
    ... I think Steve's psexec and netdom command will work. ... The netdom remove command will remove> the computer from the domain and then place it in a workgroup that has the> same name as the domain. ... > "Chris Redmond" wrote in message ... Upon reboot I was immediately locked out without the>> oportunity to fully authenticate it to the domain by signing in. ...
    (microsoft.public.win2000.security)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... tables) so that single spacing is used. ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ...
    (comp.text.tex)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ... % so that single spacing is used. ...
    (comp.text.tex)
  • RE: DTS and stored procedure
    ... There is a command prompt utility "dtsrun". ... The DTS package can be stored in the Microsoft® SQL Server™ ... Specify server_name to ... Displays the encrypted command used to execute the DTS package without ...
    (microsoft.public.sqlserver.dts)
  • Re: A Solution
    ... The syntax of the command is incorrect. ... /G user:perm Grant specified user access rights. ... Wildcards can be used to specify more that one file in a command. ... CI - Container Inherit. ...
    (microsoft.public.windowsmedia.player)