Catroot and catroot2 are Windows operating system folders that are required for the Windows Update process. When you run Windows Update, the catroot2 folder stores the signatures of the Windows Update package and helps in its installation.
The Cryptographic service makes use of the %windir%\System32\catroot2\edb.log file for the updating process. The updates are stored in the SoftwareDistribution folder which are then used by Automatic Updates to carry out the updating process.
Resetting or deleting the contents pf the catroot2 folder has been known to fix several Windows Update problems.
If you receive a Access Denied or The action can t be completed because the folder or a file in it is open in another program message when you go on to delete the catroot2 folder, it ii possible because the Cryptographic service is making use of the log file.
Reset catroot2 folder in Windows 11/10
To reset the catroot2 folder do this:
Open an elevated Command Prompt, type the following command one after the other and hit Enter:
net stop cryptsvc
xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s
Next, delete all the contents of the catroot2 folder.
Having done this, in the CMD windows, type the following and hit Enter:
net start cryptsvc
Your catroot folder will be reset, once you start Windows Update again.
TIP: Our portable freeware FixWin allows you to reset this and most other Windows settings or functions with a single click.
NOTE: Please do not delete or rename the Catroot folder. The Catroot2 folder is automatically recreated by Windows, but the Catroot folder is not recreated if the Catroot folder is renamed.
If you find that the catroot or catroot2 folder is missing or does not recreate if you accidentally deleted it, you can create a new folder with this name in the System32 folder, restart your computer and then run Windows Update.
Why can’t I rename Catroot2 folder?
Catroot2 folder is required by Windows for the Update process. If issues occur while installing Windows Updates, renaming this folder can fix the problem. You cannot rename this folder until the Windows Update, Cryptographic, and Background Intelligent Transfer services are running. Hence, if you want to rename Catroot2 folder, stop these three services first. After renaming the folder, you can start these services again.
Is it safe to delete Catroot2 folder?
Catroot2 folder is required by Windows for installing updates. Deleting the contents of the Catroot2 folder helps fix Windows Update issues. If you delete it, Windows will create it automatically. However, we never recommend you delete the Catroot2 folder. Instead of deleting it, you can delete its contents.
Want to learn more about the following folders?