How to capture, save, and reinstate a computer's name while deploying an image to it?
Our company programs the computer name into the BIOS of every workstation we put out. I need a reliable way to either pull it from the BIOS->Maintenance->Asset Tag field, or out of the operating system before it lays the image down...then have it rename the computer back to it's previous name post imaging.
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
For anyone interested in how to maintain the hostname while deploying a sysprep image to workstations here's what I found... www.kace.com/support/kb/?action=artikel&id=1137 Follow that article. In your sysprep xml file under the shell setup section make sure you have a place holder set in for the computername field. That way the get/set tasks will be able to populate it in the post installation tasks.
For anyone interested in how to maintain the hostname while deploying a sysprep image to workstations here's what I found... www.kace.com/support/kb/?action=artikel&id=1137 Follow that article. In your sysprep xml file under the shell setup section make sure you have a place holder set in for the computername field. That way the get/set tasks will be able to populate it in the post installation tasks.
Please log in to answer
Posted by:
Trinity
12 years ago
Posted by:
ramseygr
12 years ago
IF the workstations are Dell Systems, you can use the Client Configuration Toolkit (CCTK) in WinPE - "cctk.exe --asset"
you can capture that output with vbscript (maybe .bat, I haven't done that myself)
http://en.community.dell.com/techcenter/systems-management/w/wiki/1954.dell-client-configuration-toolkit-cctk-samples.aspx
https://support.dell.com/support/edocs/SOFTWARE/smcctk/2.0/CLI/html/cctkugcb.htm
you can capture that output with vbscript (maybe .bat, I haven't done that myself)
http://en.community.dell.com/techcenter/systems-management/w/wiki/1954.dell-client-configuration-toolkit-cctk-samples.aspx
https://support.dell.com/support/edocs/SOFTWARE/smcctk/2.0/CLI/html/cctkugcb.htm
Posted by:
Roonerspism
12 years ago
Do you have a K1000 asset system also? If you do, an alternative is if you dont want to hard code it into the bios and make future deployments a little more dynamic you can source your machine names from the K1 asset records and use the post install task listed in this article:
http://www.itninja.com/question/name-machines-via-k1-with-k2-post-install-script
David did a fantastic job of turning this into a post install task for the K2's use. Might reduce your overhead?
http://www.itninja.com/question/name-machines-via-k1-with-k2-post-install-script
David did a fantastic job of turning this into a post install task for the K2's use. Might reduce your overhead?