Como forzar la Detección de Actualizaciones en un Cliente WSUS

 

Muchas veces tenemos la necesidad de actualizar un cliente que esta en una red corporativa de manera urgente y no queremos esperar 18-23 hs o lo que hayamos puesto por politica.
A traves de este simple scripts, lo que hace parar el servicio de AU, despues  borrar las variables LastWaitTimeout, DetectionStartTime y NextDetectionTime del cliente Automatic Update y luego iniciar el servicio. Para verificar el log del cliente si fuera necesario es en C:\Windows\Windowsupdate.log
Copiar el siguiente texto en un archivo CMD y ejecutarlo en el cliente que queremos forzar la deteccion y actualizacion de parches. 

====================================================
@echo off
Echo This batch file will Force the Update Detection from the AU client by:
Echo 1. Stops the Automatic Updates Service (wuauserv)
Echo 2. Deletes the LastWaitTimeout registry key (if it exists)
Echo 3. Deletes the DetectionStartTime registry key (if it exists)
Echo 4. Deletes the NextDetectionTime registry key (if it exists)
Echo 5. Restart the Automatic Updates Service (wuauserv)
Pause
@echo on
net stop wuauserv
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
Reg Delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
net start wuauserv

@echo off
Echo This AU client will now check for the Updates on the Local SUS Server.
Echo After 10-20 mts Have a look at C:\Window\Windows update.log
Echo For any errors; feel free to post on the forum & I will try to help out.
Pause
====================================================

Credito a Mohammed. Athif Khaleel MVP de WSUS quien creo el scripts.

Ud esta Aqui:
Citrix Technology Professionals