一般化generalize

Windows®安装程序的 通用化 配置阶段用于创建可在整个组织中使用的 windows 参考映像。The generalize configuration pass of Windows® Setup is used to create a Windows reference image that can be used throughout an organization. 使用 通用化 配置阶段中的设置,您可以自动执行此引用映像的所有部署的行为。Settings in the generalize configuration pass enable you to automate the behavior for all deployments of this reference image. 相比之下,在 specialize 配置阶段中应用的设置使你能够覆盖单个特定部署的行为。In comparison, settings applied in the specialize configuration pass enable you to override behavior for a single, specific deployment.

通用化系统时,会删除 Windows 给定安装的特定配置数据。When a system is generalized, specific configuration data for a given installation of Windows is removed. 例如,在 通用化 配置阶段期间,会从映像中删除唯一的安全 ID (SID) 和其他特定于硬件的设置。For example, during the generalize configuration pass, the unique security ID (SID) and other hardware-specific settings are removed from the image.

仅在将 Sysprep 命令与 /generalize 选项一起使用时,才会运行 通用化 配置阶段。The generalize configuration pass runs only when you use the Sysprep command with the /generalize option. <generalize> 执行 Sysprep 通用化之前,应答文件的部分中的答案文件设置将应用于系统。Answer file settings in the <generalize> section of an answer file are applied to the system before Sysprep generalization occurs. 然后关闭系统。The system then shuts down.

下图显示了 通用化 配置阶段的处理过程。The following diagram shows the process of the generalize configuration pass.

通用化配置阶段

在系统下一次启动系统后,将立即运行 specialize 配置阶段。The specialize configuration pass runs immediately after the next time that the system boots. 运行 Sysprep 时,可以通过指定 /audit/oobe 来决定 windows 是启动到审核模式还是欢迎使用 windows。When you run Sysprep, you can decide whether Windows will boot to audit mode or Windows Welcome by specifying /audit or /oobe. 当计算机通用化后,无论计算机配置为启动到审核模式还是欢迎使用 Windows,都将始终运行 specialize 配置阶段。The specialize configuration pass always runs after a computer has been generalized, regardless of whether the computer is configured to boot to audit mode or Windows Welcome.

将 Windows 映像移动或复制到新计算机的任何方法都必须使用 sysprep/generalize 命令进行准备。Any method of moving or copying a Windows image to a new computer must be prepared with the sysprep /generalize command. 有关详细信息,请参阅 Sysprep(通用化)Windows 安装For more information, see Sysprep (Generalize) a Windows installation.

相关主题Related topics

配置阶段的工作原理How Configuration Passes Work

auditSystemauditSystem

auditUserauditUser

offlineServicingofflineServicing

oobeSystemoobeSystem

specializespecialize

windowsPEwindowsPE