<link href="/user/plugins/datatables/assets/datatables.min.css" type="text/css" rel="stylesheet"> <link href="/user/plugins/markdown-notices/assets/notices.css" type="text/css" rel="stylesheet"> <link href="/user/plugins/form/assets/form-styles.css" type="text/css" rel="stylesheet"> <link href="/user/plugins/simplesearch/css/simplesearch.css" type="text/css" rel="stylesheet"> <link href="/user/plugins/highlight/css/default.css" type="text/css" rel="stylesheet"> <link href="/user/plugins/login/css/login.css" type="text/css" rel="stylesheet"> <link href="/user/themes/imagefactory/css/components.min.css" type="text/css" rel="stylesheet"> <link href="/user/themes/imagefactory/css/otc.css" type="text/css" rel="stylesheet"> <script src="/user/themes/imagefactory/js/jquery.min.js"></script> <script src="/user/plugins/datatables/assets/datatables.min.js"></script> <script src="/user/plugins/highlight/js/highlight.pack.js"></script> <script src="/user/themes/imagefactory/js/components.min.js"></script> <script src="/user/themes/imagefactory/js/totop.js"></script> <script> hljs.initHighlightingOnLoad(); </script>
Brand Claim Brand Claim
by Eichhorn, Andreas

NVIDIA Windows Driver Installation and Update with Chocolatey

<h2>General Information</h2> <p>Windows Server require NVIDIA grid drivers for graphic operations. These drivers require additional licensing and are not publicly available. On our OTC platform these drivers are provided as Chocolatey packages. Currently Chocolatey servers are available in region eu-de and eu-nl only:</p> <table> <thead> <tr> <th>region:</th> <th>URL</th> <th>IPs</th> </tr> </thead> <tbody> <tr> <td>eu-de</td> <td>https://chocolatey.eu-de.otc-service.com</td> <td>198.19.59.146 <br> 198.19.43.76 <br> 198.19.37.98</td> </tr> <tr> <td>eu-nl</td> <td>https://chocolatey.eu-nl.otc-service.com</td> <td>198.19.60.202</td> </tr> </tbody> </table> <p>NVIDIA publishes regularly updates with security fixes - see <a href="https://www.nvidia.com/en-us/security/">https://www.nvidia.com/en-us/security/</a>. After new NVIDIA driver release the Chocolatey packages are updated and published on our Chocolatey servers. The update on the customer ECS / BMS must be performed manually. Only the Long-Term Support driver is provided, currently R535 - see <a href="https://docs.nvidia.com/vgpu/index.html">https://docs.nvidia.com/vgpu/index.html</a>.</p> <h2>Installation of Chocolatey Client</h2> <p>Chocolatey Client is part of public Windows images from November 2024. On Servers deployed from older images the Chocolatey client must be installed manually. MS Windows Server 2019 and before requires .net 4.8 additionally and requires an additional reboot.</p> <p>Installation can be done with these commands:</p> <pre><code># define chocolatey server of your region $ChocoServer = 'chocolatey.eu-de.otc-service.com' # $ChocoServer = 'chocolatey.eu-nl.otc-service.com' # test network connection to Chocolatey server if ( ! (Test-NetConnection $ChocoServer -port 80).TcpTestSucceeded ) { Write-Error "Error: no connetation to ChocoServer: $ChocoServer" pause Exit 1 } # check for pending reboots if (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") { Write-Error "A reboot is required. `n If you encounter errors, reboot the system and attempt the operation again" pause Exit 1 } # install .net 4.8 - if not allready done if ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" -ErrorAction SilentlyContinue).Release -lt 528040) { $DownloadFile = 'ndp48-x86-x64-allos-enu.exe' $url = "http://$ChocoServer/$DownloadFile" $outpath = "$env:temp\$DownloadFile" Invoke-WebRequest -Uri $url -OutFile $outpath Start-Process -Filepath $outpath -ArgumentList "/q /norestart" -wait start-sleep 10 Remove-Item $outpath -ErrorAction SilentlyContinue } # check for pending reboots if (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") { Write-Error "A reboot is required. `n If you encounter errors, reboot the system and attempt the operation again" pause Exit 1 } # download and install the client - if not already done Set-ExecutionPolicy Bypass -Scope Process -Force iex ((New-Object System.Net.WebClient).DownloadString("http://$ChocoServer/install.ps1")) # show available pachages choco find --source="http://$ChocoServer/chocolatey" </code></pre> <h2>NVIDIA Driver Installation</h2> <p>If last installation of NVIDIA driver was <strong>not</strong> done with Chocolatey, it must be installed with these commands:</p> <pre><code># define chocolatey server of your region $ChocoServer = 'chocolatey.eu-de.otc-service.com' # $ChocoServer = 'chocolatey.eu-nl.otc-service.com' # install latest NVIDIA driver choco install otcnvidiadriver --source="http://$ChocoServer/chocolatey" # optional - force reinstallation of latest NVIDIA driver choco install otcnvidiadriver -y --force --source="http://$ChocoServer/chocolatey" </code></pre> <h2>NVIDIA Driver Upgrade</h2> <p>If last installation of NVIDIA driver was done with Chocolatey, it can be updated with these commands:</p> <pre><code># define chocolatey server of your region $ChocoServer = 'chocolatey.eu-de.otc-service.com' # $ChocoServer = 'chocolatey.eu-nl.otc-service.com' # upgrade specific chocolatey package (if already installed) choco upgrade otcnvidiadriver -y --source="http://$ChocoServer/chocolatey" # optional - upgrade all chocolatey packages choco upgrade all -y --source="http://$ChocoServer/chocolatey"</code></pre> <h2>NVIDIA Driver Licensing</h2> <p>For licensing the driver install Chocolatey package OTCnvidialicense - For details see <a href="https://imagefactory.otc.t-systems.com/home/new-nvidia-license-server-dls-3-1">https://imagefactory.otc.t-systems.com/home/new-nvidia-license-server-dls-3-1</a>. </p> <pre><code># define chocolatey server - choose the right one for your region $ChocoServer = 'chocolatey.eu-de.otc-service.com' # $ChocoServer = 'chocolatey.eu-nl.otc-service.com' # install chocolatey package choco install OTCnvidialicense --source="http://$ChocoServer/chocolatey" # optional - force reinstallation chocolatey package and confirm all messages automatically choco install OTCnvidialicense -y --force --source="http://$ChocoServer/chocolatey"</code></pre>