In this post I will be showing how to create Windows 10 task sequence through SCCM. I will be deploying Windows 10 1909 x64 version. There are few pr-requisites before deploying Windows 10 image to a system.
Prerequisite for deploying Windows 10 1909 image:
Boot Image:
Winpe PE Boot image (x64) distributed successfully on Distribution Point.
Navigate to \Software Library\Overview\Operating Systems\Boot Images, and make sure Content Status shows as Success.
Operating System Images:
Import Windows 10 1909 image ie. Install.wim.
You can download the iso file from Volume Licensing Service Center. Once downloaded extract / mount the iso file. Navigate to folder sources and copy install.wim to a source location (in my case: \\sccm01\d$\Source\OS\OS Images).
Rename install.wim to Win10_1909.wim (this is optional, just for the sake of better naming convention).
Add Operating System Image
For SCCM Operating system images, navigate to \Software Library\Overview\Operating Systems\Operating System Images, right click and select Add Operating System Image.
This will open up Add Operating System Image Wizard with Data Source page, specify the path of the wim file and click Next.
Under General page, provide the name as “Windows 10 1909 Enterprise” and click Next.
Verify the information under Summary page and click Next.
Under Completion page, you will be seeing the process has been completed, click on Close to exit the wizard.
Once you see image under \Software Library\Overview\Operating Systems\Operating System Images, right click and select Distribute Content to proceed with distributing it on Distribution point.
Verify the image Content Status, it should show as Success.
PXE setup should be configured:
Follow SCCM PXE Boot configuration if not done yet. Incase of pxe boot issues follow PXE Troubleshoot guide.
Create Task Sequence
Navigate to \Software Library\Overview\Operating Systems\Task Sequences, right click Task Sequences and select Create Task Sequence.
This will launch Create Task Sequence Wizard with Create New Task Sequence page, select Install an existing image package and select Next.
Under Task Sequence Information page, provide Task Sequence name as “Windows 10 1909” and specify Boot Image by clicking on Browse and selecting Boot image (x64) 10.0.18362.1. click on OK to close boot image selection window and click Next.
Under Install Windows page, select Image Package we created previously ie. “Windows 10 1909 Enterprise”. Select Image index as “3 – Windows 10 Enterprise”. Uncheck the box “configure task sequence for use with BitLocker” as we are not using Bitlocker configuration. Select Enable the account and specify the local administrator password and specify password of your choice.
Under
Configure Network page, select Join a domain.
Under Domain click on Browse and select your existing Domain.
Under
Domain OU, select the OU where you want the system to be moved, make
sure to select OU not container.
Under Account, click on Set and specify User name and password with
the account which has permission for Domain joining and moving system to OU,
you can verify this by connecting to existing LDAP and click on Test connection
to verify the same. Click on Next.
Under Install Configuration Manager client, default client package will be selected, we can change if we like, click on Next.
Under Configure state
migration page, we will not select any option as we are not
going to use USMT for capture and restore of data, hence uncheck:
Capture user settings and files
Capture network settings
Capture Microsoft Windows settings
Under Include Updates, we will go with option Do not install any software updates as we are not planning to install updates during this process.
Under Install Applications page, we can select any application which is optional, I have gone with selection of 7-zip application, click Next.
Under Confirm the settings page, verify all the details we have specified and click on Next to proceed with creation of Task Sequence.
If we right click the task sequence and select Edit, this how the task sequence will look.
Add a Restart Computer step right after Setup Windows and Configuration Manager step as there is a known issue of screen getting stuck at “Just a moment” right after Configmgr client install, and will not show any progress related to steps there after. Once step is added, this should be your final task sequence.
Above mentioned task sequence will generate a generic ComputerName, you can follow Prompt for ComputerName during TS to manually provide the name during task sequence deployment process.
Deploy Task Sequence
Navigate to \Software Library\Overview\Operating Systems\Task Sequences, select the task sequence we recently created ie. “Windows 10 1909”, right click and click on Deploy.
This will launch Deploy Software Wizard with General page, select the Collection as “All Unknown Computers” and select Next.
Under Deployment Settings page, select Make available to the following drop down menu which has following values:
Only Configuration Manager Clients
Configuration Manager clients, media and PXE
Only media and PXE
Only media and PXE (hidden)
We will be proceeding with Only media and PXE as we are just interested deploying to new systems only.
Under Scheduling page, check the box Schedule when this deployment will become available and provide the date and time which will be used as when to make this policy available, click on Next.
Under User Experience page, we will be going with default options, click on Next.
Under Alerts page, once again we will be going with default settings, hence no changes here, click on Next.
Under Distribution Points page, make sure Download content locally when needed by the running task sequence is selected under Deployment options.
Under Summary, verify the details and click on next to proceed with deploying the task sequence.
PXE Boot the system
As we are ready with the deployment, we will now PXE boot the system.
System will contact DHCP and WDS server and WinPE boot image will load.
Under Task Sequence Wizard, select Next.
Select the Task Sequence “Windows 10 1909” and click on Next to initiate the Operating System deployment process.
Task sequence will be initiated now and will go through all the steps as mentioned in the Task sequence including Apply operating System step.
Wait for the process to get completed. Once completed login to the system, you may verify the OS Build with version by running command winver, along with 7-Zip installed: