Hello.
Attached is a link to a possible unofficial solution.
https://www.top-password.com/knowledge/reset-esxi-root-password.html
Another way is to reinstall ESXi with the option to keep the VMFS.
You will have to reconfigure the ESXi and manually register the VMs.
Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.