成都网站建设设计

将想法与焦点和您一起共享

wsus脚本解决客户端因为SID无法发现问题

@ECHO OFF

创新互联建站专业为企业提供淮阳网站建设、淮阳做网站、淮阳网站设计、淮阳网站制作等企业网站建设、网页设计与制作、淮阳企业网站模板建站服务,10余年淮阳做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00

>>"%Temp%.\DefOpen.reg" ECHO.

start cmd /c "net stop wuauserv"

>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate]

>>"%Temp%.\DefOpen.reg" ECHO "PingID"=-

>>"%Temp%.\DefOpen.reg" ECHO "AccountDomainSid"=-

>>"%Temp%.\DefOpen.reg" ECHO "SusClientId"=-

start cmd /c "net start wuauserv"

start cmd /c "wuauclt.exe resetauthorization"

start cmd /c "wuauclt.exe detectnow"

start cmd /c "net start wuauserv"

>>"%Temp%.\DefOpen.reg" ECHO.

>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]

>>"%Temp%.\DefOpen.reg" ECHO "WUServer"="http://66.76.32.138:8530"

>>"%Temp%.\DefOpen.reg" ECHO "WUStatusServer"="http://66.76.32.138:8530"

>>"%Temp%.\DefOpen.reg" ECHO.

>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

>>"%Temp%.\DefOpen.reg" ECHO "NoAutoUpdate"=dword:00000000

>>"%Temp%.\DefOpen.reg" ECHO "AUOptions"=dword:00000004                                    

>>"%Temp%.\DefOpen.reg" ECHO "ScheduledInstallDay"=dword:00000000

>>"%Temp%.\DefOpen.reg" ECHO "ScheduledInstallTime"=dword:0000000c

>>"%Temp%.\DefOpen.reg" ECHO "UseWUServer"=dword:00000001

>>"%Temp%.\DefOpen.reg" ECHO.

>>"%Temp%.\DefOpen.reg" ECHO.

>>"%Temp%.\DefOpen.reg" ECHO.

START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"

DEL "%Temp%.\DefOpen.reg"


分享题目:wsus脚本解决客户端因为SID无法发现问题
文章路径:http://chengdu.cdxwcx.cn/article/gggphp.html