没有比服务器出问题更让人沮丧的事了
在重要任务进行中或期间自动重启
业务时间因 Windows 更新而受影响。本指南将逐步为您讲解
在 Windows 更新后禁用自动重启的步骤
Server 2012 和 2022。无论你是想在用户使用时防止重启
已登录或完全禁用它们,我们都能满足你的需求。
Using
使用组策略编辑器禁用自动重启
The 组策略编辑器 是一个强大的工具,可以
允许 Windows 服务器管理员调优各种系统
设置和策略。在这一部分,我们将介绍如何
使用组策略编辑器禁用 Windows 后的自动重启
Windows Server 2012 和 2022 的更新信息。
禁用自动重启在两种主要情况下很有用:
-
当你需要在关键工作期间防止自动重启时
hours -
当用户已登录到服务器时
按照清晰的说明配置所需的设置
组策略编辑器,确保您的系统获得更流畅的更新体验
Windows Server.
第一步:打开群组
Policy Editor
Press Win + R, type “gpedit.msc,” and press
Enter 打开本地组策略编辑器。

Step 2:
导航至 Windows 更新策略
在组策略编辑器中,依次点击 计算机配置 ->
Administrative Templates -> Windows Components -> Windows
Update.
Step
3: Configure “No auto-restart with logged on users for scheduled
自动安装更新
-
Locate the policy called “No auto-restart with logged on users
用于定期自动安装更新。 -
双击此策略设置。
-
If you set the status to “Enabled,” Automatic Updates
不会重启 计算机会自动在
如果用户已登录,将不会进行定时安装。改为通知用户
用户重启计算机。请注意,计算机必须
需要手动重启才能使更新生效。

Note: If the status is set to “Disabled” or “Not
已配置,自动更新将通知用户计算机
将在 5 分钟后自动重启以完成
installation.
第 4 步:申请并
Save
Click on Apply and then OK to save
your changes.
Step 5: Restart (if
necessary)
为了使更改生效,你可能需要重启
server.
By following these steps and configuring the “No auto-restart with
已登录用户的定时自动更新安装政策
你可以更好地控制自动重启,确保它们符合你的需求
满足您的服务器管理需求。
Using
使用任务计划程序防止自动重启
如果你想用其他方法控制自动重启
Windows 更新后,您可以使用任务计划程序。按以下步骤操作
使用此方法防止自动重启的步骤:
第一步:打开任务
Scheduler
Click on Start and type “Task Scheduler” in the
搜索栏。选择 Task Scheduler 从结果来看。

Step 2:
导航到 Update Orchestrator
在任务计划程序中,导航到任务计划程序库 -> Microsoft
-> Windows -> UpdateOrchestrator.
第 3 步:禁用
Reboot Task
Locate the task named “Reboot_AC” (or Reboot). If it is enabled,
right-click on Reboot_AC and select
Disable。此操作将阻止自动重启
任务执行。

By following these steps and ensuring that the “Reboot_AC” task is
禁用后,可以有效防止 Windows 之后的自动重启
使用任务计划程序进行更新。此方法为您提供
额外的控制层,让你可以根据自己的需要管理服务器重启
服务器的具体需求。
Additional Windows
Update Settings
除了使用组策略编辑器和任务计划程序,你还可以
探索更多 Windows 更新设置以微调您的控制
自动重启的控制方法。具体步骤:
Step 1:
打开高级 Windows 更新选项
打开「开始」菜单,搜索 Advanced Windows 更新
options.

Step 2: Disable
Immediate Restart
In the Advanced Windows Update options, make sure that “Restart this
设备需要重启以安装更新时,请尽快重启
update” is toggled off。此设置可防止立即
重启服务器,让你完全掌控何时应用更新。

通过调整此设置,你可以进一步自定义更新
重新设置偏好,确保与你的服务器完全一致
operational requirements.
在 Windows 更新后管理自动重启对以下方面至关重要
系统安全和工作效率。本指南帮助你找到平衡
在保证 Windows 服务器正常运行的前提下,满足安全需求
运行稳定。有任何问题,可以通过以下方式联系我们 submitting a
ticket。我们的支持团队很乐意为您服务。