Skip to content
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr

Written By Jitesh Kumar
Last Updated September 3, 2024
Posted In SCCM
SHARE

Let’s learn how to display the SCCM OSD Computer Name Prompt in Task Sequence Deployment. We will use the OSDComputerName variable during deployment to change the computer name in the new OS.

There are many methods for prompting the computer name during operating system deployment with the SCCM Task sequence.

I will focus on how to use the Built-in task sequence OSDComputerName variable to populate the computer name prompt in the new OS.

If you are using MDT with Configuration Manager Integrated environment, you can visit this post to improve user experience to prompt for computer name –

Patch My PC

Add Task sequence Variable within a Computer Collections

In the Configuration Manager console, navigate to Assets and Compliance > Device Collections. Find the collection of all unknown computer devices since we generally use this collection to target bare metal deployment. If you have any other collection, you can use the same. Right-click and choose Properties.

All Unknown Computers are computers that are not managed by Configuration Manager or imported into Configuration Manager.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.1
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.1

In the All Unknown Computers collection Properties. Move to the Collection Variables tab. Click the Yellow Star icon to specify the task sequence variable.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.2
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.2

Input the variable name OSDComputerName, Do not specify anything for Value and Confirm the value. Click OK.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.3
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.3

Confirm the variable Name, click Apply, and OK. Close the collection properties window.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.4
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.4

Once you are done with all steps, Validate that task sequence deployed to the Unknown Computers device collection.

Reference Post: If you’re looking to deploy Windows 10 21H1 using SCCM Task Sequence, Follow the post Deploy Windows 10 21H1 Using SCCM Task Sequence | ConfigMgr | Step by Step Guide

Results – Run the Task Sequence

Different hardware models have different experiences for PXE. To boot to the network – UEFI-based devices typically use the Enter key and BIOS-based devices use the F12 key.

After the device successfully boots via PXE, the task sequence wizard appears. If you password-protect the media, the user has to enter the password on this welcome page. Click Next.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.5
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.5

Select a task sequence to run: If you deploy more than one task sequence to the device, you see this page to select a task sequence.

Use a name and description for your task sequence that users can understand. Complete the Task Sequence Wizard by selecting the deployed task sequence. Click Next.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.6
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.6

You will get a prompt, Under Edit Task Sequence Variables select the task variable to provide Computer Name and click Edit to add Value.

Here, you can input the custom computer name in the Value text box and click OK. Once completed, Click Next to allow the task sequence to run. It will display the Installation progress window.

Note: If you click Next without providing a value, the task sequence will proceed with a random computer name.

SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr  - Fig.7
SCCM OSD Computer Name Prompt In Task Sequence Deployment ConfigMgr – Fig.7

When the deployment process is complete, Sign in to the device and check the Computer Name. It should be displayed as the value that you provided.

Resources

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Jitesh KumarMicrosoft MVP, has over six years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus is Windows 10/11 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Written by

Jitesh has over 5 years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Discussion · 2 comments

  1. Love the process, but how or what is in place to avoid computer name duplication? Tech inputs a computer name, does it quickly check to see if that name already exists so you can try a different name or would it accept that then fail down the line? It would be nice if there was a built-in process whereby one could define some form of naming convention and a tech would only need to append some numbers or letters, but be assured it won’t be duplicated.

  2. Hi ,
    I have followed the same process.
    It gives me prompt do computer name. I have given name and device gets built with random name only. Not sure where is the issue. I tried with unattend answer file and without it also

Join the discussion

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

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read