Fichier de registre WSUS.reg :
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate] "WUServer"="http://<adresse-IP-WSUS>:8530" "WUStatusServer"="http://<adresse-IP-WSUS>:8530" "TargetGroupEnabled"=dword:00000001 "TargetGroup"="SRV_Production" [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] "UseWUServer"=dword:00000001 "DetectionFrequencyEnabled"=dword:00000001 "DetectionFrequency"=dword:00000016 "NoAutoUpdate"=dword:00000000 "AUOptions"=dword:00000003 "ScheduledInstallDay"=dword:00000004 "ScheduledInstallTime"=dword:00000003
Remplacer
<adresse-IP-WSUS> par l'adresse IP du serveur WSUS
Script WSUS.bat :
@echo OFF title WSUS status echo ** reg query HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate ** reg query HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate echo ** wuauclt /reportnow ** wuauclt /reportnow echo ** wuauclt /detectnow ** wuauclt /detectnow pause