https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpconfig-can-not-get-CPDIR-from-the-registry/m-p/93741
Solved: Re: cpconfig: can not get CPDIR from the registry - Check Point CheckMates
Aug 24, 2020 - Hello, and thanks for your replies! ps: : We do not had any .corrupt file in $CPDIR/registry