使用 Configuration Manager 创建分阶段部署Create phased deployments with Configuration Manager

适用范围: Configuration Manager (Current Branch)Applies to: Configuration Manager (current branch)

分阶段部署可在多个集合中自动协调有序地推出软件。Phased deployments automate a coordinated, sequenced rollout of software across multiple collections. 例如,将软件部署到试点集合,然后根据成功条件自动继续推出。For example, deploy software to a pilot collection, and then automatically continue the rollout based on success criteria. 创建分阶段部署时,既可以使用默认的两个阶段,也可以手动配置多个阶段。Create phased deployments with the default of two phases, or manually configure multiple phases.

针对以下对象创建分阶段部署:Create phased deployments for the following objects:

  • 任务序列Task sequence
    • 任务序列的分阶段部署不支持 PXE 或介质安装The phased deployment of task sequences doesn't support PXE or media installation
  • 应用程序Application
  • 软件更新Software update
    • 不能将自动部署规则 (ADR) 与分阶段部署配合使用You can't use an automatic deployment rule (ADR) with a phased deployment


安全作用域Security scope

任何没有“全部”安全作用域的管理用户都无法查看由分阶段部署创建的部署 。Deployments created by phased deployments aren't viewable to any administrative user that doesn't have the All security scope. 有关详细信息,请参阅 安全作用域For more information, see Security scopes.

分发内容Distribute content

在创建分阶段部署前,请将关联内容分发到分发点。Before creating a phased deployment, distribute the associated content to a distribution point.

  • 应用程序:在控制台中选择目标应用程序,并使用功能区中的“分发内容”操作 。Application: Select the target application in the console and use the Distribute Content action in the ribbon. 有关详细信息,请参阅部署和管理内容For more information, see Deploy and manage content.

  • 任务序列:在创建任务序列前,必须创建引用对象,如 OS 升级包。Task sequence: You have to create referenced objects like the OS upgrade package before creating the task sequence. 在创建部署前分发这些对象。Distribute these objects before creating a deployment. 使用每个对象上的“分发内容”操作,或使用任务序列 。Use the Distribute Content action on each object, or the task sequence. 若要查看所有引用内容的状态,请选择任务序列,然后切换到细节窗格中的“引用”选项卡 。To view status of all referenced content, select the task sequence, and switch to the References tab in the details pane. 有关详细信息,请参阅准备进行 OS 部署中的特定对象类型。For more information, see the specific object type in Prepare for OS deployment.

  • 软件更新:创建部署包并分发。Software update: create the deployment package and distribute it. 使用“下载软件更新向导”。Use the Download Software Updates Wizard. 有关详细信息,请参阅下载软件更新For more information, see Download software updates.

阶段设置Phase settings

这些设置是分阶段部署特有的。These settings are unique to phased deployments. 在创建或编辑阶段时配置这些设置,控制分阶段部署过程的计划和行为。Configure these settings when creating or editing the phases to control the scheduling and behavior of the phased deployment process.

从版本 2002 开始,使用以下 Windows PowerShell cmdlet 手动配置软件更新和任务序列分阶段部署的各个阶段:Starting in version 2002, use the following Windows PowerShell cmdlets to manually configure phases for software update and task sequence phased deployments:

第一阶段成功的标准Criteria for success of the first phase

  • 部署成功百分比:指定要确保第一阶段成功,需成功完成部署的设备所占百分比。Deployment success percentage: Specify the percent of devices that need to successfully complete the deployment for the first phase to succeed. 默认情况下,此值为 95%。By default, this value is 95%. 换而言之,针对此部署,当 95% 的设备的符合性状态都为“成功”时,站点认为第一阶段成功 。In other words, the site considers the first phase successful when the compliance state for 95% of the devices is Success for this deployment. 然后,该站点将继续进入第二阶段,并创建下一个集合的软件部署。The site then continues to the second phase, and creates a deployment of the software to the next collection.

  • 成功部署的设备数:指定要确保第一阶段成功,需成功完成部署的设备数。Number of devices successfully deployed: Specify the number of devices that need to successfully complete the deployment for the first phase to succeed. 当集合的大小可变并且你在前进到下一阶段前已有一定数量的设备成功部署时,此选项很有用。This option is useful when the size of the collection is variable, and you have a specific number of devices to show success before moving to the next phase.

在第一阶段成功后开始第二阶段部署的条件Conditions for beginning second phase of deployment after success of the first phase

  • 在延迟时间段(以天为单位)后自动开始此阶段:选择在第一阶段成功后开始第二阶段之前等待的天数。Automatically begin this phase after a deferral period (in days): Choose the number of days to wait before beginning the second phase after the success of the first. 默认情况下,此值为一天。By default, this value is one day.

  • 手动开始第二阶段部署:在第一阶段成功后,站点不会自动开始第二阶段。Manually begin the second phase of deployment: The site doesn't automatically begin the second phase after the first phase succeeds. 此选项需手动启动第二阶段。This option requires that you manually start the second phase. 有关详细信息,请参阅进入下一阶段For more information, see Move to the next phase.


    此选项不可用于应用程序的分阶段部署。This option isn't available for phased deployments of applications.

在此时间段内(以天为单位)逐渐提供此软件Gradually make this software available over this period of time (in days)

配置此设置,以便在每个阶段逐步推出软件。Configure this setting for the rollout in each phase to happen gradually. 此行为有助于缓解部署问题的风险,降低网络上因向客户端分发内容而导致的负载。This behavior helps mitigate the risk of deployment issues, and decreases the load on the network that is caused by the distribution of content to clients. 此站点根据每个阶段的配置,逐步提供软件。The site gradually makes the software available depending on the configuration for each phase. 相对于使软件可用的时间,一个阶段中的每个客户端都有一个截止时间。Every client in a phase has a deadline relative to the time the software is made available. 对于一个阶段中的所有客户端,可用时间和截止时间之间的时间窗都是相同的。The time window between the available time and deadline is the same for all clients in a phase. 此设置的默认值为零,因此默认情况下,部署不受限制。The default value of this setting is zero, so by default the deployment isn't throttled. 请勿设置大于 30 的值。Don't set the value higher than 30.


配置与软件可用时间相关的截止时间行为Configure the deadline behavior relative to when the software is made available

  • 需要尽快安装:确定目标设备后立即设置设备上的安装截止时间。Installation is required as soon as possible: Set the deadline for installation on the device as soon as the device is targeted.

  • 需要在这段时间后进行安装:将安装截止时间设置为在确定目标设备后的特定天数内安装。Installation is required after this period of time: Set a deadline for installation a certain number of days after device is targeted. 默认情况下,此值为七天。By default, this value is seven days.

自动创建默认的二阶段部署Automatically create a default two-phase deployment

  1. 在 Configuration Manager 控制台中启动“创建分阶段部署”向导。Start the Create Phased Deployment wizard in the Configuration Manager console. 此操作因要部署的软件类型而有所不同:This action varies based on the type of software you're deploying:

    • 应用程序:转到“软件库”,展开“应用程序管理”,然后选择“应用程序” 。Application: Go to the Software Library, expand Application Management, and select Applications. 选择现有应用程序,然后选择功能区中的“创建分阶段部署” 。Select an existing application, and then choose Create Phased Deployment in the ribbon.

    • 软件更新:转到“软件库”,展开“软件更新”,然后选择“所有软件更新” 。Software update: Go to the Software Library, expand Software Updates, and select All Software Updates. 选择一个或多个更新,然后选择功能区中的“创建分阶段部署” 。Select one or more updates, and then choose Create Phased Deployment in the ribbon.

      此操作可用于以下节点的软件更新:This action is available for software updates from the following nodes:

      • 软件更新Software Updates
        • 所有软件更新All Software Updates
        • 软件更新组Software Update Groups
      • Windows 10 服务、所有 Windows 10 更新 Windows 10 Servicing, All Windows 10 Updates
      • Office 365 客户端管理、Office 365 更新 Office 365 Client Management, Office 365 Updates
    • 任务序列:转到“软件库”工作区,展开“操作系统”,选择“任务序列” 。Task sequence: Go to the Software Library workspace, expand Operating Systems, and select Task Sequences. 选择现有任务序列,然后选择功能区中的“创建分阶段部署” 。Select an existing task sequence, and then choose Create Phased Deployment in the ribbon.

  2. 在“常规”页上,为分阶段部署提供名称、说明(可选),并选择“自动创建默认的二阶段部署” 。On the General page, give the phased deployment a Name, Description (optional), and select Automatically create a default two phase deployment.

  3. 选择“浏览”,然后为“第一个集合”和“第二个集合”字段选择目标集合 。Select Browse and choose a target collection for both the First Collection and Second Collection fields. 对于任务序列和软件更新,请从设备集合中进行选择。For a task sequence and software updates, select from device collections. 对于应用程序,请从用户或设备集合中进行选择。For an application, select from user or device collections. 选择“下一步” 。Select Next.


    如果部署可能存在高风险,“创建分阶段部署”向导不会就此发出通知。The Create Phased Deployment wizard doesn't notify you if a deployment is potentially high-risk. 有关详细信息,请参阅用于管理高风险部署的设置以及部署任务序列时的说明。For more information, see Settings to manage high-risk deployments and the note when you Deploy a task sequence.

  4. 在“设置”页上,为每个计划设置选择一个选项 。On the Settings page, choose one option for each of the scheduling settings. 有关详细信息,请参阅阶段设置For more information, see Phase settings. 完成后单击“下一步” 。Select Next when complete.

  5. 在“阶段”页上,查看向导为指定集合创建的两个阶段 。On the Phases page, see the two phases that the wizard creates for the specified collections. 选择“下一步” 。Select Next. 这些说明涵盖了自动创建默认两阶段部署的过程。These instructions cover the procedure to automatically create a default two-phase deployment. 向导允许为分阶段部署添加、删除、重新排序、编辑或查看阶段。The wizard lets you add, remove, reorder, edit, or view phases for a phased deployment. 有关这些其他操作的详细信息,请参阅使用手动配置的阶段创建分阶段部署For more information on these additional actions, see Create a phased deployment with manually configured phases.

  6. 在“摘要”选项卡上确认选择,然后选择“下一步”完成向导 。Confirm your selections on the Summary tab, and then select Next to complete the wizard.


自 2020 年 4 月 21 日起,Office 365 专业增强版已重命名为 Microsoft 365 企业应用版 。Starting on April 21, 2020, Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. 有关详细信息,请参阅 Office 365 专业增强版的名称变更For more information, see Name change for Office 365 ProPlus. 在控制台更新期间,你可能仍会看到 Configuration Manager 产品和文档中使用的是旧名称。You may still see the old name in the Configuration Manager product and documentation while the console is being updated.

从版本 2002 开始,可以使用以下 Windows PowerShell cmdlet 来执行此任务:Starting in version 2002, use the following Windows PowerShell cmdlets for this task:

使用手动配置的阶段创建分阶段部署Create a phased deployment with manually configured phases

使用手动配置的任务序列阶段创建分阶段部署。Create a phased deployment with manually configured phases for a task sequence. 可从“创建分阶段部署”向导的“阶段”选项卡添加最多 10 个其他阶段 。Add up to 10 additional phases from the Phases tab of the Create Phased Deployment wizard.


目前无法手动为应用程序创建阶段。You can't currently manually create phases for an application. 向导会自动为应用程序部署创建两个阶段。The wizard automatically creates two phases for application deployments.

  1. 为任务序列或软件更新启动“创建分阶段部署”向导。Start the Create Phased Deployment wizard for either a task sequence or software updates.

  2. 在“创建分阶段部署”向导的“常规”页上,为分阶段部署提供名称、说明(可选),并选择“手动配置所有阶段” 。On the General page of the Create Phased Deployment wizard, give the phased deployment a Name, Description (optional), and select Manually configure all phases.

  3. 在“创建分阶段部署”向导的“阶段”页中,可进行下列操作 :From the Phases page of the Create Phased Deployment wizard, the following actions are available:

    • 筛选部署阶段列表 。Filter the list of deployment phases. 为“顺序”、“名称”或“集合”列输入匹配的字符串,不区分大小写。Enter a string of characters for a case-insensitive match of the Order, Name, or Collection columns.

    • 添加新阶段 :Add a new phase:

      1. 在“添加阶段向导”的“常规”页上,指定该阶段名称,然后浏览到目标“阶段集合” 。On the General page of the Add Phase Wizard, specify a Name for the phase, and then browse to the target Phase Collection. 此页面上的其他设置与正常部署任务序列或软件更新时的设置相同。The additional settings on this page are the same as when normally deploying a task sequence or software updates.

      2. 在“添加阶段向导”的“阶段设置”页上,配置计划设置,然后在完成后选择“下一步” 。On the Phase Settings page of the Add Phase Wizard, configure the scheduling settings, and select Next when complete. 有关详细信息,请参阅设置For more information, see Settings.


        无法在第一阶段中编辑阶段设置:“部署成功百分比”或“成功部署的设备数”。You can't edit the phase settings, Deployment success percentage or Number of devices successfully deployed, on the first phase. 这些设置仅适用于具有上一阶段的阶段。These settings only apply to phases that have a previous phase.

      3. “添加阶段向导”的“用户体验”和“分发点”页面上的设置与正常部署任务序列或软件更新时的设置相同 。The settings on the User Experience and Distribution Points pages of the Add Phase Wizard are the same as when normally deploying a task sequence or software updates.

      4. 查看“摘要”页上的设置,然后完成“添加阶段向导” 。Review the settings on the Summary page, and then complete the Add Phase Wizard.

    • 编辑:此操作将打开选定阶段的“属性”窗口,该窗口中的选项卡与“添加阶段向导”页面上的选项卡相同。Edit: This action opens the selected phase's Properties window, which has tabs the same as the pages of the Add Phase Wizard.

    • 删除:此操作将删除选定的阶段。Remove: This action deletes the selected phase.


      不会出现任何确认信息,并且无法撤消此操作。There is no confirmation, and no way to undo this action.

    • “上移”或“下移” :该向导按照添加方式对阶段进行排序。Move Up or Move Down: The wizard orders the phases by how you add them. 最近添加的阶段位于列表最后。The most recently added phase is last in the list. 若要更改顺序,请选择一个阶段,然后使用这些按钮,在列表中移动该阶段的位置。To change the order, select a phase, and then use these buttons to move the phase's location in the list.


      更改顺序后查看阶段设置。Review the phase settings after changing the order. 请确保以下设置仍符合对此分阶段部署的要求:Make sure the following settings are still consistent with your requirements for this phased deployment:

      • 前一阶段成功的标准Criteria for success of the previous phase
      • 在上一阶段成功后开始此阶段部署的条件Conditions for beginning this phase of deployment after success of the previous phase
  4. 选择“下一步” 。Select Next. 查看“摘要”页上的设置,然后完成“创建分阶段部署”向导 。Review the settings on the Summary page, and then complete the Create Phased Deployment wizard.

从版本 2002 开始,可以使用以下 Windows PowerShell cmdlet 来执行此任务:Starting in version 2002, use the following Windows PowerShell cmdlets for this task:

创建分阶段部署后,打开其属性进行更改:After you create a phased deployment, open its properties to make changes:

  • 在现有分阶段部署中添加其他阶段 。Add additional phases to an existing phased deployment.

  • 如果阶段未处于活动状态,可以对其进行“编辑”、“删除”、“上移”或“下移” 。If a phase isn't active, you can Edit, Remove, or Move it up or down. 无法将其移动到活动阶段之前。You can't move it before an active phase.

  • 活动阶段处于只读状态。When a phase is active, it's read-only. 不能对其进行编辑、删除或移动其在列表中的位置。You can't edit it, remove it, or move its location in the list. 唯一可用选项是“查看”阶段的属性 。The only option is to View the properties of the phase.

  • 应用程序分阶段部署始终为只读。An application phased deployment is always read-only.

后续步骤Next steps

管理和监视分阶段部署:Manage and monitor phased deployments: