Unattend.Xml Computer Name Serial Number5/11/2021
We have a large number of new computers earch year that arent in the deployment database.Ive read some stuff online but havent found an exact solution to this.So how can I change the computer name in the sysprep file after the image is deployed.
Unattend.Xml Computer Name Serial Number OfWe name the computers the serial number of the computer, Ive seen different posts about users using a script to pull this and then inserting it into the sysprep file.I wonder if you could query the smbios in this script instead. So would the job just have the deploy job and then the next step is this script. ![]() For that matter, the only thing you need to supply, if you are renaming the local computer, is the new name. I have a feeling the machine is being joined to a domain before your script is running. This is fairly common with computers that you would find in a workplace. You can modify it and have it execute after imaging is done or on first reboot. As such, you may try adding -localcredential with a known local machine administrative userpass. There are various other script examples if you prefer automating the passing of credentials to the cmdlet. Provide details and share your research But avoid Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. Not the answer youre looking for Browse other questions tagged windows powershell vbscript or ask your own question.
0 Comments
Leave a Reply. |