#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=..\..\..\Windows\syswow64\SHELL32.dll
#AutoIt3Wrapper_outfile=..\Desktop\au.EXE
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
Local $pa1 = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
Local $pa2 = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
RegWrite($pa1, "WUServer", "REG_SZ", "http://128.236.164.75:8530")
RegWrite($pa1,"WUStatusServer","REG_SZ","http://128.236.164.75:8530")
RegWrite($pa1,"ElevateNonAdmins","REG_dword","00000001")
RegWrite($pa1,"TargetGroupEnabled","REG_dword","00000001")

RegWrite($pa2,"NoAutoUpdate","REG_dword","00000000")
RegWrite($pa2,"AUOptions","REG_dword","00000003")
RegWrite($pa2,"ScheduledInstallDay","REG_dword","00000000")
RegWrite($pa2,"ScheduledInstallTime","REG_dword","00000012")
RegWrite($pa2,"UseWUServer","REG_dword","00000001")
RegWrite($pa2,"DetectionFrequencyEnabled","REG_dword","00000001")
RegWrite($pa2,"DetectionFrequency","REG_dword","00000002")
RegWrite($pa2,"NoAutoRebootWithLoggedOnUsers","REG_dword","00000001")
RegWrite($pa2,"RescheduleWaitTime","REG_dword","00000001")
RegWrite($pa2,"AutoInstallMinorUpdates","REG_dword","00000001")
RegWrite($pa2,"RebootWarningTimeoutEnabled","REG_dword","00000001")
RegWrite($pa2,"RebootWarningTimeout","REG_dword","00000030")
RegWrite($pa2,"RebootRelaunchTimeoutEnabled","REG_dword","00000001")
RegWrite($pa2,"RebootRelaunchTimeout","REG_dword","00000001")
RegWrite($pa2,"IncludeRecommendedUpdates","REG_dword","00000001")
RegWrite($pa2,"AUPowerManagement","REG_dword","00000001")
Exit