Downloads:

2,021,108

Downloads of v 517.48:

7,951

Last Update:

28 Sep 2022

Package Maintainer(s):

Software Author(s):

  • NVIDIA

Tags:

graphics card driver geforce nvidia admin

NVidia Display Driver

  • 1
  • 2
  • 3

517.48 | Updated: 28 Sep 2022

Downloads:

2,021,108

Downloads of v 517.48:

7,951

Maintainer(s):

Software Author(s):

  • NVIDIA

  • 1
  • 2
  • 3
NVidia Display Driver 517.48

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

This package requires NVidia hardware, and cannot pass the validator

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install NVidia Display Driver, run the following command from the command line or from PowerShell:

>

To upgrade NVidia Display Driver, run the following command from the command line or from PowerShell:

>

To uninstall NVidia Display Driver, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade nvidia-display-driver -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade nvidia-display-driver -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install nvidia-display-driver
  win_chocolatey:
    name: nvidia-display-driver
    version: '517.48'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'nvidia-display-driver' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '517.48'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller nvidia-display-driver
{
    Name     = "nvidia-display-driver"
    Version  = "517.48"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'nvidia-display-driver':
  ensure   => '517.48',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 28 Sep 2022.

Description

This package strips all components out of the upstream NVidia driver package except the following:

  • Display.Driver
  • Display.Optimus
  • PhysX
  • HDAudio
  • USB-C driver

Package Parameters

The following package parameters can be set to enable optional display components:

  • /NV3DVision - Install 3DVision driver. Note: Nvidia has removed this from newer drivers.
  • /Nview - Install RTX Desktop Manager.
  • /ShadowPlay - Install ShadowPlay.
  • /FrameView - Install FrameView.
  • /MSVCRT - Install the nvidia-packaged 'vcredist140', which, at the time of writing (sept 2022) is an outdated version from 2019: 14.22.27821.0. I recommend installing chocolatey's vcredist140 instead.

Parameters can be passed to the installer with the use of --params.
For example: --params "'/ShadowPlay /Nview'".

To avoid confusion, DCH is now the default and only option.

If you need support for non display related components (Shield, Geforce Experience, ...), install the unaltered geforce-game-ready-driver instead.


tools\chocolateyInstall.ps1
$instDir    = "${ENV:TEMP}\nvidiainstall" # Folder to move desired components into
$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName    = 'nvidia-display-driver'
  destination    = "${ENV:TEMP}\nvidiadriver" # Folder to extract drivers
  url64          = 'https://us.download.nvidia.com/Windows/517.48/517.48-desktop-win10-win11-64bit-international-dch-whql.exe'
  checksum64     = '61f3770ff41a5b28e83274a1b75c4a02f0d3308ebb4d4df39d1158b7b658a406'
  checksumType64 = 'sha256'
  silentArgs     = '-s -noreboot'
  validExitCodes = @(0,1)
  softwareName   = 'NVIDIA Graphics Driver*'
}

If ( [System.Environment]::OSVersion.Version.Major -ne '10' ) {
  $packageArgs['url64']      = 'https://us.download.nvidia.com/Windows/473.81/473.81-desktop-win8-win7-64bit-international-whql.exe'
  $packageArgs['checksum64'] = '577c0f93857b807eb719f96bec0c82b797995a023bc80c7f0f306503fd83c4e5'
}

If ( -not (Get-OSArchitectureWidth -compare 64) ) {
  Write-Warning "NVIDIA has ended support for 32bit operating systems."
  Write-Warning "32 bit users should specify version 391.35."
  Write-Warning "Security patches for 32bit may be available on geforce.com"
  Write-Error "32 bit no longer supported."
}

# Remove any previous tempfiles
Remove-Item "$instDir" -Recurse -Force -ea 0
New-Item -Path "$instDir" -ItemType Directory
New-Item -Path "$instDir\GFExperience" -ItemType Directory

# Download driver package as a zip
$packageArgs['file'] = "${ENV:TEMP}\nvidiadriver.zip"
Get-ChocolateyWebFile @packageArgs

# Unzip driver package
Get-ChocolateyUnzip @packageArgs

# Move everything we want to a new folder
Move-Item ($packageArgs['destination'] + "\Display.Driver"        ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\Display.Optimus"       ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\NVI2"                  ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\PhysX"                 ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\EULA.txt"              ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\ListDevices.txt"       ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\setup.cfg"             ) -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\setup.exe"             ) -Destination "$instDir"
# Must include these legal files to satisfy the installer. GFE will not be installed.
Move-Item ($packageArgs['destination'] + "\GFExperience\PrivacyPolicy"      ) -Destination "$instDir\GFExperience"
Move-Item ($packageArgs['destination'] + "\GFExperience\EULA.html"          ) -Destination "$instDir\GFExperience"
Move-Item ($packageArgs['destination'] + "\GFExperience\FunctionalConsent_*") -Destination "$instDir\GFExperience"
# I've changed my mind about not including the audio and USB-C driver by default.
Move-Item ($packageArgs['destination'] + "\HDAudio") -Destination "$instDir"
Move-Item ($packageArgs['destination'] + "\PPC"    ) -Destination "$instDir" -ErrorAction SilentlyContinue
if ( $pp.NV3DVision ) {
  Move-Item ($packageArgs['destination'] + "\NV3DVision"          ) -Destination "$instDir"
  Move-Item ($packageArgs['destination'] + "\NV3DVisionUSB.Driver") -Destination "$instDir"
}
# Misc new additions
if ( $pp.Nview ) {
  Move-Item ($packageArgs['destination'] + "\Display.Nview") -Destination "$instDir"
}
if ( $pp.ShadowPlay ) {
  Move-Item ($packageArgs['destination'] + "\ShadowPlay") -Destination "$instDir"
}
if ( $pp.FrameView ) {
  Move-Item ($packageArgs['destination'] + "\FrameViewSDK") -Destination "$instDir"
}
if ( $pp.MSVCRT ) {#MS VC Redist from 2019???
  Move-Item ($packageArgs['destination'] + "\MSVCRT") -Destination "$instDir"
}

# Remove unused files
Remove-Item ($packageArgs['destination']) -Recurse -Force

# Finally, install
$packageArgs['file'    ] = "$instDir\setup.exe"
$packageArgs['fileType'] = 'EXE'
Install-ChocolateyInstallPackage @packageArgs

tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName   = 'nvidia-display-driver'
  softwareName  = 'NVIDIA Graphics Driver*'
  fileType      = 'EXE'
  validExitCodes= @(0)
}

$packageArgs['file']       = (Get-UninstallRegistryKey $packageArgs['softwareName']).UninstallString -replace "\s.*$"
$packageArgs['silentArgs'] = (Get-UninstallRegistryKey $packageArgs['softwareName']).UninstallString -replace "^.*?\s" -replace "$"," -silent"

If ( -not $env:ChocolateyForce) {
  Write-Warning 'Uninstalling this package will forcibly reboot your PC.'
  Write-Warning 'If you wish to proceed, please specify the --force parameter.'
  Write-Error 'Uninstall not called with --force. Aborting.'
}

Uninstall-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
NVidia Display Driver 516.94 38047 Wednesday, August 10, 2022 Approved
NVidia Display Driver 516.59 33970 Wednesday, June 29, 2022 Approved
NVidia Display Driver 516.40 12590 Thursday, June 16, 2022 Approved
NVidia Display Driver 512.95 20292 Wednesday, May 25, 2022 Approved
NVidia Display Driver 512.77 13192 Friday, May 13, 2022 Approved
NVidia Display Driver 512.59 17277 Wednesday, April 27, 2022 Approved
NVidia Display Driver 512.15 41482 Wednesday, March 23, 2022 Approved
NVidia Display Driver 511.79 47664 Tuesday, February 15, 2022 Approved
NVidia Display Driver 511.65 20446 Wednesday, February 2, 2022 Approved
Discussion for the NVidia Display Driver Package

Ground Rules:

  • This discussion is only about NVidia Display Driver and the NVidia Display Driver package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or NVidia Display Driver, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus