Bize Ulaşın / Contact Us

How to prompt for computer name in MDT/SCCM Task Sequence (OSD)

I was using Collection Variables in Collection Settings to ask Computer Name [OSDComputerName] at the beginning of my OSD Task Sequences. It was useful but it doesn’t have confirmation or correction features.

So I wanted to change it to something asks if the entered computer names is correct and allow user to change name before final confirmation.

And it worked nicely : )

My new prompt for the computer name script is


Feel free to use, change or optimize.

You can create a SCCM Package and run this script via “Run Command Line” action in your task sequence (cscript “PromptForComputerName.wsf”).

Or you can place it into your MDT Scripts (Toolkit package) and  run “Use Toolkit Package” action before it from, then run (cscript “%deployroot%PersonalPromptForComputerName.wsf”) in a “Run Command Line” action just after “Use Toolkit Package”.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">


Kontrol / Control * Time limit is exhausted. Please reload CAPTCHA.