wsus可以打mysql中间件补丁_加入WSUS补丁服务器并下载补丁

——–加入WSUS补丁服务器并下载补丁_不安装——-@echooffregdeleteHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate/vAccountDomainSid/fregdeleteHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Wind…

大家好,又见面了,我是你们的朋友全栈君。

——–加入WSUS补丁服务器并下载补丁_不安装——-

@echo off

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v WUServer /d “http://10.5.18.107:8530” /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v WUStatusServer /d “http://10.5.18.107:8530” /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v TargetGroupEnabled /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v AUOptions /t REG_DWORD /d 3 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v ScheduledInstallDay /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v ScheduledInstallTime /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v UseWUServer /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v AutoInstallMinorUpdates /t REG_DWORD /d 1 /f

gpupdate /force

net stop wuauserv

del %SystemRoot%\SoftwareDistribution\*.* /S /Q

net start wuauserv

wuauclt /resetauthorization /detectnow

wuauclt /downloadnow

wuauclt /reportnow

——–加入WSUS补丁服务器并下载补丁_自动安装——-

@echo off

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v WUServer /d “http://10.5.18.107:8530” /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v WUStatusServer /d “http://10.5.18.107:8530” /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate /v TargetGroupEnabled /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v AUOptions /t REG_DWORD /d 4 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v ScheduledInstallDay /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v ScheduledInstallTime /t REG_DWORD /d 0 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v UseWUServer /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

reg add HKLM\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU /v AutoInstallMinorUpdates /t REG_DWORD /d 1 /f

gpupdate /force

net stop wuauserv

del %SystemRoot%\SoftwareDistribution\*.* /S /Q

net start wuauserv

wuauclt /resetauthorization /detectnow

wuauclt /downloadnow

wuauclt /reportnow

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/126482.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • Struts2–自定义拦截器三种方式(实现Interceptor接口、继承抽象类AbstractInterceptor、继承MethodFilterInterceptor)「建议收藏」

    Struts2–自定义拦截器三种方式(实现Interceptor接口、继承抽象类AbstractInterceptor、继承MethodFilterInterceptor)「建议收藏」实现自定义拦截器在实际的项目开发中,虽然Struts2的内建拦截器可以完成大部分的拦截任务,但是,一些与系统逻辑相关的通用功能(如权限的控制和用户登录控制等),则需要通过自定义拦截器实现。本节将详细讲解如何自定义拦截器。1.实现Interceptor接口在Struts2框架中,通常开发人员所编写的自定义拦截器类都会直接或间接地实现com.opensymphony.xwork2.in…

    2022年5月14日
    43
  • blob类型字段[通俗易懂]

    blob类型字段[通俗易懂]1、在mysql中,bolb是一个二进制大型对象,是一个储存大量数据的容器,例如图片,音频。2、插入blob类型数据比如使用preparedStatement,而不能使用Statment,因为blob类型数据不能使用字符串拼接。有关preparedStatement的使用请参考https://blog.csdn.net/weixin_46457946/article/details/1197812273、mysql的四种blob类型类型大小TinyBlob255byte.

    2022年10月27日
    0
  • 最新最全的微信小程序入门学习教程,微信小程序零基础入门到精通

    最新最全的微信小程序入门学习教程,微信小程序零基础入门到精通从今天开始就来带领大家学习微信小程序了,只要你跟着我一步步来,相信你也可以上线一款属于自己的微信小程序一,认识小程序微信⼩程序,简称⼩程序,英⽂名MiniProgramMiniProgram,是⼀种不需要下载安装即可使⽤的应⽤,它实现了应⽤“触⼿可及”的梦想,⽤⼾扫⼀扫或搜⼀下即可打开应⽤1-1,微信小程序的优势1.微信有海量⽤⼾,⽽且粘性很⾼,在微信⾥开发产品更容易触达⽤⼾;2.推⼴app或公众号的成本太⾼。3.开发适配成本低。4.容易⼩规模试错,然后快速迭代。5.跨平台。

    2022年6月25日
    48
  • JQuery 简单实现折叠菜单

    JQuery 简单实现折叠菜单

    2022年3月12日
    40
  • oracle误删数据怎么恢复_oracle数据库恢复数据

    oracle误删数据怎么恢复_oracle数据库恢复数据学习数据库时,我们只是以学习的态度,考虑如何使用数据库命令语句,并未想过工作中,如果误操作一下,都可能导致无可挽回的损失。当我在工作中真正遇到这些问题时,我开始寻找答案。今天主要以oracle数据库为例,介绍关于表中数据删除的解决办法。(不考虑全库备份和利用归档日志)删除表中数据有三种方法:·delete(删除一条记录)·drop或truncate删除表格中数据1.delete

    2022年9月23日
    0
  • recvfrom为何老是返回-1[通俗易懂]

    recvfrom为何老是返回-1[通俗易懂]ios下编写udpSocket时遇到的问题:intsockfd=socket(AF_INET,SOCK_DGRAM,0);bzero((char*)&ca,sizeof(ca));ca.sin_family=AF_INET;ca.sin_addr.s_addr=htonl(INADDR_ANY);ca.sin_port=htons(SERV_

    2022年7月23日
    6

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号