In R77.x and earlier, you can do this with EmergenDisk: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...
The SK has conflicting information about R80, but if you can still log into SmartConsole, it's possible to reset the admin password for the OS without EmergenDisk.
Here's the process:
- Generate the password hash you need using the following command on a Linux system: openssl passwd -1 mypassword (Note: if on a Check Point appliance, use cpopenssl instead)
- In SmartConsole, right-click on the management object and select Scripts > One-Time Script
- Type the following into the script field and click Run:
clish -c 'set user admin password-hash mypasswordhash'
clish -c 'save config'
(Note be sure to use single quotes here and replace mypasswordhash with the hash from step 1).