You dont have javascript enabled! Please enable it!
Thứ Bảy, 10 Tháng 5 , 2025
NEWS
MANHPC
  • Trang chủ
  • HƯỚNG DẪN
    Hướng dẫn cách tăng số lượng kết nối Remote Desktop trên Windows

    Hướng dẫn tăng số lượng kết nối Remote Desktop trên Windows

    Hướng dẫn rebuild bộ cài Windows - Phần 3

    Hướng dẫn rebuild bộ cài Windows – Phần 3

    Hướng dẫn rebuild bộ cài Windows - Phần 2

    Hướng dẫn rebuild bộ cài Windows – Phần 2

    Hướng dẫn rebuild hệ điều hành Windows - Phần 1

    Hướng dẫn rebuild bộ cài Windows – Phần 1

  • HỆ ĐIỀU HÀNH
    • MANHPC
    • TIN TỨC
      • WINDOWS INSIDER
      • WINDOWS UPDATE
  • WINDOWS PE
    TeraByte Drive Image Backup Restore

    Tổng hợp một số công cụ sao lưu và phục hồi dữ liệu

    Tổng hợp một số công cụ quản lý và phân vùng đĩa cứng

    Tổng hợp một số công cụ quản lý và phân vùng đĩa cứng

    Passcape Reset Windows Password Advanced Edition

    Tổng hợp một số công cụ gỡ bỏ mật khẩu Windows

    PTDBOOT UNIVERSAL - Công cụ cứu hộ máy tính.

    PTDBOOT UNIVERSAL 2025 – Công cụ cứu hộ máy tính

  • SERIES
    • HƯỚNG DẪN REBUILD WINDOWS
      • Phần 1
      • Phần 2
      • Phần 3
    • HƯỚNG DẪN CẤU HÌNH FILE TRẢ LỜI TỰ ĐỘNG
      • Phần 1
      • Phần 2
      • Phần 3
      • Phần 4
      • Phần 5
    • BỘ CÀI WINDOWS NGUYÊN GỐC
      • Windows 11
      • Windows 10
    • BỘ CÀI WINDOWS 11
      • Windows 11 24H2
      • Windows 11 23H2
      • Windows 11 22H2
      • Windows 11 21H2
      • Windows 11 LTSC
    • BỘ CÀI WINDOWS 10
      • Windows 10 22H2
      • Windows 10 21H2
      • Windows 10 LTSC
    • BỘ CÀI WINDOWS 7
  • DONATE
  • DỊCH VỤ
  • LIÊN HỆ
Không có kết quả
Xem tất cả kết quả
MANHPC
  • Trang chủ
  • HƯỚNG DẪN
    Hướng dẫn cách tăng số lượng kết nối Remote Desktop trên Windows

    Hướng dẫn tăng số lượng kết nối Remote Desktop trên Windows

    Hướng dẫn rebuild bộ cài Windows - Phần 3

    Hướng dẫn rebuild bộ cài Windows – Phần 3

    Hướng dẫn rebuild bộ cài Windows - Phần 2

    Hướng dẫn rebuild bộ cài Windows – Phần 2

    Hướng dẫn rebuild hệ điều hành Windows - Phần 1

    Hướng dẫn rebuild bộ cài Windows – Phần 1

  • HỆ ĐIỀU HÀNH
    • MANHPC
    • TIN TỨC
      • WINDOWS INSIDER
      • WINDOWS UPDATE
  • WINDOWS PE
    TeraByte Drive Image Backup Restore

    Tổng hợp một số công cụ sao lưu và phục hồi dữ liệu

    Tổng hợp một số công cụ quản lý và phân vùng đĩa cứng

    Tổng hợp một số công cụ quản lý và phân vùng đĩa cứng

    Passcape Reset Windows Password Advanced Edition

    Tổng hợp một số công cụ gỡ bỏ mật khẩu Windows

    PTDBOOT UNIVERSAL - Công cụ cứu hộ máy tính.

    PTDBOOT UNIVERSAL 2025 – Công cụ cứu hộ máy tính

  • SERIES
    • HƯỚNG DẪN REBUILD WINDOWS
      • Phần 1
      • Phần 2
      • Phần 3
    • HƯỚNG DẪN CẤU HÌNH FILE TRẢ LỜI TỰ ĐỘNG
      • Phần 1
      • Phần 2
      • Phần 3
      • Phần 4
      • Phần 5
    • BỘ CÀI WINDOWS NGUYÊN GỐC
      • Windows 11
      • Windows 10
    • BỘ CÀI WINDOWS 11
      • Windows 11 24H2
      • Windows 11 23H2
      • Windows 11 22H2
      • Windows 11 21H2
      • Windows 11 LTSC
    • BỘ CÀI WINDOWS 10
      • Windows 10 22H2
      • Windows 10 21H2
      • Windows 10 LTSC
    • BỘ CÀI WINDOWS 7
  • DONATE
  • DỊCH VỤ
  • LIÊN HỆ
Không có kết quả
Xem tất cả kết quả
MANHPC
Không có kết quả
Xem tất cả kết quả
TRANG CHỦ BÀI VIẾT HƯỚNG DẪN

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 3

Cấu hình các Configuration pass: offlineServicing, generalize và specialize

NỘI DUNG BÀI VIẾT

  1. pass offlineServicing
  2. pass generalize
  3. pass specialize
  4. Kết luận

Tiếp theo, trong phần 3 này tôi sẽ hướng dẫn các bạn cách tạo file trả lời tự động (unattend.xml) cho các Configuration pass: offlineServicing, generalize, specialize. 

pass offlineServicing

offlineServicing là giai đoạn sau windowsPE configuration pass và trước khi khởi động lại máy lần đầu tiên. Trong configuration pass này thì các packages, updates, drivers, hoặc language packs sẽ được apply vào Windows image vừa được copy vào ổ cứng. Quá trình này diễn ra hoàn toàn tự động và không có sự can thiệp của người cài đặt.

offlineServicing offlineServicing

pass generalize

Trong configuration pass này các thông tin dành riêng cho máy tính sẽ được xóa bỏ, từ đó bạn có thể capture và apply sang các máy tính khác. Ví dụ trong pass này thì SID và các driver đã cài từ trước đó sẽ bị loại bỏ.

Để vào pass này chúng ra dùng lệnh sysprep /generalize

Sau khi pass generalize kết thúc thì trong lần khởi động tiếp theo pass specialize sẽ được chạy. Nếu bạn muốn giữ lại các driver đã cài thì bạn có thể sử dụng thiết lập Microsoft-Windows-PnpSysprep và PersistAllDeviceInstalls trong file trả lời. Bạn có thể xem thêm thông tin hai thiết lập này tại: PersistAllDeviceInstalls và DoNotCleanUpNonPresentDevices

Bên dưới đây là một số các thiết lập trong configuration pass generalize mà bạn có thể set cho Windows 7 và 10:

Windows 7:

<settings pass="generalize">
    <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SkipRearm>1</SkipRearm>
    </component>
</settings>
<settings pass="generalize">
    <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SkipRearm>1</SkipRearm>
    </component>
</settings>

Windows 10:

<settings pass="generalize">
    <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
        <SkipRearm>1</SkipRearm>
    </component>
    <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
        <SkipRearm>1</SkipRearm>
    </component>
    <component name="Microsoft-Windows-WorkstationService" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
        <AllowInsecureGuestAuth>1</AllowInsecureGuestAuth>
    </component>
    <component name="Microsoft-Windows-WorkstationService" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
        <AllowInsecureGuestAuth>1</AllowInsecureGuestAuth>
    </component>
</settings>

Nếu bạn muốn giữ lại driver:

<settings pass="generalize">
    <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
    </component>
    <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
    </component>
</settings>

pass specialize

Sau khi Windows khởi động lại lần đầu tiên thì configuration pass này sẽ được chạy. Pass này dùng để tạo và cấu hình các thông tin trong Windows image, cài đặt các thiết bị phần cứng với các driver mặc định có trong image.

Trong pass này SID mới sẽ được tạo. Ngoài ra trong pass này bạn có thể cấu hình Windows features, network settings, international settings, và thông tin domain.

Bên dưới đây là một số các thiết lập trong configuration pass specialize mà bạn có thể set cho Windows 7 và 10:

Windows 7:

<settings pass="specialize">
     <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <SkipAutoActivation>true</SkipAutoActivation>
     </component>
     <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <SkipAutoActivation>true</SkipAutoActivation>
     </component>
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <copyprofile>true</copyprofile>
         <TimeZone>SE Asia Standard Time</TimeZone>
     </component>
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <copyprofile>true</copyprofile>
         <TimeZone>SE Asia Standard Time</TimeZone>
     </component>
     <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <DisableSR>1</DisableSR>
     </component>
     <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <DisableSR>1</DisableSR>
     </component>
     <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <RunSynchronous>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add Computer Desktop Icon 1</Description>
                 <Order>1</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {871C5380-42A0-1069-A2EA-08002B30309D}.default /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add Computer Desktop Icon 2</Description>
                 <Order>2</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>3</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v Manufacturer /t REG_SZ /d MANHPC /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>4</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportURL /t REG_SZ /d https://manhpc.com /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>5</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportHours /t REG_SZ /d 24/7 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>6</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportPhone /t REG_SZ /d "+84 91 664 8537" /f</Path>
             </RunSynchronousCommand>            
         </RunSynchronous>
     </component>
     <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <RunSynchronous>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add Computer Desktop Icon 1</Description>
                 <Order>1</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {871C5380-42A0-1069-A2EA-08002B30309D}.default /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add Computer Desktop Icon 2</Description>
                 <Order>2</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>3</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v Manufacturer /t REG_SZ /d MANHPC /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>4</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportURL /t REG_SZ /d https://manhpc.com /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>5</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportHours /t REG_SZ /d 24/7 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>6</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportPhone /t REG_SZ /d "+84 91 664 8537" /f</Path>
             </RunSynchronousCommand>            
         </RunSynchronous>
     </component>
 </settings>

Windows 10:

<settings pass="specialize">
     <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <RunSynchronous>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Allow Insecure Guest Auth</Description>
                 <Order>1</Order>
                 <Path>cmd /c  reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t REG_DWORD /d 1 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Disable Reserves</Description>
                 <Order>2</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Disable Acrylic Background On Logon</Description>
                 <Order>3</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v DisableAcrylicBackgroundOnLogon /t REG_DWORD /d 1 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Copy To folder</Description>
                 <Order>4</Order>
                 <Path>cmd /c  reg add HKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB630-2971-11D1-A18C-00C04FD75D13} /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Move To folder</Description>
                 <Order>5</Order>
                 <Path>cmd /c  reg add HKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB631-2971-11D1-A18C-00C04FD75D13} /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add This PC Desktop Icon 1</Description>
                 <Order>6</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {871C5380-42A0-1069-A2EA-08002B30309D}.default /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add This PC Desktop Icon 2</Description>
                 <Order>7</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>8</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v Manufacturer /t REG_SZ /d MANHPC /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>9</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportURL /t REG_SZ /d https://manhpc.com /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>10</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportHours /t REG_SZ /d 24/7 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>11</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportPhone /t REG_SZ /d "+84 91 664 8537" /f</Path>
             </RunSynchronousCommand>            
         </RunSynchronous>
     </component>
             <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <RunSynchronous>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Allow Insecure Guest Auth</Description>
                 <Order>1</Order>
                 <Path>cmd /c  reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t REG_DWORD /d 1 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Disable Reserves</Description>
                 <Order>2</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Disable Acrylic Background On Logon</Description>
                 <Order>3</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v DisableAcrylicBackgroundOnLogon /t REG_DWORD /d 1 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Copy To folder</Description>
                 <Order>4</Order>
                 <Path>cmd /c  reg add HKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB630-2971-11D1-A18C-00C04FD75D13} /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Move To folder</Description>
                 <Order>5</Order>
                 <Path>cmd /c  reg add HKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB631-2971-11D1-A18C-00C04FD75D13} /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add This PC Desktop Icon 1</Description>
                 <Order>6</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {871C5380-42A0-1069-A2EA-08002B30309D}.default /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Add This PC Desktop Icon 2</Description>
                 <Order>7</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>8</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v Manufacturer /t REG_SZ /d MANHPC /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>9</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportURL /t REG_SZ /d https://manhpc.com /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>10</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportHours /t REG_SZ /d 24/7 /f</Path>
             </RunSynchronousCommand>
             <RunSynchronousCommand wcm:action="add">
                 <Description>Support URL</Description>
                 <Order>11</Order>
                 <Path>cmd /c  reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /v SupportPhone /t REG_SZ /d "+84 91 664 8537" /f</Path>
             </RunSynchronousCommand>            
         </RunSynchronous>
     </component>
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
         <copyprofile>true</copyprofile>
     </component>
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">              
         <copyprofile>true</copyprofile>
     </component>
 </settings>

Trong các đoạn file .xml ở bên trên các bạn cần lưu ý một số đoạn sau:
1. <copyprofile>true</copyprofile>: Chỉ dùng setting này khi bạn muốn copy các thiết lập từ tài khoản Administrator sang tài khoản mới khi cài Windows.
2. RunSynchronous: Lệnh này dùng để thêm các thiết lập registry vào file unattend.xml. Lệnh này chỉ thêm các thiết lập từ HKEY_LOCAL_MACHINE và HKEY_CLASSES_ROOT.

Một số hình mình họa khi bạn sử dụng Windows System Image Manager:

Add Setting to Pass 4 specialize Add Setting to Pass 4 specialize Add Setting to Pass 4 specialize

Kết luận

Trong bài viết vừa rồi tôi vừa giới thiệu với các bạn file trả lời tự động cho các quá trình pass 2 offlineServicing, pass 3 generalize, pass 4 specialize. Trong bài viết này tôi chủ yếu cung cấp cho bạn các file .xml có sẵn. Bạn có thể copy các lệnh bên trên tại đây. Bạn có thể sửa trực tiếp file này bằng các công cụ soạn thảo (nên dùng Notepad++) mà không cần phải sử dụng đến công cụ như ở phần 2. Chỉ sửa xong bạn lưu lại và có thể dùng ngay. Trong quá trình thao tác thực tế nếu còn vướng mắc điều gì bạn hãy để lại bình luận phía bên dưới nhé. Cảm ơn các bạn đã đọc bài!

Chúc bạn thành công!

Xem thêm:

  • Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 1
  • Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 2
  • Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 4
  • Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 5
Thẻ: AUTOUNATTEND
1.9k
LƯỢT XEM
Share on FacebookTwitter
BÀI TRƯỚC

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 2

BÀI TIẾP THEO

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 4

BÀI VIẾT TƯƠNG TỰ

Hướng dẫn cách tăng số lượng kết nối Remote Desktop trên Windows
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn tăng số lượng kết nối Remote Desktop trên Windows

19 Tháng 9, 2022
13.6k
Hướng dẫn rebuild bộ cài Windows - Phần 3
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn rebuild bộ cài Windows – Phần 3

8 Tháng 5, 2025
11.8k
Hướng dẫn rebuild bộ cài Windows - Phần 2
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn rebuild bộ cài Windows – Phần 2

8 Tháng 5, 2025
11.1k
Hướng dẫn rebuild hệ điều hành Windows - Phần 1
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn rebuild bộ cài Windows – Phần 1

8 Tháng 5, 2025
16.1k
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 5

8 Tháng 5, 2025
3.3k
BÀI VIẾT HƯỚNG DẪN

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 4

8 Tháng 5, 2025
2k
0 0 Phiếu bầu
Article Rating
Subscribe
Login
Notify of
guest

guest

0 BÌNH LUẬN
Inline Feedbacks
Xem tất cả các bình luận

BÀI VIẾT MỚI

Bộ cài Windows 11 Enterprise G version 24H2

Bộ cài Windows 11 Enterprise G version 24H2

8 Tháng 5, 2025
42
Bộ cài Windows 11 Enterprise GS version 23H2

Bộ cài Windows 11 Enterprise GS version 23H2

12 Tháng 4, 2025
309

KB5055613 Windows 11 Insider Beta build 26120.3863

12 Tháng 4, 2025
30

KB5055617 Windows 11 Insider Dev build 26200.5551

12 Tháng 4, 2025
28

KB5055625 Windows 11 Insider Dev build 26200.5518

4 Tháng 4, 2025
75

BÀI VIẾT NGẪU NHIÊN

iVentoy – A new netboot solution

2 Tháng 10, 2023
5.6k

KB5022905 Cumulative Update Preview for Windows 11 Build 22000.1641 (21H2)

23 Tháng 2, 2023
39
Windows Server 2025

Tổng hợp các phiên bản Windows Server

8 Tháng 2, 2025
8.4k
MCBOOT - Công cụ tạo USB - HDD boot cứu hộ máy tính

MCBOOT 2025 – Công cụ tạo USB – HDD boot cứu hộ máy tính

4 Tháng 3, 2025
45.7k

Windows 11 Insider Dev Build 23440.1000

22 Tháng 4, 2023
32
BÀI TIẾP THEO

Hướng dẫn tạo và cấu hình file trả lời tự động unattend.xml – Phần 4

MANHPC

Website chia sẻ kiến thức Hệ điều hành Windows miễn phí

Email: contact@manhpc.com

SERIES BÀI VIẾT

  • Hướng dẫn Rebuild Windows
  • Hướng dẫn cấu hình file trả lời tự động
  • Bộ cài Windows 7
  • Bộ cài Windows 10
  • Bộ cài Windows 11
  • Bộ cài Windows nguyên gốc

© 2025 MANHPC BLOG

Trang chủ   Liên hệ   Chính sách bảo mật   Sơ đồ trang

Không có kết quả
Xem tất cả kết quả
  • TRANG CHỦ
  • HƯỚNG DẪN
  • HỆ ĐIỀU HÀNH
    • MANHPC
    • TIN TỨC
      • WINDOWS INSIDER
      • WINDOWS UPDATE
  • WINDOWS PE
  • SERIES
    • HƯỚNG DẪN REBUILD WINDOWS
    • HƯỚNG DẪN CẤU HÌNH FILE TRẢ LỜI TỰ ĐỘNG
    • BỘ CÀI WINDOWS NGUYÊN GỐC
      • Windows 11
      • Windows 10
    • BỘ CÀI WINDOWS 11
      • Windows 11 24H2
      • Windows 11 23H2
      • Windows 11 22H2
      • Windows 11 21H2
      • Windows 11 LTSC
    • BỘ CÀI WINDOWS 10
      • Windows 10 22H2
      • Windows 10 21H2
      • Windows 10 LTSC
    • BỘ CÀI WINDOWS 7
  • GOOGLE NEWS
  • DONATE
  • DỊCH VỤ
  • LIÊN HỆ

© 2021 ManhPC Blog - All Right Reserved.

wpDiscuz
Fanpage
telegram
error: Cảnh báo: Nội dung được bảo vệ !!