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.

Answer Summary:
Basically, use getcomputername.exe /dialog even though it doesn't fit exactly with my overall master plan.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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.

Answered 12/12/2012 by: Ben M
Ninth Degree Black Belt

  • 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.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • Thanks again for the suggestion, I was able to incorporate the /dialog option and make it work.
Please log in to comment
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.

Answered 12/12/2012 by: Timi
Seventh Degree Black Belt

  • 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.
Please log in to comment
Answer this question or Comment on this question for clarity