• Nenhum produto no carrinho.

Forçar atualização WSUS

Olá pessoal,

Segue script que força um estação a sincronizar com o WSUS.

 

@echo off

Echo This batch file will Force the Update Detection from the AU client:

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)

Echo 6. Force the detection

 

@echo on

net stop wuauserv

REG DELETE “HKLMSoftwareMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update” /v LastWaitTimeout /f

REG DELETE “HKLMSoftwareMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update” /v DetectionStartTime /f

Reg Delete “HKLMSoftwareMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update” /v NextDetectionTime /f

net start wuauserv

wuauclt /resetauthorization / detectnow

@echo off

Echo This AU client will now check for the Updates on the Local WSUS Server.

 

PAUSE

 

Exit

06/01/2011
WB - Todos os direitos reservados
X