Enterprise IT Solutions/Microsoft

2012 R2 및 이전 버전의 Windows Server에서 Disk Cleanup 사용하기

iseop 2022. 1. 16. 21:19   인쇄용 버전

 

2012 R2 버전과 그 이전 버전의 윈도우 서버에서는 Desktop Experience 피쳐를 설치하지 않은 경우 Disk Cleanup (cleanmgr.exe) 유틸리티도 설치가 되지 않습니다. 이유는 알수가 없지만 필요할 때 아래와 같이 파일을 복사하여 사용하면 된다고 합니다.

 

Copy-Item %systemroot%\WinSxS\amd64_microsoft-windows-cleanmgr*\cleanmgr.exe %systemroot%\System32\
Copy-Item %systemroot%\WinSxS\amd64_microsoft-windows-cleanmgr.resources*en-us*\cleanmgr.exe.mui %systemroot%\System32\en-US\

 

 

참고

 

Using Disk Cleanup on Windows Server

Learn how to use command-line options to configure the Disk Cleanup tool (Cleanmgr.exe) to automatically clean up certain files.

docs.microsoft.com