hello.
the quickest and easiest way is to reinstall from scratch, make sure the ESXi server is physically disconnected from any shared storage.
Check the contents of the ESXi server's internal datastore for VMs, ISO images or any other useful data.
Write and save the ESXi server data such as name, ip address, license and other data that will be useful when you reinstall the server.