Last active 3 weeks ago
thanks. that worked.
Next I want to add the computer to my domain and move it to a OU. From what I have read on the form (and may have posted about it already) I need a sysprep tag and an unattend file.
I not getting the computer name function to work with my images.
I do sysprep the image before capturing it to CD with an unattend.xml file.
Also looking at the log there is two spots that were it says it can't find the unattend file. But another section where it does. I have attached both files. Hopefully someone can point out my error(s).
thanks for you help.
Does CD generate log files when doing deploys/uploads? And if it does where would I find the log file at.
I must have read the first post to my request as the only way it could be done.
Thanks for setting me on the easy path. I'll try this again
Ok, I have embraced the power shell idea and have found a script that works when I run it on the computer to be added to the domain. But it doesn't work when it's processed via a deploy in CD.
Here is the scrip that I'm using
$cred = New-Object System.Management.Automation.PsCredential("domain\useraccountwithjoinpermissions", (ConvertTo-SecureString "useraccountpassword" -AsPlainText -Force))
Add-Computer -DomainName "your.domain.here" -Credential $cred -OUPath "OU=computers,OU=yourlocation,DC=your,DC=domain,DC=here"
And it's setup as follows.
Computers, Computername I pick image profile of default
in Images, "image name" Profile, Default scripts I have a scrip item with the above content modified for my environment.
As I said the PS script works if I manually run it on my test machine but when I deploy to that same computer it doesn't add the computer to my domain.
Is there something I'm missing?
thanks for any help you can offer.
I'm trying to figure out how to get CD to add a computer to a specific OU during the deploy process.
Am I right in thinking it works like the computer name change procedure. ie. setup the unattend.xml then configuring a profile for that image?
I have attached my unattend file as my issue might be with this xml file. (the extension shows txt but when I sysprep I rename it to xml)
thanks for you help.
I found my problem. I'm running CD on a VM and someone rebooted that box. It caused the Windows os that is hosting CD to "fall off the domain". After adding it back all seems to be working.
When I get that message it reboots the computer and the deploy does not happen. I will take a look at the troubleshooting link next week thanks
I'm trying to auto add a computer to a specific OU when I deploy and windows 10 image.
I keep getting this error. "Could not mount SMB share. The server is not clustered.
I only have one CD server and all the files are stored on that box. Can someone direct me on this error?
Thanks that's all good news. I'm going to read up on unattended files so I can get this going.