Last active 2 days ago
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.
The computer I used to create the image is registered with AD but I'm trying to figure out how to rename the computer and add it to AD during the imaging process. From what I have read a rename is done with an unattended file and to get it added to AD I'll need to have a script to perform that. My question is how do I select what OU the computer goes to without having to change or modify the script each time I want to image/deploy a computer?
thanks for replying to my question(s).
I'm new to Clone Deploy and currently in the testing/learning phase so I have a question.
I find that I can upload a windows 10 image to the server then deploy it to a different computer successfully. But because we are on Active Directory I need to add the newly computer back to the network. This is not an issue right now but my question is am I causing problems that may pop up later on?
thanks for you input.