/build/static/layout/Breadcrumb_cap_w.png

Prompt for computer name in KBE or as preinstall task

My organization uses a very specific naming standard that can't be automated.  Has anyone had success with a script or method of prompting for a rename?  We don't have a lot of control over the technicians that do imaging at each location, and a lot of computers are coming up with random sysprep names when they join our domain.  We suspect it happens when they interrupt the image and lose the temp file with the name.  If they have an option to rename while still in the KBE or they have an image option that includes a preinstall task to prompt for it, that would cut down on a lot of secondary work after imaging.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Basically, use getcomputername.exe /dialog even though it doesn't fit exactly with my overall master plan.
Posted by: Ben M 12 years ago
9th Degree Black Belt
0

This program from the Kace support site works wonders. We have the same naming situation, and have used this to give the install a name while it is in the KBE. The computer runs the install, and then a postinstall task applies the name.This is the only solution I've gotten to work 100% of the time for us.

http://www.kace.com/support/resources/kb/article/Get-Set-ComputerName?action=artikel&id=1137

Edit: We use the dialog box part of the program.


Comments:
  • I will have to see if we can incorporate this into our scenario. Ideally I need a .vbs or something to detect if the name doesn't begin with certain characters and then use the /dialog option, but all other times just run normally. - nheyne 12 years ago
  • Thanks again for the suggestion, I was able to incorporate the /dialog option and make it work. - nheyne 12 years ago
Posted by: Timi 12 years ago
7th Degree Black Belt
0

You can also add a postinstall task to do a naming rule which uses wsname. From there you could create a file that has the mac-address to host name.


Comments:
  • For our environment with unique names not based on machine info, I haven't been able to come up with a scenario where wsname can be used. It's a shame because we use it for other projects and it works great. - nheyne 12 years ago
 
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