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.
-
Check your VM's configuration type:
- Go to your VK Cloud personal account.
- Go to Cloud Computing → Virtual Machines.
- 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.
-
Connect the VM to an external network if you haven't done so already.
-
Connect to the VM with vGPU.
-
Download the NVIDIA® GRID driver.
-
Run the file and follow the installer's instructions.
-
Reboot the VM.
-
(Optional) Check that the driver works:
-
Press WIN + X.
-
Select Device Manager.
-
Double-click Display adapters.
-
Make sure the GPU device is listed.
-
In the command prompt or PowerShell, run:
nvidia-smiIf the driver works correctly, the output will show the vGPU of your configuration.
-
-
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.
-
Check the licensing configuration using the command prompt or PowerShell:
-
Make sure the licensing token file exists:
dir "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\" -
Request information from
nvidia-smi:nvidia-smi -q -
Make sure
License Statusin thevGPU Software Licensed Productsection showsLicensed.
-
-
(Optional) Configure automatic licensing token verification at system startup.
You can configure automation using Cloudbase-Init or the built-in Windows startup mechanism.
Cloudbase-InitStartup folder-
Copy the script file to a dedicated directory:
C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts -
Open the
cloudbase-init.confconfiguration file in a text editor:C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf -
Check that the
pluginsfield includes the local scripts plugin:plugins = cloudbaseinit.plugins.windows.localscripts.LocalScriptsPluginIf it's missing, add it. If there are several plugins, list them separated by commas.
-
Save the file and restart the
cloudbase-initservice. To do this, run the following commands in the command prompt or PowerShell:net stop cloudbase-initnet start cloudbase-init
-