- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
Hello,
Does anybody know a way bulk delete or clean the lic db on a MDS?
We have lics that have replicated 39000 time due to an error that was caused by an auto-licensing issue on Check Points backend.
I can only see I can delete one at a time, and that's gonna take 6 years, alternatively I will reinstall the whole thing.
Open a support ticket with TAC on licensing, they will help you to clean up the database , then import support contracts again.
Don't try anything stupid... don't wanna cry.
Thanks, already tried that, they cant help, I think I will reinstall it on a new VM.
Hi,
If they all have the same signature, maybe one command will remove them all.
If this doesn't work, you can create a script get all signatures in the server to a file and run "cplic del <signature>" in a loop. If all the licenses are identical you can cut the loop short by 1 iteration or remove relevant string from file.
unfortunatly not the same signature, the script part might work, but its still a lot of work to pull out all the signatures
Example: cplic print -x | awk '{print $3}' > licenses.txt
Thanx, I will try this.
Let us know if it works.
Andy
Just curious, what sort of licences would that command remove?
Best,
Andy
That will put all signature in a file, each signature in its own line.
I created a loop for the file to run "cplic del $(cat <filename> | head -1)" for the number of lines in file and remove first line.
Got it, thank you!
Very neat, just tested it on my Azure lab.
Andy
[Expert@azurefw:0]# cplic print -x | awk '{print $3}' > licenses.txt
[Expert@azurefw:0]# more licenses.txt
Signature
dM7FLELPxQSEBZSPr9UBLPrS7sYa9Z878n8j
Expiration
XTPC0EZ
CPSB-FW
4O5ZRLS
CPSB-FW
RIAM3XA
CPSB-FW
KPQ5A3P
CPSB-FW
DB4BQMP
CPSB-FW
[Expert@azurefw:0]#
Thanks for the feed back, I think something else i wrong I get "Failed to delete license", I will contact TAC again.
Maybe also check with Account services, they might be also able to help.
Andy
I tried, but no luck. thanks.
What did they say?
We appreciate your response.
I wanted to clarify that this is not a mistake of any specific person or team. This was an auto-generation license error, as previously stated.
Unfortunately, Account Services does not currently have any syntax from our development department that would allow us to immediately delete a large amount of licenses. The maximum amount our licensing expert has determined you may delete at one time is the 100 instances I provided in the previous email.
If you would like to speak with your security engineer and attempt to find an alternate way to delete licenses at once, please feel free to do so. We understand that the provided process will take some time and apologize for the inconvenience.
Please let me know if you have any further questions or concerns regarding this matter.
And then they closed the case
Thats unfortunate, but I get it...could Sales person assist more?
Andy
Licenses are stored in $CPDIR/conf/cp.license.
Each license is a single line.
I believe you can manipulate this file directly (make backups, etc before doing so) on each affected module.
You will need to execute a cprestart after editing this file (best to do via maintenance window).
Thanks, I will try that
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 |
Thu 18 Sep 2025 @ 03:00 PM (CEST)
Bridge the Unmanaged Device Gap with Enterprise Browser - EMEAThu 18 Sep 2025 @ 02:00 PM (EDT)
Bridge the Unmanaged Device Gap with Enterprise Browser - AmericasMon 22 Sep 2025 @ 03:00 PM (CEST)
Defending Hyperconnected AI-Driven Networks with Hybrid Mesh Security EMEAMon 22 Sep 2025 @ 02:00 PM (EDT)
Defending Hyperconnected AI-Driven Networks with Hybrid Mesh Security AMERThu 18 Sep 2025 @ 03:00 PM (CEST)
Bridge the Unmanaged Device Gap with Enterprise Browser - EMEAThu 18 Sep 2025 @ 02:00 PM (EDT)
Bridge the Unmanaged Device Gap with Enterprise Browser - AmericasMon 22 Sep 2025 @ 03:00 PM (CEST)
Defending Hyperconnected AI-Driven Networks with Hybrid Mesh Security EMEAAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY