Prompt for Computer Name during SCCM OSD

System Center Configuration Manager SCCM

Last updated on April 16th, 2023 at 11:26 pm

Read Time:56 Second

In previous blog posts I’ve put together a guide to automatically create the computer name in your OSD task sequences using MDT (see the link below..):

Automatically generate computer name during SCCM OSD

However, there is also a slightly more manual way of inputting your computer name during an OSD TS using a pop-up prompt.

To do this, complete the following steps, if you need any assistance, just post a comment at the bottom of this post.

Open your Configuration Manager console and go to the Assets and Compliance Workspace and then click on Device Collections.

Prompt for Computer Name during SCCM OSD 1

Right click on the collection you want to deploy the OS to then click Properties (for this guide I’m using All Unknown Computers). You then need to click on the Collection Variables tab.

Prompt for Computer Name during SCCM OSD 2

Click on the new button as circled below:

Prompt for Computer Name during SCCM OSD 3

In the variable name type OSDCOMPUTERNAME and leave the value areas blank and then click ok.

Prompt for Computer Name during SCCM OSD 4

Once you have this collection variable in your collection property settings, you can then deploy your OSD task sequence to this collection and you will be prompted to enter your computer name.

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 441 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.