You can set up Tosibox Key accessible from host OS to your virtual environment following the instructions below.
Download the instructions for Hyper-V environment here.
Download the instructions for Oracle VirtualBox environment here.
Alternatively, you can set up a SoftKey to run in your VM. See SoftKey related articles for more information.