wsus_client

Batch

Public Domain

update problem

Download (right click, save as, rename as appropriate)

Embed

Tags:

bat
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\ /va /f

REM stop services
net stop wuauserv
net stop bits

md %windir%\softwaredistribution-old
xcopy %windir%\softwaredistribution %windir%\softwaredistribution-old /s /e /y
del %windir%\softwaredistribution\*.* /s /q
rmdir %windir%\softwaredistribution\ /s /q

REM start services
net start bits
net start wuauserv

REM new to me
proxycfg -d

REM dectect update
wuauclt.exe /resetauthorization /detectnow