Hi @Tung Le ,
You can try PowerShell script to export the templates - export-and-import-certificate-templates-with-powershell.aspx , import the PKI module as per the steps and try to export the templates.
or try this command from administrator cmd - Certutil –catemplates > C:\Backup\CATemplates.csv
disaster-recovery-procedures-for-active-directory-certificate-services-adcs
Hope this helps.
JS
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.