Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unique Virtual Machine [duplicate]

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).

like image 732
Henrik Avatar asked Jan 27 '10 12:01

Henrik


People also ask

Can you clone a virtual machine?

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.

Can you change the UUID of a VM?

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 ).

How can I tell if my virtual machine is cloned?

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.

What is the difference between HA and DRS?

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.


2 Answers

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.

like image 155
rytis Avatar answered Oct 23 '22 03:10

rytis


You should look at something like iLok, a hardware USB key for software licensing and protection.

like image 36
Viktor Jevdokimov Avatar answered Oct 23 '22 05:10

Viktor Jevdokimov