在Win7或Vista中暂时禁用Windows Update的自动重新启动

So you’re in the middle of doing something important on your computer when the “Restart your computer to finish installing important updates” dialog comes up, and asks you to restart your computer.

因此,当出现“重新启动计算机以完成重要更新的安装”对话框并要求您重新启动计算机时,您正在计算机上执行重要的操作。

image

Sure, you can postpone it up to 4 hours, but then the dialog will just come up again. If you were downloading some important files you might not want the computer to reboot automatically.

当然,您可以将其最多延迟4个小时,但是随后该对话框将再次出现。 如果要下载一些重要文件,则可能不希望计算机自动重新启动。

The quick way to disable the reboot for the current session is to stop the Windows Update service from running. You can do this by opening an administrative mode command prompt.

禁用当前会话的重新启动的快速方法是停止运行Windows Update服务。 您可以通过打开管理模式命令提示符来执行此操作。

Type cmd into the start menu search box, and use Ctrl+Shift+Enter to open in administrative mode. You could also right-click the item in the menu and choose Run as Administrator.

在开始菜单搜索框中键入cmd ,然后使用Ctrl + Shift + Enter在管理模式下打开。 您也可以右键单击菜单中的项目,然后选择“以管理员身份运行”。

Once at the prompt, just type in the following:

出现提示后,只需输入以下内容:

net stop “windows update”

净停止“ Windows Update”

image

Don’t worry, the service will start right back up when you reboot your computer, but at least you don’t have to deal with the restart dialog.

不用担心,当您重新启动计算机时,该服务将立即备份,但是至少不必处理重新启动对话框。

翻译自: https://www.howtogeek.com/howto/uncategorized/temporarily-disable-windows-updates-automatic-reboot-in-vista/