Thursday, July 4, 2019

How to set up and Deploy Windows 10 with Microsoft Deployment Toolkit in Windows Server 2016

Introduction

The Microsoft Deployment Toolkit is a unified collection of tools, processes, and guidance for automating desktop and server deployment. In addition to reducing deployment time and standardizing desktop and server images, MDT enables you to more easily manage security and ongoing configurations. MDT builds on top of the core deployment tools in the Windows Assessment and Deployment Kit (Windows ADK) with additional guidance and features designed to reduce the complexity and time required for deployment in an enterprise environment. MDT supports the deployment of Windows 10, as well as Windows 7, Windows 8, Windows 8.1, and Windows Server 2008R2, Windows Server 2012, Windows Server 2012R2, Windows Server 2016. It also includes support for zero-touch installation (ZTI) with Microsoft System Center 2016 Configuration Manager.
For this demo, I will be using my new dedicated MDT and WDS Windows Server 2016 (WDS-SERVER).
There are a few things we need to prepare before we deep dive into the process.
  1. Download Windows Assessment and Deployment Kit (Windows ADK) for Windows 10
  2. Download Microsoft Deployment Toolkit (MDT)
  3. Windows Deployment Services (Windows server role, used to boot and deploy operating systems images through the network)
  4. Windows 10 distribution (ISO image or installation disc) – Windows 10 source files
Once you prepared all the necessary component, let’s get started ðŸ™‚
1 – On the WDS-SERVER, install Windows 10 ADK
ADK&MDT (1)
2 – On the Windows kits privacy click Next
ADK&MDT (2)
3 – On the License Agreement, proceed with Next
ADK&MDT (3)
4 – On the Select the features you want to install, click
  • Deployment Tools
  • Windows Preinstallation Environment (Windows PE)
  • User State Migration Tool (USMT)
and then click Install (it might take a while for the features to download)
ADK&MDT (4)
5 – wait for the download & installation process to complete
ADK&MDT (5)
6 – Once the process complete, click Close
ADK&MDT (21)
7 – Next we need to install Microsoft Deployment Toolkit, on the wizard click Next
ADK&MDT (22)
8 – Accept the License Agreement and click Next
ADK&MDT (23)
9 – On the Custom Setup, click Next
ADK&MDT (24)
10 – On the Customer Experience Improvement Program interface, click Next
ADK&MDT (25)
11 – Click Install
ADK&MDT (26)
12 – Once the process completed, click Finish
ADK&MDT (27)ADK&MDT (28)
13 – Start Menu open Deployment Workbench
ADK&MDT (29).png
14 – Deployment Workbench console Right-click Deployment Shares folder and then click New Deployment Share
ADK&MDT (30)
15 – On the Path interface, verify the location of the Deployment share (by default it will save to C:\DeploymentsShare), then click Next
ADK&MDT (31)
16 – On the Share interface, verify the name of the share (by default the name is DeploymentShare$), then click Next
ADK&MDT (32)
17 – On the Descriptive name interface, proceed with Next
ADK&MDT (33)
18 – On the Options interface, please untick all the box and then Next
ADK&MDT (34)
19 – On the Summary interface, verify all the information and then click Next
ADK&MDT (35)
20 – On the Confirmation interface, click Finish
ADK&MDT (36)
21 – On the Deployment Workbench console, Right click Operating System Folder and then click Import Operating System
Make sure you attach Windows 10 distribution (ISO image or installation disc) before proceeding with next step
ADK&MDT (37).png
22 – On the OS Type interface, click Full Set of source files and then click Next
ADK&MDT (38)
23 – On the Source interface, click Browse button, in the Browse For Folder box, browse toWindows 10 drive or Directory and then click Next
ADK&MDT (41)
24 – On the Destination interface, verify the Destination Directory name and then click Next
ADK&MDT (42)
25 – On the Summary interface, click Next
ADK&MDT (43)
26 – It might a while for the process to complete
ADK&MDT (44)
27 – Once the process complete copy the necessary files, click Finish
ADK&MDT (45)
ADK&MDT (46)
28 – Back to the Deployment Workbench console, right-click Task Sequence and then clickNew Task Sequence
ADK&MDT (47)
29 – On the General Settings interface, fill in the Task Sequence ID: for this demo, I type OSWin10, then fill in the Task sequence name: for this demo, I type Deploy Windows 10 Pro x64 and then click Next
ADK&MDT (48)
30 – On the Select Template interface, I choose the Standard Client Task Sequence and then click Next
ADK&MDT (49)
31 – On the Select OS interface, click Windows 10 and then click Next
ADK&MDT (50)
32 – On the Specify Product Key, I choose Do not specify a product key at this time and then click Next
ADK&MDT (51)
33 – On the OS Settings interface, Fill in the necessary information and then click Next
ADK&MDT (53)
34 – On the Admin Password interface, I choose Do not specify an Administrator password at this time, and then click Next
ADK&MDT (54)
35 – On the Summary interface, click Next
ADK&MDT (55)
36 – On the Conformation interface, click Finish
ADK&MDT (56)
37 – Next, we need to configure MDT rules before we start to update the process.
Right-click MDT Deployment Share and then click Properties
ADK&MDT (57)
38 – On the MDT Deployment Share interface, click the Rules tab and then key in the rules that you want to be executed
for this demo, this is my sample of the rule:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
UserID=Administrator
UserDomain=NewHelpTech.lk
UserPassword=Pa$$w0rd
SkipBDDWelcome=YES
SkipDeploymentType=YES
SkipDomainMembership=NO
SkipApplications=NO
SkipSummary=YES
SkipUserData=YES
SkipComputerName=NO
SkipTaskSequence=NO
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipAppsOnUpgrade=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipCapture=YES
SkipFinalSummary=YES
once you type all the rules, click Edit BootStrap.ini button
ADK&MDT (60)
39 – In the BootStrap.ini file, type:
UserID=Administrator
UserDomain=NewHelpTech.lk
UserPassword=Pa$$w0rd
KeyboardLocale=en-US
and then save the Bootstrap.ini file
ADK&MDT (61)
40 – Click OK to proceed
ADK&MDT (62)
41 – Next, its time for us to update the process Right-click MDT Deployment Share, and then clickUpdate Deployment Share will create a Windows 10 LiteTouchPE_x64.wim file
We’re going to use LiteTouchPE_x64.wim file to be attached to WDS so that we can install Windows 10 through the network
ADK&MDT (63)
42 – On the Options interface, click Optimize the boot image updating process, and then clickNext
ADK&MDT (64)
43 – On the Summary interface, click Next
ADK&MDT (65)
44 – It might take around 10 minutes for the process to be completed, once the process complete, click Finish
ADK&MDT (66)ADK&MDT (68)
45 – Next, still on the WDS-SERVER, open Windows Deployment Services (WDS), right-clickBoot Images and then click Add Boot Image
ADK&MDT (69)ADK&MDT (70)
46 – On the Image File interface, browse to C:\DeploymentShare\Boot\LiteTouchPE_x64.wim, and then click Next
ADK&MDT (72)ADK&MDT (73)
47 – On the Image Metadata interface, click Next
ADK&MDT (74)
48 – On the Summary interface, click Next
ADK&MDT (75)
49 – On the Task Progress interface, click Finish
ADK&MDT (76)
50 – We’ve done on the Server part, now lets boot up the Client PC so that the WDS will continue to install the Windows 10 through network (using PXE)
On the client PC, notice that it will boot up using network service boot, press F12 to continue
ADK&MDT (7)ADK&MDT (8)
51 – It might a while for the process to load the LiteTouchPE_x64.wim from our WDS-SERVER
ADK&MDT (10)ADK&MDT (11)
52 – our Client PC should pop up to the MDT interface
ADK&MDT (16)
53 – On the MDT Welcome screen, click Run the Deployment Wizard to install a new Operating System
ADK&MDT (13)
54 – On the Select, a task sequence to execute on this computer, click Deploy Windows 10 Pro X64 and then click Next
ADK&MDT (15)
55 – On the Computer Details interface, fill in the Computer name and the necessary information (you have a choice to join to the domain @ workgroup) and then click Next
ADK&MDT (17)
56 – It might take around 15 minutes for the process to complete install Windows 10 without needed any user interaction
ADK&MDT (19)ADK&MDT (20)
57 – After few reboots, you should have your complete Windows 10
ADK&MDT (22)Screenshot (3)
Good luck! Just give it try – I’m sure you’ll love it as well. If you have any comments or questions on feel free to contact me.

That’s all for now. ðŸ™‚

*Collected