본문 바로가기
OS-OE Knowledge/Windows KB

Windows.old 강제 삭제

by 스쳐가는인연 2022. 9. 28.

Windows 10에서 Windows 11 업그레이드 후, 어떤 사유에서인지, Windows.old 파일의 일부가 삭제되지 않고 남아있다.

(분명 자동 삭제 된다고 했는데 ... 무서운 녀석들 ...)
해서 알려진 Disk 정리를 시도했지만 역시 안되고 ... 강제 삭제를 위해 찾아보니 역시 고수님이 알려주신 ...

1. 관리자 권한으로 Command 창 열기

2. 권한 취득
C:\> takeown /F C:\Windows.old\* /R /A /D Y
C:\> cacls C:\Windows.old\*.* /T /grant administrators:F

3. 강제 삭제
C:\> rd /s C:\Windows.old

takeown
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/takeown

cacls
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cacls

rd
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/rd

출처: https://zkim0115.tistory.com/477

 

 

 

 

 

 

반응형