KrAzYxDx Posted December 21, 2007 Share Posted December 21, 2007 (edited) Here's the setup. I currently have a DOS unattend for legacy systems and a WinPE unattend for newer systems. During the unattend I want the computer to join the Domain and then move to the appropriate OU. I know there are ways to move the computer after the unattend has finished, but I would like to do this during the unattend portion of the setup.Here's what I've found.1. If the computer account already exists in the Domain, the computer will join the Domain but it will not move to the specified OU under "MachineObjectOU=". <- FAILS2. If the computer account does not exist in the Domain, the computer will join the Domain and it will move to the specified OU under "MachineObjectOU=". <-SUCCESSHere's my identification section. I'm obviously using generic information.[identification] JoinDomain=TheDomain DomainAdmin=TheDomainAdmin DomainAdminPassword=TheDomainAdminPassword MachineObjectOU="OU = The OU,OU = Domain Servers,DC = TheDomain,DC = company,DC = com"Any Ideas? Edited December 21, 2007 by KrAzYxDx Link to comment Share on other sites More sharing options...
Mordac85 Posted December 21, 2007 Share Posted December 21, 2007 You're correct so far, but I'm not sure what kind of ideas you're looking for. The only way around the MachineObjectOU issue is to use some kind of script during post processing. Link to comment Share on other sites More sharing options...
KrAzYxDx Posted December 21, 2007 Author Share Posted December 21, 2007 Well I guess I was under the assumption that "MachineObjectOU=" would either create a new computer account in the specified OU or would move an existing computer account to the specified OU. I'm guessing by your post that my assumption is incorrect and "MachineObjectOU=" will not move an existing computer account to another OU. Do you know if MS has this documented anywhere?So if that is the case I'll script it to move before the unattend, delete before the unattend, or move after the unattend.Thanks... Link to comment Share on other sites More sharing options...
Mordac85 Posted December 21, 2007 Share Posted December 21, 2007 I'm not sure about the documentation, but yes it will only create in the specified OU, not move it if it already exists. I always recommend deleting the account and let your answer file handle it, but it really depends on how you wnat to go about it. Link to comment Share on other sites More sharing options...
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