服务器清理向导The Server cleanup Wizard

适用于:Windows Server(半年频道)、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

"服务器清理向导" 已集成到用户界面,可用于帮助你管理磁盘空间。The Server cleanup Wizard is integrated into the user interface and can be used to help you manage your disk space. 此向导可执行以下操作:This wizard can do the following operations:

  • 删除未使用的更新和更新修订将删除所有较旧的更新和尚未批准的更新修订版本。Remove unused updates and update revisions remove all older updates and update revisions that have not been approved.

  • 删除未与服务器联系的计算机删除在三十天内未与服务器联系的所有客户端计算机。Delete computers not contacting the server delete all client computers that have not contacted the server in thirty days or more.

  • 删除不需要的更新文件删除更新或下游服务器不需要的所有更新文件。Delete unneeded update files delete all update files that are not needed by updates or by downstream servers.

  • 拒绝过期的更新会拒绝 Microsoft 已过期的所有更新。Decline expired updates decline all updates that have been expired by Microsoft.

  • 拒绝被取代的更新将拒绝满足以下所有条件的所有更新:Decline superseded updates decline all updates that meet all the following criteria:

    • 被取代的更新不是必需的The superseded update is not mandatory

    • 被取代的更新已在服务器上30天或以上The superseded update has been on the server for thirty days or more

    • 任何客户端当前未报告被取代的更新The superseded update is not currently reported as needed by any client

    • 被取代的更新已在90天或更多的时间内显式部署到计算机组The superseded update has not been explicitly deployed to a computer group for ninety days or more

    • 必须批准此取代更新才能安装到计算机组The superseding update must be approved for install to a computer group

    警告

    在 WSUS 层次结构中,强烈建议先在最靠下的下游/副本 WSUS 服务器上运行清理进程,然后再向上移动层次结构。In a WSUS hierarchy, it is strongly recommended that you run the cleanup process on the lower-most, downstream/replica WSUS server first, and then move up the hierarchy. 在每个下游服务器上运行清理之前,在任何上游服务器上错误运行清理可能导致上游数据库和下游数据库中存在的数据不匹配。Incorrectly running cleanup on any upstream server prior to running cleanup on every downstream server can cause a mismatch between the data that is present in upstream databases and downstream databases. 数据不匹配可能导致上游和下游服务器之间的同步失败。The data mismatch can lead to synchronization failures between the upstream and downstream servers.

    重要

    如果使用 "服务器清理向导" 删除不必要的内容,则还会删除从 Microsoft 更新目录站点下载的所有专用更新文件。If you remove unnecessary content by using the Server Cleanup Wizard, all the private update files that you have downloaded from the Microsoft Update Catalog site are also removed. 运行 "服务器清理向导" 之后,必须重新导入这些文件。You must reimport these files after you run the Server Cleanup Wizard.

如果使用自动批准规则批准更新,则这些更新可能仍处于已批准状态,并且不会被服务器清理向导删除。If updates are approved using an auto-approval rule, they might still be in the Approved state, and will not be removed by The Server cleanup Wizard. 若要删除处于 "已批准" 状态的自动批准的更新,WSUS 管理员至少必须将 "未批准的更新" 的审批状态手动设置为 "未批准",以便它们可以由服务器清理向导赤纬。To remove auto-approved updates that are in an approved state , the WSUS Admin must - at minimum - manually set the approval status of superseded updates to Not Approved so they will be eligible for declination by the Server cleanup Wizard. "服务器清理向导" 将确保更新更新,并确保在将更新标记为 "已拒绝" 之前,任何客户端系统仍不会报告该更新。The Server cleanup Wizard will ensure a newer update is approved and that no client system is still reporting that update as needed before marking the update as Declined.