[分享] WIN11-简单封装说明

发布时间:2021-7-14 22:56

170 0 0

jmes2

用户头衔:管理员

关注 私信
目前测试WIN10的封装模式完全可以符合W11的无人值守安装,只是需要做一点小调整,X86和X64不要混用。
windows-11-update_1.jpg
贴出一些优化小脚本,后续WIN11正式版会集中优化,感兴趣的可以自己折腾下:

无人值守安装部分:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3.     <settings pass="specialize">
  4.         <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">
  5.             <RunSynchronous>
  6.                 <RunSynchronousCommand wcm:action="add">
  7.                     <Description>install</Description>
  8.                     <Order>1</Order>
  9.                     <Path>%WinDir%\Setup\Scripts\XX.exe</Path>
  10.                 </RunSynchronousCommand>
  11.             </RunSynchronous>
  12.         </component>
  13.     </settings>
  14.         <settings pass="oobeSystem">
  15.                 <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">
  16.             <OOBE>
  17.                 <SkipMachineOOBE>true</SkipMachineOOBE>
  18.                 <SkipUserOOBE>false</SkipUserOOBE>
  19.             </OOBE>
  20.             <AutoLogon>
  21.                 <Enabled>true</Enabled>
  22.                 <LogonCount>1</LogonCount>
  23.                 <Username>Administrator</Username>
  24.             </AutoLogon>
  25.             <TimeZone>China Standard Time</TimeZone>
  26.                 </component>
  27.         </settings>
  28. </unattend>
复制代码
将下列代码复制保存为reg即可:S-1-5-21-2668958376-738706159-519669389-500  部分请修改为自己电脑生成的新用户名才会生效:
  1. Windows Registry Editor Version 5.00

  2. ; 任务栏居左,关闭Wgeit,多任务,

  3. [HKEY_USERS\S-1-5-21-2668958376-738706159-519669389-500\Software\Microsoft\Windows\CurrentVersion\ActivityDataModel\ReaderRevisionInfo]
  4. "8E3FBC8C-4900-2D8C-0E1E-8478CA3A6CD1"=hex(7):31,00,38,00,30,00,7B,0A,20,20,20,\
  5.   22,44,61,74,61,62,61,73,65,49,6E,73,74,61,6E,63,65,49,64,22,20,3A,20,32,39,\
  6.   39,31,38,2C,0A,20,20,20,22,53,65,71,75,65,6E,63,65,22,20,3A,20,32,32,34,2C,\
  7.   0A,20,20,20,22,61,63,74,69,76,69,74,79,53,74,6F,72,65,49,64,22,20,3A,20,22,\
  8.   38,45,33,46,42,43,38,43,2D,34,39,30,30,2D,32,44,38,43,2D,30,45,31,45,2D,38,\
  9.   34,37,38,43,41,33,41,36,43,44,31,22,2C,0A,20,20,20,22,66,69,6C,74,65,72,22,\
  10.   20,3A,20,7B,0A,20,20,20,20,20,20,22,69,73,52,65,61,64,46,69,6C,74,65,72,22,\
  11.   20,3A,20,30,2C,0A,20,20,20,20,20,20,22,6F,72,69,67,69,6E,46,69,6C,74,65,72,\
  12.   4B,65,79,22,20,3A,20,30,2C,0A,20,20,20,20,20,20,22,73,74,61,74,65,46,69,6C,\
  13.   74,65,72,4B,65,79,22,20,3A,20,30,2C,0A,20,20,20,20,20,20,22,75,73,65,72,41,\
  14.   63,74,69,6F,6E,53,74,61,74,65,46,69,6C,74,65,72,22,20,3A,20,30,0A,20,20,20,\
  15.   7D,0A,7D,0A,00,00
  16. [HKEY_USERS\S-1-5-21-2668958376-738706159-519669389-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
  17. "ShowTaskViewButton"=dword:00000000
  18. "TaskbarAl"=dword:00000000
  19. "TaskbarDa"=dword:00000000


  20. ; 桌面右键恢复常规菜单

  21. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\4\586118283]
  22. "EnabledState"=dword:00000001
  23. "EnabledStateOptions"=dword:00000001
  24. "Variant"=dword:00000000
  25. "VariantPayload"=dword:00000000
  26. "VariantPayloadKind"=dword:00000000



复制代码
该会员没有填写今日想说内容.
B Color Smilies

本站总访问量  次   |   本站访客数  人次   |   本文总阅读量  次