
답변1
공식적인 Microsoft 방식:
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /V "StateFlags0000" /T REG_DWORD /D "2" /F
cleanmgr.exe /SAGERUN:0
로그 파일은 다음 위치에 있습니다.
C:\Windows\System32\LogFiles\setupcln\setupact.log
C:\Windows\System32\LogFiles\setupcln\setuperr.log
C:\Windows\Logs\DISM\dism.log
C:\Windows\Logs\CBS\CBS.log
DISM도 옵션일 수 있습니다.
dism.exe /online /cleanup-image /startcomponentcleanup /resetbase