How to find the Machine ID on a VM?

We got a license and it says it is valid but when we try and fire it up and it says we have sessions already running. We have never had it successfully fire up so how can we have sessions running ??? How can we stop everything and then fire up the good license.