Jump to content

Recommended Posts

Posted

Hi guys,

New to the unattended install thing (been lazy in the past with imaging and riprep) however, these are my current stages ive got to

1. Created xp cd with OEM

2. created runonceex.cmd/autologon.reg/useraccounts.bat and cmdlines.txt

My problem is this....

how can i join the machine to the domain as i would do with the .sif file and [identification]? Then delete the logon created in useraccounts.bat (for administration purposes)?

I have to roll out 3000 desktops so joining each one to the domain isnt feasible!

Would it be possible to run the "runonceex.cmd" and the MSI's with a "Runas" type command when the standard domainuser logs on with no admin rights?

thanks


Posted

So you wouldn't even look for the answer that I gave to you...

Reading is an integral part of using a computer

The syntax of this command is:

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.

2nd issue, why do you not create a user account that only has the privledges of join computer to domain, and use that in the sif file and let the machine join itself...

Posted

sorry radimus i did read the KB but it looked like it didnt do what you stated.

i could join the machine using the .sif and this is soemthing ive considered BUT wont the Autologon.reg entry mean that the machine logs on using the local account created when installing??????

I guess i could turn the registry setting off on the last step of my autorunex.cmd and join the machine to the domain there using NETDOM, would you agree?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...