sted Posted July 1, 2010 Posted July 1, 2010 ive just altered my normal x64 win 7 sysprep file to try and get it to autojoin a domain but ask for computer name does the following look right (as atm short of sysprepping my home pc/laptop (and i dont have a domain here anyway) does this look right to anyone? true true true true http://www.leedslearning.net 0809:00000809 en-GB en-GB en-GB en-GB false some school some school GMT Standard Time domain.local password username domain.local ou=staff domained laptops win7x64,dc=domain,dc=local
DMcCoy Posted July 1, 2010 Posted July 1, 2010 You can't ask for a computer name *and* join the domain with the supplied sysprep. You either need to prestage the name or use something like mysysprep2 or script the join in a late stage. With the supplied tools, the join will happen BEFORE the computer name is changed. When this is changed in the oobe pass, then the machine account trust from the domain gets broken. Microsoft know, they don't care. 1
ces973 Posted July 1, 2010 Posted July 1, 2010 You can actually have it prompt you for a computer name, and then in the oobe System phase run a powershell command to have it join to the domain, all it will ask you is for a valid PW. This is how we are currently setting up our Win7 PC's. C:\windows\system32\windowspowershell\v1.0\powershell.exe -command "Add-Computer -domainname xxxx -cred xxxx\administrator" 1
sted Posted July 1, 2010 Author Posted July 1, 2010 thanks both its not essential it joins the domain but would be nice although sometimes with win7 ive found if i fore the image out from wds (using my old sysprep file basically the same without the domain bits) it will autoname them username1 and domain it without being asked if only it was consistent lol
Gatt Posted July 1, 2010 Posted July 1, 2010 with WDS, you can set it so that unknown computers must be approved by an administrator this generates a Request ID, adds the PC to the Pending Devices container in WDS.. right click the ID and give it the appropriate name, this then creates the AD comptuer account and auto-names the PC during imaging. right click servername.domain.local then choose properties then set the PXE Response Tab as shown... It only does this the once.. The ONLY caveat I have found is that if you delete a WDS-Staged Computer account, you need to wait 30 days before you can WDS it again, this is something to do with the WDS ID Database not syncing with AD...
mhundley Posted July 1, 2010 Posted July 1, 2010 The ONLY caveat I have found is that if you delete a WDS-Staged Computer account, you need to wait 30 days before you can WDS it again We had a similar issue and found that by using the following command it will clear things out and WDS will then give the machine an IP address and allow you to continue again. WDSUTIL /Delete-AutoAddDevices /DeviceType:ApprovedDevices
Gatt Posted July 1, 2010 Posted July 1, 2010 Doesn't that delete all devices and force them to receive new request IDs ?
mhundley Posted July 1, 2010 Posted July 1, 2010 Quite probably, we were looking to continually rebuild a test machine and this was the only way we found to make it work. We are still in the learning stage though so any advice will be greatfully recieved, especially if we are committing a huge no no in using that command.
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