윈도우 업데이트 강제 복구 및 초기화.BAT - ChatGPT에게 부탁해봄

페이지 정보

작성자 INJU 댓글 1건 조회 52회 작성일 25-05-31 21:41

본문

@echo off
echo ================================
echo Windows Update 복구 스크립트 시작
echo 관리자 권한으로 실행되었는지 확인하세요.
echo ================================
timeout /t 2

echo 1. Windows Update 서비스 중지...
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

echo 2. 캐시 폴더 이름 변경 (백업)...
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old

echo 3. Windows Update 서비스 다시 시작...
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

echo 4. 시스템 파일 검사 및 복구 시작 (DISM)...
DISM /Online /Cleanup-Image /RestoreHealth

echo 5. 시스템 파일 검사 시작 (SFC)...
sfc /scannow

echo ================================
echo 작업 완료! 시스템을 재부팅한 후 Windows Update를 다시 시도해보세요.
pause

첨부파일

댓글목록

INJU님의 댓글

INJU 작성일

내용이야 다 아는것이라 별 감흥이 없지만, 머랄가 정리는 그래 니가 나보다 한 수 위인거 맞네.

Copyright 2019-2021 © 에티테마