Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ECHO Le script suivant permet de forcer un poste client à prendre contact avec serveur WSUS
- ECHO Le script est a demarrer sur le poste client et NON SUR LE SERVEUR
- Pause
- ECHO Arret du service Windows Update
- net stop wuauserv
- ECHO Suppression des cles de registre du timer
- REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /f /v LastWaitTimeout
- REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /f /v DetectionStartTime
- Reg DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /f /v NextDetectionTime
- ECHO Demarrage du service Windows Update
- net start wuauserv
- ECHO Force la prise de contact entre le poste client et le serveur
- wuauclt.exe /resetauthorization /detectnow
- wuauclt.exe /detectnow
- wuauclt.exe /reportnow
- Echo Le script est termine, il faut maintenant patienter durant 15 a 20 min puis regarder la console du serveur
- Echo Si le script ne solutionne pas le probleme, vous pouvez consulter le fichier c:\windows\windowsupdate.log
- Pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement