Jump to content

Hello,

 

I need to recover the license key on an ESXi host that nobody knows the password to.  Conveniently, the guy who documented the keys no longer works here (this company is clearly, super awesome).

 

Is there any way to mount the vmkcore into Linux to retrieve that, or something similar?

PC : 3600 · Crosshair VI WiFi · 2x16GB RGB 3200 · 1080Ti SC2 · 1TB WD SN750 · EVGA 1600G2 · Define C 

Link to comment
https://linustechtips.com/topic/979918-extracting-esxi-licence/
Share on other sites

Link to post
Share on other sites

9 minutes ago, beersykins said:

Hello,

 

I need to recover the license key on an ESXi host that nobody knows the password to.  Conveniently, the guy who documented the keys no longer works here (this company is clearly, super awesome).

 

Is there any way to mount the vmkcore into Linux to retrieve that, or something similar?

What version of ESXi? Extreme long shot but if its' 4.x or less you can reset the root password, if not well, RIP.

 

Can you not just log a support case with VMware to get access to the license portal for the company, then you can view the license key there.

Link to comment
https://linustechtips.com/topic/979918-extracting-esxi-licence/#findComment-11826484
Share on other sites

Link to post
Share on other sites

5.5, I guess VMware only suggests a re-installation but I found that's not quite accurate.

 

I was able to grab it mounting on a live debian system, a few of the partitions for ESXi are FAT16, config items such as passwd/shadow and the configuration pieces are stored under state.tgz.

 

Cleared the password field out of shadow and was able to log in after re-tarring the archive and rebooting into esxi, but also the /etc/vmware/vmware.lic provides the license key from the livecd side, so great success :D

 

Thanks for the quick reply.

 

PC : 3600 · Crosshair VI WiFi · 2x16GB RGB 3200 · 1080Ti SC2 · 1TB WD SN750 · EVGA 1600G2 · Define C 

Link to comment
https://linustechtips.com/topic/979918-extracting-esxi-licence/#findComment-11826573
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×