当前位置:网站首页>wsus可以打mysql中间件补丁_加入WSUS补丁服务器并下载补丁
wsus可以打mysql中间件补丁_加入WSUS补丁服务器并下载补丁
2022-07-23 14:29:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
——–加入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.cn/126482.html原文链接:https://javaforall.cn
边栏推荐
猜你喜欢
随机推荐
虚拟机网络连接方式
Pymoo学习 (1):基本概念
JMeter之函数二次开发/插件开发(细版)
怎么正确设置路由器
IDEA中给项目添加依赖的jar包
死磕遞歸1:遞推公式
小程序商城如何精细化运营?
ROS2自学笔记:Rviz可视化工具
Wechat applet wx.hideloading() will close the toast prompt box
Investment and finance report this week: Web3 game bear market attracts gold
Major upgrade of openim - group chat reading diffusion model release group management function upgrade
Pinia (pineapple)
浏览器同源策略
Fundamentals of C language -- 2-6 pointers, arrays and sizeof operators
解决data functions should return an object 并(Property “visible“ must be accessed with “$data.visible“)
pwn入门(3)堆
场景小小记
[31. Maze walking (BFS)]
【Flutter -- 布局】线性布局(Row 和 Column)
gom及gee架设黑屏的原因以及个别装备地图不显示怎么办?









