无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1270|回复: 21
打印 上一主题 下一主题

Windows应答文件生成器,可在线生成Win系统、Office应答文件及服务配置脚本

  [复制链接]
跳转到指定楼层
1#
发表于 2023-4-29 14:14:32 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
昨天无意中发现的一个网站,先看介绍,网站链接放到文章最后,网站截图:


Windows Answer File Generator Windows 应答文件生成器
Inspired by Windows System Image Manager 灵感来自Windows系统映像管理器


"Home"菜单:
"Keys"提供了Windows系统通用安装密钥,包括Vista/7/8/8.1/10/11/Server 2008/SBS(Small Business Server) 2008/Server 2008 R2/SBS(Small Business Server) 2011/Home Server 2011/Server 2012/Server 2012 R2/Sever 2016/Server 2019
不过要注意的是这些密钥已失效,所以只能用于自动应答文件或脚本,并不能用于系统激活

"Power Plan 7"、"Power Plan 8"、"Power Plan 10"分别是Win7、Win8/8.1、Win10的电源计划配置脚本生成器

"Desktop"菜单:
提供了Windows桌面版系统的自动应答文件生成器,支持XP/Vista/7/8/8.1/10/11
注意在Win7及以后的系统应答文件生成页面底部还提供了"功能配置程序"、"电源计划配置程序"、"服务配置程序",即可生成对Win功能/电源计划/服务进行配置的脚本(批处理)

"Server菜单"
提供了Windows服务器版系统的自动应答文件生成器,支持2008/2008 R2/2012/2012 R2/2016/2019/SBS(Small Business Server)2008/SBS(Small Business Server) 2011/WHS(Windows Home Server) 2011
值得注意的是这里有些语言选项内并未提供中文,所以生成的自动应答文件还需要手动将这部分en-US修改为zh-CN

"Office"菜单
提供了Microsoft Office的安装配置脚本,支持2010/2013/2016
这个没用过不发表意见

"Services"菜单
提供了Windows服务设置脚本(批处理)生成器,支持Windows 7/8/8.1/10/11
看起来简单,有兴趣的自行测试,注意批处理要以管理员权限运行才行


附上一个昨天生成的Win7自动应答文件(已做部分修改,打算用于WES7):
  1. <!--*************************************************
  2. Windows 7 Answer File Generator
  3. Created using Windows AFG found at:
  4. ;http://www.windowsafg.com

  5. Installation Notes
  6. Location: hidao
  7. Notes: MoD my hidao.org
  8. **************************************************-->

  9. <?xml version="1.0" encoding="utf-8"?>
  10. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  11. <settings pass="windowsPE">
  12. <component name="Microsoft-Windows-International-Core-WinPE" 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">
  13. <SetupUILanguage>
  14. <UILanguage>zh-CN</UILanguage>
  15. </SetupUILanguage>
  16. <InputLocale>2052:00000804</InputLocale>
  17. <SystemLocale>zh-CN</SystemLocale>
  18. <UILanguage>zh-CN</UILanguage>
  19. <UserLocale>zh-CN</UserLocale>
  20. </component>
  21. <component name="Microsoft-Windows-International-Core-WinPE" 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">
  22. <SetupUILanguage>
  23. <UILanguage>zh-CN</UILanguage>
  24. </SetupUILanguage>
  25. <InputLocale>2052:00000804</InputLocale>
  26. <SystemLocale>zh-CN</SystemLocale>
  27. <UILanguage>en-US</UILanguage>
  28. <UserLocale>en-US</UserLocale>
  29. </component>
  30. <component name="Microsoft-Windows-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">
  31. <Diagnostics>
  32. <OptIn>false</OptIn>
  33. </Diagnostics>
  34. <OSImage>
  35. <InstallTo>
  36. <DiskID>0</DiskID>
  37. <PartitionID>2</PartitionID>
  38. </InstallTo>
  39. <WillShowUI>OnError</WillShowUI>
  40. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  41. </OSImage>
  42. </ImageInstall>
  43. <UserData>
  44. <AcceptEula>true</AcceptEula>
  45. <FullName>Admin</FullName>
  46. <Organization>hidao.org</Organization>
  47. </UserData>
  48. <EnableFirewall>false</EnableFirewall>
  49. </component>
  50. <component name="Microsoft-Windows-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">
  51. <Diagnostics>
  52. <OptIn>false</OptIn>
  53. </Diagnostics>
  54. <UserData>
  55. <AcceptEula>true</AcceptEula>
  56. <FullName>Admin</FullName>
  57. <Organization>hidao.org</Organization>
  58. </UserData>
  59. <EnableFirewall>true</EnableFirewall>
  60. </component>
  61. </settings>
  62. <settings pass="generalize">
  63. <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">
  64. <SkipRearm>1</SkipRearm>
  65. </component>
  66. </settings>
  67. <settings pass="generalize">
  68. <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">
  69. <SkipRearm>1</SkipRearm>
  70. </component>
  71. </settings>
  72. <settings pass="specialize">
  73. <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">
  74. <SkipAutoActivation>true</SkipAutoActivation>
  75. </component>
  76. <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">
  77. <SkipAutoActivation>true</SkipAutoActivation>
  78. </component>
  79. <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">
  80. <ComputerName>PC</ComputerName>
  81. <ProductKey>XGY72-BRBBT-FF8MH-2GG8H-W7KCW</ProductKey>
  82. <TimeZone>China Standard Time</TimeZone>
  83. </component>
  84. <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">
  85. <ComputerName>PC</ComputerName>
  86. <ProductKey>XGY72-BRBBT-FF8MH-2GG8H-W7KCW</ProductKey>
  87. <TimeZone>China Standard Time</TimeZone>
  88. </component>
  89. </settings>
  90. <settings pass="oobeSystem">
  91. <component name="Microsoft-Windows-International-Core" 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">
  92. <InputLocale>0804:00000804</InputLocale>
  93. <UILanguage>zh-CN</UILanguage>
  94. <UserLocale>zh-CN</UserLocale>
  95. </component>
  96. <component name="Microsoft-Windows-International-Core" 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">
  97. <InputLocale>0804:00000804</InputLocale>
  98. <UILanguage>zh-CN</UILanguage>
  99. <UserLocale>zh-CN</UserLocale>
  100. </component>
  101. <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">
  102. <RegisteredOwner>Admin</RegisteredOwner>
  103. <OOBE>
  104. <HideEULAPage>true</HideEULAPage>
  105. <NetworkLocation>Work</NetworkLocation>
  106. <ProtectYourPC>3</ProtectYourPC>
  107. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  108. <SkipMachineOOBE>true</SkipMachineOOBE>
  109. <SkipUserOOBE>true</SkipUserOOBE>
  110. </OOBE>
  111. <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
  112. <FirstLogonCommands>
  113. <SynchronousCommand wcm:action="add">
  114. <RequiresUserInput>false</RequiresUserInput>
  115. <Order>1</Order>
  116. <Description>Disable Auto Updates</Description>
  117. <CommandLine>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
  118. </SynchronousCommand>
  119. <SynchronousCommand wcm:action="add">
  120. <Description>Control Panel View</Description>
  121. <Order>2</Order>
  122. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
  123. <RequiresUserInput>true</RequiresUserInput>
  124. </SynchronousCommand>
  125. <SynchronousCommand wcm:action="add">
  126. <Order>3</Order>
  127. <Description>Control Panel Icon Size</Description>
  128. <RequiresUserInput>false</RequiresUserInput>
  129. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
  130. </SynchronousCommand>
  131. <SynchronousCommand wcm:action="add">
  132. <Order>4</Order>
  133. <RequiresUserInput>false</RequiresUserInput>
  134. <CommandLine>cmd /C wmic useraccount where name="Admin" set PasswordExpires=false</CommandLine>
  135. <Description>Password Never Expires</Description>
  136. </SynchronousCommand>
  137. </FirstLogonCommands>
  138. <AutoLogon>
  139. <Password>
  140. <Value></Value>
  141. <PlainText>true</PlainText>
  142. </Password>
  143. <Enabled>true</Enabled>
  144. <Username>Admin</Username>
  145. </AutoLogon>
  146. <UserAccounts>
  147. <LocalAccounts>
  148. <LocalAccount wcm:action="add">
  149. <Password>
  150. <Value></Value>
  151. <PlainText>true</PlainText>
  152. </Password>
  153. <Description></Description>
  154. <DisplayName>Admin</DisplayName>
  155. <Group>Administrators</Group>
  156. <Name>Admin</Name>
  157. </LocalAccount>
  158. </LocalAccounts>
  159. </UserAccounts>
  160. </component>
  161. <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">
  162. <RegisteredOwner>Admin</RegisteredOwner>
  163. <OOBE>
  164. <HideEULAPage>true</HideEULAPage>
  165. <NetworkLocation>Work</NetworkLocation>
  166. <ProtectYourPC>3</ProtectYourPC>
  167. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  168. <SkipMachineOOBE>true</SkipMachineOOBE>
  169. <SkipUserOOBE>true</SkipUserOOBE>
  170. </OOBE>
  171. <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
  172. <FirstLogonCommands>
  173. <SynchronousCommand wcm:action="add">
  174. <RequiresUserInput>false</RequiresUserInput>
  175. <Order>1</Order>
  176. <Description>Disable Auto Updates</Description>
  177. <CommandLine>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
  178. </SynchronousCommand>
  179. <SynchronousCommand wcm:action="add">
  180. <Description>Control Panel View</Description>
  181. <Order>2</Order>
  182. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
  183. <RequiresUserInput>true</RequiresUserInput>
  184. </SynchronousCommand>
  185. <SynchronousCommand wcm:action="add">
  186. <Order>3</Order>
  187. <Description>Control Panel Icon Size</Description>
  188. <RequiresUserInput>false</RequiresUserInput>
  189. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
  190. </SynchronousCommand>
  191. <SynchronousCommand wcm:action="add">
  192. <Order>4</Order>
  193. <RequiresUserInput>false</RequiresUserInput>
  194. <CommandLine>cmd /C wmic useraccount where name="Admin" set PasswordExpires=false</CommandLine>
  195. <Description>Password Never Expires</Description>
  196. </SynchronousCommand>
  197. </FirstLogonCommands>
  198. <AutoLogon>
  199. <Password>
  200. <Value></Value>
  201. <PlainText>true</PlainText>
  202. </Password>
  203. <Enabled>true</Enabled>
  204. <Username>Admin</Username>
  205. </AutoLogon>
  206. <UserAccounts>
  207. <LocalAccounts>
  208. <LocalAccount wcm:action="add">
  209. <Password>
  210. <Value></Value>
  211. <PlainText>true</PlainText>
  212. </Password>
  213. <Description></Description>
  214. <DisplayName>Admin</DisplayName>
  215. <Group>Administrators</Group>
  216. <Name>Admin</Name>
  217. </LocalAccount>
  218. </LocalAccounts>
  219. </UserAccounts>
  220. </component>
  221. </settings>
  222. <settings pass="offlineServicing">
  223. <component name="Microsoft-Windows-LUA-Settings" 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">
  224. <EnableLUA>false</EnableLUA>
  225. </component>
  226. </settings>
  227. <settings pass="offlineServicing">
  228. <component name="Microsoft-Windows-LUA-Settings" 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">
  229. <EnableLUA>false</EnableLUA>
  230. </component>
  231. </settings>
  232. </unattend>
复制代码
主要修改内容如下:
找到<settings pass="windowsPE">大项
再找到<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture=**,这个有两个,一个是x86,一个是AMD64
将类似<InputLocale>1033:00000409</InputLocale>改为<InputLocale>2052:00000804</InputLocale>
将类似<UILanguage>en-US</UILanguage>中间的en-US改为zh-CN
再找到<component name="Microsoft-Windows-Setup" processorArchitecture=**,这里同样有两个,一个是是X86,一个是AMD64
删除<DiskConfiguration>、<ImageInstall>这两项,包括其中的内容(这两项主要是关于分区盘符、描述、格式、是否格式化、安装位置等等设置,想保留地话应该问题不大,请自行研究)

找到<settings pass="oobeSystem">大项
再找到<component name="Microsoft-Windows-International-Core" processorArchitecture=**,这里同样有两个,一个是是X86,一个是AMD64
将类似<InputLocale>1033:00000409</InputLocale>改成<InputLocale>2052:00000804</InputLocale>

如果没有准备自动改名的工具,记得将<settings pass="specialize">下的<ComputerName>PC</ComputerName>中的PC改成*,这样安装过程中就会随机生成计算机名了


附上网站链接:
  1. https://www.windowsafg.com
复制代码



评分

参与人数 1无忧币 +5 收起 理由
lucky323su + 5 很给力!

查看全部评分

2#
发表于 2023-4-29 14:35:08 | 只看该作者
我看不懂英文
回复

使用道具 举报

3#
发表于 2023-4-29 14:41:14 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

4#
发表于 2023-4-29 15:15:52 | 只看该作者
感谢分享,有点复杂,看起来比较先进的样子
回复

使用道具 举报

5#
发表于 2023-4-29 15:46:05 | 只看该作者
https://schneegans.de/windows/unattend-generator/
这个配合CHORME的翻译功能也是不错的。

点评

你找的这个也不错...  详情 回复 发表于 2023-4-29 16:17
回复

使用道具 举报

6#
 楼主| 发表于 2023-4-29 16:17:54 | 只看该作者
qingyi78 发表于 2023-4-29 15:46
https://schneegans.de/windows/unattend-generator/
这个配合CHORME的翻译功能也是不错的。

你找的这个也不错...
回复

使用道具 举报

7#
发表于 2023-4-29 16:56:24 | 只看该作者

感谢分享,有点复杂
回复

使用道具 举报

8#
发表于 2023-4-29 17:11:11 | 只看该作者
我刚试了!最后面那个方框没有内容!没办法下载!

点评

没道理啊,要不你换个浏览器试试???  详情 回复 发表于 2023-4-29 17:17
回复

使用道具 举报

9#
发表于 2023-4-29 17:17:06 | 只看该作者
感谢分享,
回复

使用道具 举报

10#
 楼主| 发表于 2023-4-29 17:17:08 | 只看该作者
chishingchan 发表于 2023-4-29 17:11
我刚试了!最后面那个方框没有内容!没办法下载!

没道理啊,要不你换个浏览器试试???
回复

使用道具 举报

11#
发表于 2023-4-29 17:28:04 | 只看该作者
好厉害,虽然看不懂
回复

使用道具 举报

12#
发表于 2023-4-29 21:03:17 | 只看该作者
谢谢分享
回复

使用道具 举报

13#
发表于 2023-4-29 21:20:02 | 只看该作者
多谢楼主分享
回复

使用道具 举报

14#
发表于 2023-4-29 23:34:57 | 只看该作者
感謝您的分享,感恩喔~~辛苦了! ^^
回复

使用道具 举报

15#
发表于 2023-4-30 05:27:38 | 只看该作者
感觉很厉害,高大上。
回复

使用道具 举报

16#
发表于 2023-4-30 07:43:10 | 只看该作者
应答文件做什么用的?
回复

使用道具 举报

17#
发表于 2023-4-30 08:44:10 | 只看该作者
chishingchan 发表于 2023-4-29 17:11
我刚试了!最后面那个方框没有内容!没办法下载!

可以下的
回复

使用道具 举报

18#
发表于 2023-4-30 10:19:23 | 只看该作者
谢谢分享。
回复

使用道具 举报

19#
发表于 2023-4-30 10:23:21 | 只看该作者
厉害!感谢分享
回复

使用道具 举报

20#
发表于 2023-5-2 20:22:58 | 只看该作者
2023年5月2日打卡
回复

使用道具 举报

21#
发表于 2023-5-7 09:21:42 | 只看该作者
感谢分享
回复

使用道具 举报

22#
发表于 2023-5-9 23:56:49 | 只看该作者
感谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-14 02:16

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表