hoatranlab.io.vnZalo: 09175168780917516878EmailLinkedIn
MD-102 + MS-102Giai đoạn 3 — OS Deployment & Cloud DesktopM20
M20

Microsoft Deployment Toolkit (MDT)

MDT components, Task Sequences, LTI vs ZTI, PXE boot, CustomSettings.ini.

MD-102 ~2 giờ Trung bình Giai đoạn 3/7
01

Lý thuyết cần nắm

MDT components, so sánh MDT/WDS/SCCM, Task Sequence types, LTI vs ZTI

1.1 MDT Components

Deployment Workbench
GUI console quản lý MDT: OS, apps, drivers, task sequences.
Deployment Share
UNC path (\\MDTServer\DeploymentShare$) chứa tất cả files.
Task Sequences
Chuỗi tác vụ tự động: format, install OS, apps, join domain.

1.2 MDT vs WDS vs SCCM OSD

Độ phức tạpQuy môTính năngPhù hợp
MDTThấpNhỏ (~500)Free, LTI/ZTI, WinPE, domain joinSMB, MSP
WDSThấpTrung bìnhPXE boot + image deploy, ít automationCơ bản
SCCM OSDCaoLớn (1000+)ZTI, USMT, multicast, full automationEnterprise

1.3 Task Sequence Types

TypeMô tảKhi nào dùng
Standard Client Task SequenceFresh OS install trên máy mớiNew computer, wipe and load
Refresh ComputerUpgrade OS giữ lại apps/data (USMT)Upgrade giữ data user
Replace ComputerDi chuyển data từ máy cũ sang máy mớiHardware replacement

1.4 LTI vs ZTI

ModeWizard interactionYêu cầuTốc độ
LTI (Lite Touch)Minimal — vài clickChỉ MDTVừa phải
ZTI (Zero Touch)Hoàn toàn tự độngMDT + SCCMNhanh nhất
02

Lab thực chiến

Cài MDT, tạo Deployment Share, Task Sequence, boot image

Lab A — MDT Install + Setup

Thực hành tại: Windows Server 2019/2022 (VM hoặc physical)
  1. Cài MDT 8456 + Windows ADK (download từ microsoft.com)
  2. Mở Deployment Workbench → right-click Deployment SharesNew Deployment Share
  3. Path: C:\DeploymentShare, Share: DeploymentShare$
  4. Import Windows 11 OS: Operating SystemsImport OS → browse to ISO/WIM
  5. Add Application: ApplicationsNew Application → e.g. 7-zip (silent install)
  6. Create Task Sequence: Task SequencesNew Task SequenceStandard Client Task Sequence
Kết quả đầu ra mọng đợi

Deployment Share tạo thành công với cấu trúc: Boot, Control, Operating Systems, Applications, Packages, Scripts.

Lab B — Boot Image + PXE Boot

  1. Right-click Deployment Share → Update Deployment Share → chờ tạo Boot.wim (~5 phút)
  2. Copy Boot.wim vào WDS: WDS ConsoleBoot ImagesAdd Boot Image
  3. Test machine: bật máy → F12 (PXE) → chọn Windows Deployment Services
Kết quả đầu ra mọng đợi

Máy khởi động WinPE qua mạng, hiển thị MDT Deployment Wizard. Chọn Task Sequence → OS cài tự động.

Lab C — CustomSettings.ini Automation

# Nội dung CustomSettings.ini
[Settings]
Priority=Default

[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
TimeZoneName=SE Asia Standard Time
JoinDomain=CORP.LOCAL
DomainAdmin=corp\mdt_svc
DomainAdminPassword=P@ssw0rd!
Kết quả đầu ra mọng đợi

Kết quả: MDT wizard bỏ qua các trang cấu hình, máy tự động join domain sau khi cài OS. Tiết kiệm từ 45 phút/máy xuống còn 15 phút.

03

Tình huống thực tế doanh nghiệp

MSI Service Center — 50 máy/tháng

Công ty MSI Service Center — 50 máy/tháng cần cài fresh Windows 11

Trước: 45 phút/máy (USB boot, click wizard, cài từng app). Với MDT LTI: technician chỉ PXE boot, chọn task sequence → máy tự động: format, cài Windows 11, apps, join domain. Tiết kiệm từ 45 xuống 15 phút/máy.

BướcThủ công (trước MDT)MDT LTITiết kiệm
Cài WindowsClick 15 bước wizardTự động10 phút
Cài AppsTải + cài từng appTự động từ Deployment Share15 phút
Domain joinSettings thủ côngTự động qua CustomSettings.ini5 phút
Tổng45 phút15 phút (giám sát)-30 phút
ROI: 50 máy/tháng x 30 phút = 25 giᤁ/tháng technician time tiết kiệm.