Computer >> 컴퓨터 >  >> 체계 >> Windows Server

Windows Update가 업데이트 캐시에 패키지를 복사할 때 멈춤

Windows Server 2016에서 업데이트를 설치할 때 이상한 문제가 발생했습니다. 호스트가 WSUS 서버에서 업데이트를 수신하고 자동으로 설치하려고 했지만 몇 퍼센트에서 멈췄습니다. Wuaserv 다시 시작, 서버 다시 시작, WindowsUpdate.log의 오류 검색은 쓸모가 없었습니다.

Windows Update 카탈로그에서 수동으로 누적 업데이트를 다운로드하고 WUSA(Windows Update Standalone Installer)를 사용하여 MSU 업데이트 패키지를 설치하려고 했습니다. 그러나 WUSA 설치 프로그램은 Copying packages to the Windows Update cache에서 매번 멈췄습니다. . 업데이트 설치가 끝이 없었습니다...

Windows Update가 업데이트 캐시에 패키지를 복사할 때 멈춤

로컬 Windows 업데이트 캐시를 재설정하여 문제를 해결했습니다. 관리자 권한 명령 프롬프트를 열고 아래 명령을 실행합니다.

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

그런 다음 wuaserv 프로세스가 중지되고 중단되지 않았는지 확인하십시오. 다음 PowerShell 코드를 사용하여 프로세스 상태를 확인하는 것이 더 쉽습니다.

$id = Get-WmiObject -Class Win32_Service -Filter "Name LIKE 'wuauserv'" | Select-Object -ExpandProperty ProcessId
$process = Get-Process -Id $id

프로세스가 실행 중이면 중지:

$process| Stop-Process

Windows Update가 업데이트 캐시에 패키지를 복사할 때 멈춤

del /f /q "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
del /f /s /q %SystemRoot%\SoftwareDistribution\*.*
del /f /s /q %SystemRoot%\system32\catroot2\*.*
del /f /q %SystemRoot%\WindowsUpdate.log
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

캐시를 정리한 후 업데이트 검색을 실행하세요. 이제 Windows 업데이트가 올바르게 설치되었는지 확인하십시오. 대부분의 경우 업데이트 설치가 중단될 때 캐시를 지우는 솔루션은 다른 Windows 버전(Windows 10, Windows Server 2019 등)에서도 효과적일 것입니다.

Windows Server 2016이 프록시를 통해 업데이트를 다운로드할 수 없는 또 다른 경우가 있었습니다.