ZenitH-AT / nvidia-update

Checks for a new version of the NVIDIA driver, downloads and installs it.
MIT License
56 stars 8 forks source link
driver gpu nvidia updater

nvidia-update

Checks for a new version of the NVIDIA Driver, downloads and installs it. Windows 10+ only and PowerShell 6+ recommended.

Fork of lord-carlos/nvidia-update.

Usage

Optional parameters

How to pass optional parameters

Automatically running the script periodically

Run the following PowerShell command to download the latest release files and create a scheduled task to run the script weekly with no optional parameters:

Invoke-Expression (Invoke-WebRequest -Uri "https://github.com/ZenitH-AT/nvidia-update/raw/main/schedule.ps1")

To specify optional parameters for the scheduled task action, run a command similar to the following example, instead:

Invoke-Command ([ScriptBlock]::Create(".{$(Invoke-WebRequest -Uri "https://github.com/ZenitH-AT/nvidia-update/raw/main/schedule.ps1")} -Force -DownloadDir `"'C:\Users\user\NVIDIA download'`""))

Surrounding an argument with `"' and '`" is required if it has spaces.

Requirements / Dependencies

A supported archiver (7-Zip or WinRAR) is required to extract driver files.

How does the script check for the latest driver version?

It uses the NVIDIA AjaxDriverService.

Example:

https://gfwsl.geforce.com/services_toolkit/services/com/nvidia/services/AjaxDriverService.php?func=DriverManualLookup&pfid=877&osID=57&dch=1

The pfid and osID are determined by reading files in the ZenitH-AT/nvidia-data repository, which queries the NVIDIA Download API (lookupValueSearch).

How does this differ from lord-carlos/nvidia-update?

Planned changes