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

Configuration Manager OS Deployment

SCCM OSD components, Task Sequences, USMT, PXE boot cho MD-102.

MD-102 ~2 giờ Khó Giai đoạn 3/7
01

Lý thuyết cần nắm

SCCM OSD components, deployment scenarios, USMT, PXE

1.1 SCCM OSD Components

ComponentMô tảChức năng
Boot images (WinPE)WinPE customizedKhởi động môi trường pre-OS
OS images (.wim)Captured Windows imageNguồn gốc cài OS
OS upgrade packagesFull Windows setup filesDùng cho in-place upgrade
Task sequencesBộ quy trình tự độngFormat, install, configure, apps
Distribution PointsServer lưu trữ contentClient tải content từ DP gần nhất
PXE service pointNetwork boot serviceMáy boot qua mạng từ SCCM DP

1.2 Deployment Scenarios

ScenarioMô tảUser dataKhi nào dùng
New ComputerCài OS trên máy mới/bare metalKhôngOnboarding nhân viên mới
Refresh (Wipe & Load)Xóa sạch + cài lại, giữ data qua USMTCó (USMT)Major OS version change
ReplaceDi chuyển data máy cũ → mớiCó (USMT)Hardware replacement
In-place UpgradeUpgrade tại chỗ (Win10 → Win11)Có (giữ nguyên)Feature version upgrade

1.3 User State Migration Tool (USMT)

USMT gồm 2 tools: ScanState (capture data trước wipe) và LoadState (restore data sau cài OS). Capture: user profile, desktop, favorites, app settings.

# Capture user state (chạy trước wipe)
ScanState.exe \\server\usmt\%ComputerName% /ue:*\* /ui:CORP\* /c
# Restore user state (sau khi cài OS mới)
LoadState.exe \\server\usmt\%ComputerName% /lac /lae /c
02

Lab thực chiến

Import OS image, tạo Task Sequence upgrade, PXE boot

Lab A — Import OS Image vào SCCM

Thực hành tại: Configuration Manager Console → Software Library → Operating Systems
  1. Mở Configuration Manager ConsoleSoftware Library
  2. Operating System Images → ribbon Add Operating System Image
  3. Browse to .wim file trên distribution point → Next → Next → Close
  4. Right-click image → Distribute Content → chọn Distribution Points
Kết quả đầu ra mọng đợi

OS image hiển trong console với status Distributed. Sẵn sàng dùng trong Task Sequence.

Lab B — Task Sequence for In-Place Upgrade

  1. Task SequencesCreate Task SequenceUpgrade an OS from upgrade package
  2. Chọn Windows 11 Upgrade Package → Next
  3. Thêm post-upgrade steps: Install Applications, Run Command Line
  4. Tab DeploymentsDeploy → collection "Windows 10 Machines"
  5. Monitor: MonitoringDeployments → chọn Task Sequence
Kết quả đầu ra mọng đợi

Deployment status hiển thị: Compliant/Non-compliant/Error. Devices tự động chạy upgrade trong Software Center.

Lab C — PXE Boot từ SCCM DP

  1. DP Properties → tab PXE → check Enable PXE support for clients
  2. Check Allow this DP to respond to incoming PXE requests
  3. Test machine: bật máy → F12 → Network boot → Windows Deployment Wizard hiển ra
Kết quả đầu ra mọng đợi

Máy chạy unattended OS deployment qua mạng. Không cần USB. Monitor trong SCCM Monitoring → Deployments.

03

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

Ngân hàng ACB — Upgrade 5,000 máy với SCCM OSD

Ngân hàng ACB — SCCM infrastructure sẵn có, 5,000 Windows devices

Muốn dùng SCCM OSD để upgrade 5,000 máy từ Windows 10 lên Windows 11 với USMT preserve user data + settings. So sánh với Autopilot (không preserve data qua wipe) để chọn đúng tool.

Tiêu chíSCCM OSD (Refresh/Upgrade)Windows Autopilot
User dataĐược preserve qua USMTKhông (device reset)
InfrastructureCần SCCM + DPChỉ cần Intune + internet
Internet yêu cầuKhông (LAN)Có (cloud-based)
Phù hợpEnterprise có SCCM, giữ dataMáy mới / cloud-first org
Kết luận: ACB chọn SCCM Refresh scenario (USMT preserve data) cho 5,000 máy hiện tại. Autopilot sẽ dùng cho batch máy mới mua sau này.