什么是Windows 7上SysPrep的最小有用unattend.xml文件

前端之家收集整理的这篇文章主要介绍了什么是Windows 7上SysPrep的最小有用unattend.xml文件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
您是否可以提供在 Windows 7中使用的最小unattend.xml文件,该文件将在一个工作站上手动安装,更新和配置,然后SysPrep将如下运行:
  1. C:\Windows\System32\sysprep>
  2. sysprep /generalize /oobe /unattend:unattend.xml /shutdown

然后C:分区克隆到多个工作站(我使用Linux LiveUSB中的partimage).

此unattend.xml应配置工作站,以便克隆后不会要求任何内容.工作站应该显示一个普通的登录屏幕,其中包含之前配置的帐户它应该创建随机计算机名称,不要尝试加入Active Directory,因为我不熟悉在unattend.xml中存储密码.

我不想使用Windows自动安装工具包(Windows AIK)中的Windows系统映像管理器(Windows SIM),因为这太过分了 – 对我的口味来说太复杂了.

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend"
  3. xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <settings pass="generalize">
  6. <component name="Microsoft-Windows-PnpSysprep"
  7. processorArchitecture="amd64"
  8. publicKeyToken="31bf3856ad364e35"
  9. language="neutral" versionScope="nonSxS">
  10. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  11. </component>
  12. </settings>
  13. <settings pass="specialize">
  14. <component name="Microsoft-Windows-Deployment"
  15. processorArchitecture="amd64"
  16. publicKeyToken="31bf3856ad364e35"
  17. language="neutral" versionScope="nonSxS">
  18. <RunSynchronous>
  19. <RunSynchronousCommand wcm:action="add">
  20. <Description>Disable create user account</Description>
  21. <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
  22. <Order>1</Order>
  23. </RunSynchronousCommand>
  24. </RunSynchronous>
  25. </component>
  26. <component name="Microsoft-Windows-Shell-Setup"
  27. processorArchitecture="amd64"
  28. publicKeyToken="31bf3856ad364e35"
  29. language="neutral" versionScope="nonSxS">
  30. <RegisteredOwner>Wile E. Coyote</RegisteredOwner>
  31. <RegisteredOrganization>ACME Corp.</RegisteredOrganization>
  32. <TimeZone>Central European Standard Time</TimeZone>
  33. <Computername>*</Computername>
  34. <OOBE>
  35. <HideEULAPage>true</HideEULAPage>
  36. <NetworkLocation>Other</NetworkLocation>
  37. <ProtectYourPC>2</ProtectYourPC>
  38. <SkipUserOOBE>true</SkipUserOOBE>
  39. </OOBE>
  40. </component>
  41. </settings>
  42. <settings pass="oobeSystem">
  43. <component name="Microsoft-Windows-International-Core"
  44. processorArchitecture="amd64"
  45. publicKeyToken="31bf3856ad364e35"
  46. language="neutral" versionScope="nonSxS">
  47. <InputLocale>pl-PL</InputLocale>
  48. <SystemLocale>pl-PL</SystemLocale>
  49. <UILanguage>pl-PL</UILanguage>
  50. <UserLocale>pl-PL</UserLocale>
  51. </component>
  52. </settings>
  53. </unattend>

你只需要改变:

>< RegisteredOwner>>< RegisteredOrganization>>< TimeZone>>波兰语locale pl-PL到你的,例如美国的en-US.

猜你在找的Windows相关文章