none
windows server 2008R2手动卸载补丁后,重启又自动安装其他补丁 RRS feed

  • 问题

  • 之前windows server 2008r2服务器通过WSUS来安装补丁,后将组策略中自动更新关闭,并禁用了指向wsus服务器的策略,今日手动卸载了9月4号的补丁,重启后,发现自动安装了其他补丁。

    请问这是什么原因?谢谢!

    2018年9月4日 8:50

答案

  • 可以通过以下命令删除softwaredistribution排查是否是SoftwareDistribution文件夹造成的,但我觉得您的问题和本地策略关系比较大。因为wsus策略对本机停止以后,只有本地update组策略和update设置起作用。

    1.Now type the following commands to stop Windows Update Services and then hit Enter after each one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    2.Next, type the following command to rename SoftwareDistribution Folder and then hit Enter:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    3.Finally, type the following command to start Windows Update Services and hit Enter after each one:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    4.Reboot your server to save changes.

    BEST REGARDS
    Andy YOU
    Please remember to
    mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年9月6日 5:20

全部回复

  • 您好:
        如果您确定已经在wsus控制台策略组中删除此故障server2008R2。还需要确定您电脑是否可以更改本地更新设置。如果可以,您可以在控制面板--系统和安全---widnow更新---更改设置
    更改为 “检查更新,但让我选择是否下载和安装更新 ”或 “下载更新,但是让我选择是否安装更新”
    具体视您工作环境需要配置。
    然后检查server 2008r2 本地组策略中以下策略是否被配置
    点击计算机配置-->管理模板-->windows组件-->windows Update---允许自动更新立即安装--禁用
       
    以下资料供您参考:
    https://help.aliyun.com/knowledge_detail/41075.html
    https://www.zhujib.com/windows-server-2008-r2fuwuqishezhizidonggengxinkaiqiyuguanbi.html
    https://docs.microsoft.com/zh-cn/security-updates/windowsupdateservices/18125915

    BEST REGARDS
    Andy YOU
    Please remember to
    mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    2018年9月5日 9:23
  • 您好!感谢您的回复,想问一下是否可能是SoftwareDistribution文件夹造成的?是否可以通过删除SoftwareDistribution文件夹来实现此目的?

    谢谢!

    2018年9月6日 1:10
  • 可以通过以下命令删除softwaredistribution排查是否是SoftwareDistribution文件夹造成的,但我觉得您的问题和本地策略关系比较大。因为wsus策略对本机停止以后,只有本地update组策略和update设置起作用。

    1.Now type the following commands to stop Windows Update Services and then hit Enter after each one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    2.Next, type the following command to rename SoftwareDistribution Folder and then hit Enter:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    3.Finally, type the following command to start Windows Update Services and hit Enter after each one:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    4.Reboot your server to save changes.

    BEST REGARDS
    Andy YOU
    Please remember to
    mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年9月6日 5:20
  • 您好:
          问题有些进展吗?
    2018年9月11日 3:58
  • 您好:
          问题有些进展吗?
    2018年9月14日 11:57
  • 谢谢您的回复!
    2018年9月20日 13:53