A Task Sequence is a set of instructions that the build will take to deploy windows and join it to the domain, and various other tasks like uninstalling default windows apps. We also need to create a new task sequence for every New Operating system we import into MDT. We will use a standard task sequence and amend it to include our custom settings.
- Log on to MDT Server using username administrator
- Click Start – Open Deployment Workbench
- Expand the tree and click task sequence
- Right Click task sequence – Click New Task Sequence
- In the wizard Type a Task Sequence ID this needs to be unique I would recommend something like Win1124H2, but this can be anything.
- Type the task sequence name this is what Operating system you’re wanting to deploy, for example Windows 11 Pro 24H2
- Click Next
- Leave the Standard Client task Sequence selected – Press Next
- Expand the Operating System you wish to deploy and select the version of windows you wish to deploy
- Press Next
- Under Specify Product key select the second option, you will need the Product key for this version of windows, this will be in your volume licencing portal. Type the Product key and press next.
- Under OS Settings Type your Organisation Name – Press Next
- Specify a local Administrator Password Make this complex so its not hard to guess. Press Next
- Press Next again – Press finish
Now the standard task sequence has been created we need to customise it; we will now add our various tweaks to make this build go smoothly and remove any unwanted Apps that Microsoft installs as default.
- Right Click the new Task sequence you have just created and click Properties
- Click task sequence tab
- On the left-hand side expand Preinstall and click configure
- Click Add – General – Click Set task sequence variable
- Click the Red X Set task sequence variable – in the right-hand side type the Name Set Driver Group
- Under Task sequence variable type DriverGroup001
- Under Value type Windows 11\%Make%\%Model%
- On the left-hand side Click Set driver group and press the up button to move this item up this needs to be under refresh only folder and the inject drivers should be below set driver Group
The Windows 11 will be the Operating System name you are deploying.
- On the left under Preinstall – click Inject Drivers – Change Choose a selection profile from all drivers to Nothing
- Expand State Restore – click tattoo
- Click Add – Click Roles – Click Install roles and features
- Select Install Roles and features from the left-hand side – In the right-hand side make sure Windows 10 or higher is selected Windows 10 and 11 comes under Windows 10
- Scroll up and tick .NET Framework 3.5 (Includes .NET 2.0 and 3.0
- In Deployment workbench – Right Click MDT Deployment Share – Click Update Deployment Share
Click Next – Next again – Click Finish