The .dll is not hacked.
The registry modification can also be done through the group policy mmc, via Microsoft's own interface, it is not hidden.
In terms of licensing, if it is illegal, then I don't recommend it. Keep in mind that by this reasoning, VNC is illegal as well.