Risla Posted December 13, 2004 Posted December 13, 2004 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 to1. Created xp cd with OEM 2. created runonceex.cmd/autologon.reg/useraccounts.bat and cmdlines.txtMy 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
Radimus Posted December 13, 2004 Posted December 13, 2004 see netdom...http://support.microsoft.com/?kbid=298593
Risla Posted December 13, 2004 Author Posted December 13, 2004 thanks...but that wont allow me to join the domain, or will it?
Radimus Posted December 14, 2004 Posted December 14, 2004 So you wouldn't even look for the answer that I gave to you...Reading is an integral part of using a computerThe 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 secondsWindows Professional machines with the ForceGuest setting enabled (which is thedefault for machines not joined to a domain during setup) cannot be remotelyadministered. Thus the join operation must be run directly on the machinewhen the ForceGuest setting is enabled.When joining a machine running Windows NT version 4 or before to the domainthe operation is not transacted. Thus, a failure during the operation couldleave the machine in an undetermined state with respect to the domain it isjoined to.The act of joining a machine to the domain will create an account for themachine 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...
Risla Posted December 14, 2004 Author Posted December 14, 2004 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now