Manage Licenses Offline
Purchased Crestron Virtual Control licenses can be managed offline via the USB‑OFFLINE dongle as described in the following procedures.
IMPORTANT! Any existing Crestron Virtual Control licenses within the XiO Cloud service cannot be converted to offline licenses. If switching your Crestron Virtual Control installation from online to offline licensing mode, new room and/or BACnet licenses must be purchased.
NOTE: The USB-OFFLINE dongle must be connected to the VC‑4‑PC‑3 or the host running VC‑4 at all times. If the USB‑OFFLINE dongle is removed, all licensed rooms will stop, licensed BACnet objects will no longer function, and an error message will be displayed within the web configuration interface indicating that there is no dongle detected.
Configure Offline Licensing Mode
Each Crestron Virtual Control installation that will use offline licensing requires the purchase of one USB‑OFFLINE dongle. Once all Crestron Virtual Control licenses and the USB-OFFLINE have been purchased, the offline license mode must be configured using the provided license utility or through the web configuration interface.
To configure your Crestron Virtual Control installation for offline licensing:
- Order your Crestron Virtual Control room license(s), BACnet licenses (if needed) and one USB‑OFFLINE dongle per VC‑4 server or VC‑4‑PC‑3.
- For Crestron Virtual Control installations licensed through the XiO Cloud service, remove all existing licenses as described in the XiO Cloud Service User Guide.
- Upgrade the VC-4 software to version 4.0000.00057 or later. This is the minimum version that supports offline licensing and includes the license utility.
- To upgrade software for the VC-4 server, refer to Upgrade or Downgrade Crestron Virtual Control.
- To upgrade software for the VC-4-PC-3, refer to Upgrade or Downgrade the VC‑4‑PC‑3.
- Upon successful upgrade, restart the VC-4 server or VC-4-PC-3.
- Connect the USB-OFFLINE dongle into an available USB port on the VC-4-PC-3 or make it available on the host running VC-4.
- Switch the license mode using one of the following methods.
- To use the web configuration interface:
- Access the web configuration interface as described in Web Configuration.
- Open the Settings tab and then expand the Licenses accordion.
- Select Offline Dongle from the License Mode drop-down menu.
- When prompted, select Yes confirm the selection.
- To use the licenseUtility.sh script:
- Open a new terminal window.
- (VC-4 server only) Change directories to /[VirtualControlHome]/scripts, where [VirtualControlHome] is the home directory set during installation.
- Issue the following depending on your Crestron Virtual Control installation:
- For VC-4 servers, issue ./licenseUtility.sh.
- For the VC-4-PC-3, issue licenseUtility.sh.
- Issue switchmode 2 to switch the license mode from online (XiO Cloud) to offline.
- Issue exit to exit the utility, then issue sudo systemctl restart virtualcontrol in the terminal to restart the Crestron Virtual Control service.
NOTE: Each offline license key is matched to a unique system key. Therefore, a single USB‑OFFLINE dongle cannot be used by more than one Crestron Virtual Control installation at the same time, and multiple dongles cannot be used within a single Crestron Virtual Control installation.
NOTE: Ensure the VC-4 server or VC-4-PC-3 is online within XiO Cloud prior to removing your existing licenses.
The Crestron Virtual Control service restarts in the new license mode.
The licenseUtility.sh script opens the license utility with the following options:
help - Lists the help menu
getlicenseinfo - Shows the current license information
getmode - Gets the current license mode
switchmode [1 | 2] - Switches the current license mode to XiO Cloud (1) or Offline (2) licensing
addlicense [LICENSEKEY] - Adds license into control system. User must pass the "LICENSEKEY"
dellicense - Deletes the current license from the control system
exit - Exits this utility
NOTE: All Crestron Virtual Control installations are placed in online license mode by default.
Request an Offline License Key
Once the offline license mode has been configured, a license key must then be requested that allows the Crestron Virtual Control installation to validate its licenses offline. Offline license keys are tied to a specific VC-4 system key and number of room licenses or BACnet licenses. If room licenses or BACnet licenses need to be added to a Crestron Virtual Control installation, a new offline license key must be requested.
NOTE: Room licenses and BACnet licenses do not share an offline license key. For Crestron Virtual Control installations that require both license types, two unique offline license keys must be requested and applied.
- Ensure the USB-OFFLINE dongle is connected to the VC-4-PC-3 or the host running VC-4 and that offline licensing mode has been configured as described in Configure Offline Licensing Mode.
- Obtain the VC-4 system key using one of the following methods. The system key will be required in the next step.
- To use the web configuration interface:
- Access the web configuration interface as described in Web Configuration.
- Open the Settings tab and then expand the Licenses accordion.
- Record or use the copy button
to copy the value provided in the System Key text field.
- To use the licenseUtility.sh script:
- Open a new terminal window.
- (VC-4 server only) Change directories to /[VirtualControlHome]/scripts, where [VirtualControlHome] is the home directory set during installation.
- Issue the following depending on your Crestron Virtual Control installation:
- For VC-4 servers, issue ./licenseUtility.sh.
- For the VC-4-PC-3, issue licenseUtility.sh.
- Issue getlicenseinfo , and then record the value listed for System Key.
- Fill out and submit the offline licensing form to request an offline license key from Crestron.
- When requesting a new offline license key, the following information is required:
- The VC-4 system key (obtained using the license mode utility or web configuration interface as described in step 2 above)
- The number of purchased room or BACnet licenses
- The PO (Purchase Order) number for the room licenses or BACnet licenses
- The USB-OFFLINE dongle serial number (located on the dongle or on its packaging)
- When updating an existing offline license key, the following information is required:
- The VC-4 system key (obtained using the license mode utility or web configuration interface as described in step 2 above)
- The number of additional room licenses or BACnet licenses purchased
- The PO (Purchase Order) number for the new room licenses or BACnet licenses
- The USB-OFFLINE dongle serial number (located on the dongle or on its packaging)
- The current offline license key
- The current number of room licenses or BACnet licenses (located within the Licenses status accordion in the VC-4 web configuration interface)
The licenseUtility.sh script opens the license mode utility with the following options:
help - Lists the help menu
getlicenseinfo - Shows the current license information
getmode - Gets the current license mode
switchmode [1 | 2] - Switches the current license mode to XiO Cloud (1) or Offline (2) licensing
addlicense [LICENSEKEY] - Adds license into control system. User must pass the "LICENSEKEY"
dellicense - Deletes the current license from the control system
exit - Exits this utility
Crestron will send the offline license key via email once the request has been processed. The offline license key must then be applied to the Crestron Virtual Control installation as described in Apply the Offline License Key.
Apply the Offline License Key
Once an offline license key has been obtained as described in Request an Offline License Key, it must be applied to your Crestron Virtual Control installation using the provided license utility.
To apply the offline license key:
- Ensure the USB-OFFLINE dongle is connected to the VC-4-PC-3 or the host running VC-4 and that offline licensing mode has been configured as described in Configure Offline Licensing Mode.
- Apply the offline license key using one of the following methods.
- To use the web configuration interface:
- Access the web configuration interface as described in Web Configuration.
- Open the Settings tab and then expand the Licenses accordion.
- Enter the license key provided by Crestron into the License Key text field.
- Select Add. The provided licenses are populated in the table below this setting automatically.
- To use the licenseUtility.sh script:
- Open a new terminal window.
- (VC-4 server only) Change directories to /[VirtualControlHome]/scripts, where [VirtualControlHome] is the home directory set during installation.
- Issue the following depending on your Crestron Virtual Control installation:
- For VC-4 servers, issue ./licenseUtility.sh.
- For the VC-4-PC-3, issue licenseUtility.sh.
- Issue addlicense [licensekey], where [licensekey] is the offline license key provided by Crestron.
- Issue exit to exit the utility.
- To ensure all licensed rooms are started immediately, issue sudo systemctl restart virtualcontrol to restart the Crestron Virtual Control service.
The licenseUtility.sh script opens the license mode utility with the following options:
help - Lists the help menu
getlicenseinfo - Shows the current license information
getmode - Gets the current license mode
switchmode [1 | 2] - Switches the current license mode to XiO Cloud (1) or Offline (2) licensing
addlicense [LICENSEKEY] - Adds license into control system. User must pass the "LICENSEKEY"
dellicense - Deletes the current license from the control system
exit - Exits this utility