VK Cloud logo

Installing the Windows vGPU driver and configuring the licensing token

After completing this instruction, the vGPU driver will be installed and the licensing token will be configured.

The vGPU driver does not support updates. To change its version, first remove it, and then install it again by repeating the steps in this instruction.

Preparation steps

  1. Check your VM's configuration type:

    1. Go to your VK Cloud personal account.
    2. Go to Cloud ComputingVirtual Machines.
    3. In the list, find the VM for which you need to install the vGPU driver. Make sure the Type column shows a vGPU configuration flavor.
  2. Connect the VM to an external network if you haven't done so already.

  3. Connect to the VM with vGPU.

1. Install the vGPU driver

  1. Download the NVIDIA® GRID driver.

  2. Run the file and follow the installer's instructions.

  3. Reboot the VM.

  4. (Optional) Check that the driver works:

    1. Press WIN + X.

    2. Select Device Manager.

    3. Double-click Display adapters.

    4. Make sure the GPU device is listed.

    5. In the command prompt or PowerShell, run:

      nvidia-smi

      If the driver works correctly, the output will show the vGPU of your configuration.

2. Configure the licensing token

  1. Download the licensing script and run it.

    A window with a command interface will appear and close almost immediately. The script has now finished running.

  2. Check the licensing configuration using the command prompt or PowerShell:

    1. Make sure the licensing token file exists:

      dir "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\"
    2. Request information from nvidia-smi:

      nvidia-smi -q
    3. Make sure License Status in the vGPU Software Licensed Product section shows Licensed.

  3. (Optional) Configure automatic licensing token verification at system startup.

    You can configure automation using Cloudbase-Init or the built-in Windows startup mechanism.

    1. Copy the script file to a dedicated directory:

      C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts
    2. Open the cloudbase-init.conf configuration file in a text editor:

      C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf
    3. Check that the plugins field includes the local scripts plugin:

      plugins = cloudbaseinit.plugins.windows.localscripts.LocalScriptsPlugin

      If it's missing, add it. If there are several plugins, list them separated by commas.

    4. Save the file and restart the cloudbase-init service. To do this, run the following commands in the command prompt or PowerShell:

      net stop cloudbase-initnet start cloudbase-init
Was this article helpful?