Catroot and Catroot2 are the essential Windows OS folders which are required while Windows Updates process. If you are facing the problem while updating your Windows, then you can reset Catroot2 folder and the issues will probably be fixed out.
Microsoft strongly recommends to avoid deleting or renaming Catroot folder because it will not be recreated by Windows. On the other hand you can delete the contents of Catroot2 folder as it will be automatically recreated by Windows. Catroot2 folder contains the signatures of Windows Update package and allows it to be installed.
The file %windir%\System32\catroot2\edb.log is updated by Windows Cryptographic Services. If you want to reset Catroot2 folder, you need to stop cryptographic services first. All the Windows Updates are stored in SoftwareDistribution folder under %windir%\ .
To Reset Catroot2 Folder in Windows
Right click on the Start button and select Command Prompt (Admin) to launch the elevated Command Prompt on your Windows PC.
Now run the below given commands one by one.
net stop cryptsvc
Description: This command will stop cryptographic services.
Description: This command will create Catroot2.old folder under %windir%\System32\. You can also check this folder to verify.
xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s
Description: The above command copies all the files of Catroot2 folder to Catroot2.old
Now delete all the contents of Catroot2 folder.
After deleting Catroot2 folder contents, type the below given command and hit Enter key.
net start cryptsvc
Description: This command will start the cryptographic services again.
Also read: How to Disable Windows 10 Update
When you start Windows Update, the Catroot2 folder will be reset automatically. You can also create this folder manually if you find that is not created by Windows. Do keep in mind if you create this folder manually, it should be under the same path (%windir%\System32\) and you need to restart the PC before starting Windows updates. If you find any problem, write to us in the comment section. We will assist you in every manner.