Chris Nackers Blog

ConfigMgr and MDT Deployment Solutions

Useful Blogs

User Groups

ConfigMgr Bare Metal Computer Name Prompt

Here is a very simple way to do a dialog box pop-up for providing a computer name to a bare metal installation.  This script I’m using was created by Nick Mosley and this particular script will search for the MININT name and if detected then it will prompt for a computer name.  If MININT is not detected in the name you will not receive a prompt, which works great for refresh scenarios.  You could strip some of the logic out and make the script prompt every time without too much trouble if that is what you desired.

1) First you will need to add the vbs script to your MDT files package \scripts directory.

2) Then you will need to update your distribution points to ensure your script is copied out.

3) Next we need to add an action to your Task Sequence:

You will need to add a new Run Command Line action.  This action needs to be after the format/partition disk task and before the Apply OS task.  I stuck mine just before the Apply OS task.

image

 

Fill out the Task Sequence step information and run the command line i’ve shown below:

image

4) Build a new computer via CD/PXE boot and you should receive a computer prompt

 

Here are the contents of the script:

image

 

Hope this helps,

Chris

Comments

No Comments