11 thg 5, 2022

pass generalize (của phần 3)

 

pass generalize

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>


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

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>


PT Tường Minh 01