I am working on some method to protect my software with a license. Doing some wmi calls to uniquely distinguish computers and making sure there cannot be loaded multiple instances of the application.
I came to think though when the application is installed on a virtual machine (MS Virtual PC, VMWare, Virtual Box etc.) and licensed on that - would it is possible to clone the Virtual PC and then start multiple instances of the virtual PC on the same physical PC and still distinguesh the virtual PC's hardware (or other different) information from eachother?
Untill now I've looked a lot for wmi call's info differences and it seems like they are totally identical (I've checked two clones of the same pc image using Microsoft Virtual PC).
VMware allows users to create either a clone or a snapshot of a virtual machine. A snapshot preserves the current state of a virtual machine, copying the VM's disk file. It is used for backup purposes.
Manually changing the UUID of a virtual machine If possible, use the UUIDScript.plto change duplicated UUID numbers. Power off the virtual machine whose UUID you are going to change. Edit the virtual machine's configuration file (. vmx ).
Is there an easy way to know if a VM is a linked clone of another one? For a linked clone, you'll find a line "CloneOf" with the parent/master information in the GUI (Virtual Machine Details), and you can also see this entry in the VM's . vmsd file.
VMware HA and DRS are each able to provide availability for VMs. The main difference between the two technologies is that VMware designed DRS to work in clustered environments, while HA enables admins to protect their VMs without having to deal with the cost or complexity of a failover cluster.
you could also try using hostid or combination of MAC and IP. like it or not MAC and IP addresses have to be different for VMs as well. Just bit cumbersome to generate keys based on IP/MAC for every instance, but if you could automate that, it might be a solution.
You should look at something like iLok, a hardware USB key for software licensing and protection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With