Setup, Best Practices, Use
Overview
GPU drivers do not need to be directly installed on the template VMs. Instead, customers can stage the drivers on the template, allowing them to be installed via WsSetupComplete during the Workspot VM desktop provisioning process.
Prerequisites
- A Template VM 
- GPU driver 
Configuration
- Access the GPU Template VM via RDP. 

- After logging in, enable the display of hidden folders in Windows Explorer. 

- 3) Download the latest GPU drivers from Microsoft. Select the latest version (version may differ from below) - NVIDIA GPU drivers: Azure N-series NVIDIA GPU driver setup for Windows - Azure Virtual Machines\ .png?sv=2022-11-02&spr=https&st=2025-10-30T23%3A55%3A13Z&se=2025-10-31T00%3A06%3A13Z&sr=c&sp=r&sig=ffNltbJj8l8cmKIwr%2BElhnKHCFT435agMomKBOPfjec%3D) 
- AMD GPU drivers: Azure N-series AMD GPU driver setup for Windows - Azure Virtual Machines 
 
.png?sv=2022-11-02&spr=https&st=2025-10-30T23%3A55%3A13Z&se=2025-10-31T00%3A06%3A13Z&sr=c&sp=r&sig=ffNltbJj8l8cmKIwr%2BElhnKHCFT435agMomKBOPfjec%3D)
- Download the latest compatible drivers 
- Navigate to C:\ProgramData\WorkspotAgent\Config and save the NVIDIA or AMD GPU driver. 

- For the NVIDIA GPU driver, create a text file named WsSetupComplete.cmd with the following commands (update filename with current file name) 
START /MIN /wait "NVIDIA Setup" "C:\ProgramData\WorkspotAgent\Config\412.16_grid_win10_server2016_64bit_international.exe" /s /noreboot /clean
@echo Finshed installing NVIDIA at %time%- For the AMD GPU driver, create a text file named WsSetupComplete.cmd with the following commands (update filename with current file name) 
START /MIN /wait "AMD Setup" "C:\ProgramData\WorkspotAgent\Config\AMD-Azure-NVv4-Driver-21Q2-1.exe" /s /noreboot /clean
@echo Finished installing AMD at %time%- Save file as WsSetupComplete.cmd in C:\ProgramData\WorkspotAgent\Config 

- GPU drivers are now staged on the template VM and will be installed when a virtual desktop is provisioned from the template. 
- Once the drivers are staged on the template VM and any other software installs or customizations are completed, preview or publish the template from Control. 
