Computer >> 컴퓨터 >  >> 시스템 >> Windows

Catroot와 Catroot2 폴더란? Windows 10에서 catroot2 폴더 재설정하는 방법

CatrootCatroot2는 Windows 운영체제에서 Windows Update 프로세스에 필수적인 시스템 폴더입니다. Windows Update를 실행하면 catroot2 폴더에 업데이트 패키지의 서명 정보가 저장되며, 이는 업데이트 설치 과정을 원활하게 돕습니다.

Catroot와 Catroot2 폴더란? Windows 10에서 catroot2 폴더 재설정하는 방법

암호화 서비스(Cryptographic Service)는 업데이트 과정에서 %windir%\System32\catroot2\edb.log 파일을 사용합니다. 업데이트 파일은 SoftwareDistribution 폴더에 저장되며, 자동 업데이트 기능이 이 폴더의 파일을 활용해 업데이트 작업을 수행합니다.

catroot2 폴더의 내용을 초기화하거나 삭제하면 다양한 Windows Update 오류를 해결할 수 있는 것으로 알려져 있습니다.

만약 catroot2 폴더를 삭제하려고 할 때 액세스가 거부되었습니다(Access Denied) 또는 다른 프로그램에서 사용 중입니다라는 메시지가 나타난다면, 암호화 서비스가 해당 로그 파일을 사용하고 있기 때문일 가능성이 높습니다.

catroot2 폴더 재설정 방법

catroot2 폴더를 재설정하려면 아래 단계를 순서대로 따르세요.

먼저 관리자 권한으로 명령 프롬프트를 실행한 후, 다음 명령어를 하나씩 입력하고 Enter 키를 누릅니다.

net stop cryptsvc
md %systemroot%\system32\catroot2.old
xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s

그다음 catroot2 폴더 안의 모든 내용을 삭제합니다.

삭제를 마쳤다면 명령 프롬프트 창에 아래 명령어를 입력하고 Enter 키를 눌러 서비스를 다시 시작합니다.

net start cryptsvc

이후 Windows Update를 다시 실행하면 catroot 폴더가 자동으로 재설정됩니다.

팁(TIP): 무료 포터블 유틸리티인 FixWin을 사용하면 이 기능은 물론 대부분의 Windows 설정과 기능을 클릭 한 번으로 간편하게 재설정할 수 있습니다.

Catroot와 Catroot2 폴더란? Windows 10에서 catroot2 폴더 재설정하는 방법

주의(NOTE): Catroot 폴더는 절대로 삭제하거나 이름을 변경하지 마세요. Catroot2 폴더는 Windows가 자동으로 다시 생성해 주지만, Catroot 폴더는 이름을 변경할 경우 자동으로 복구되지 않습니다.

실수로 삭제하여 catroot 또는 catroot2 폴더가 사라졌거나 다시 생성되지 않는 경우에는, System32 폴더 안에 같은 이름의 새 폴더를 직접 생성한 뒤 컴퓨터를 재시작하고 Windows Update를 실행하면 됩니다.

함께 알아두면 좋은 Windows 폴더

$SysReset 폴더 | $Windows.~BT & $Windows.~WS 폴더 | $WinREAgent 폴더 | WinSxS 폴더 | REMPL 폴더 | ProgramData 폴더 | System32 및 SysWOW64 폴더 | Panther 폴더

Catroot와 Catroot2 폴더란? Windows 10에서 catroot2 폴더 재설정하는 방법