/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


Is there a way to enter the computer name in the KBE after selecting an image to deploy? (Using a native .wim image with a custom unattend.xml)

04/12/2012 6531 views

I've been trying to streamline our imaging process, and being able to enter the computer name before kicking off an image would save a lot of time. Currently I'm mounting a native .wim image to the drive and copying a modified unattend.xml file to the panther directory with the ComputerName attribute missing so that OOBE prompts for a computer name. After entering the computer name a bunch of automated installs kick off that take about as long as mounting the image itself. Setup will just sit there waiting for the technician to enter a name, so if you start an image and forget about it, it will still take a while to complete after you remember. Pretty inconvenient.

I've seen that it's possible to modify the GUI in the "Deploy an Image to this Machine" screen using just a preinstall task as this happens when you include the USMT Scan User States task - so would it be possible to create a task that adds a text box for a computer name? I see that the Get Computer Name task reads the computer name from the registry and saves the name in a file in petemp named by mac address, I think the same thing would work here too. The mid-level post install task that copies over the unattend.xml file could then be modified to copy the base xml to the temp directory, modify it with the computer name attribute, and then move the modified file to the panther directory on the deployed image.

I tried looking at the Scan User States task and couldn't really figure out how it modified the KBE GUI, so I'm kind of stuck now. Any ideas or input would be greatly appreciated.

Answer Summary:
http://www.kace.com/support/resources/kb/article/Get-Set-ComputerName
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer


  • Interesting. I didn't realize that preinstall task could take switches. Thanks for the info. After posting this I tried modifying the getcomputername.vbs script to remove the registry searches and just set the computer name variable it uses using a prompt, works pretty well. Not as pretty as modifying the GUI but functional. The Apply Computer Name postinstall task works great with it without any modifications.

All Answers

0

Might need modification to work with images, but this will change computer names for you:

http://www.itninja.com/blog/view/how-to-change-computer-name-without-wsname-or-mac-address-on-brand-new-computer

Answered 11/02/2012 by: bthai
Yellow Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ