• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Checks for a new version of the Nvidia Driver, downloads and installs it.




nvidia-update

Checks for a new version of the Nvidia Driver, downloads and installs it.

Usage

  • Download nvidia.ps1
  • Right click and select Run with PowerShell
  • If the script finds a newer version of the nvidia driver online it will download and install it.

Optional parameters

  • -clean - deletes the old driver and installs the newest one
  • -folder <path_to_folder> - the directory where the script will download and extract the new driver

How to pass the optional parameters

  • While holding shift press right click in the folder with the script
  • Select Open PowerShell window here
  • Enter .\nvidia.ps1 <parameters> (ex: .\nvidia.ps1 -clean -folder C:\NVIDIA)

Running the script regularly and automatically

You can use SchTasks to run the script automatically with:

$path = "C:"
New-Item -ItemType Directory -Force -Path $path | Out-Null
Invoke-WebRequest -Uri "https://github.com/lord-carlos/nvidia-update/raw/master/nvidia.ps1" -OutFile "$path\nvidia.ps1" -UseBasicParsing
SchTasks /Create /SC DAILY /TN "Nvidia-Updater" /TR "powershell -NoProfile -ExecutionPolicy Bypass -File $path\nvidia.ps1" /ST 10:00
schtasks /run /tn "Nvidia-Updater"

Requirements / Dependencies

7-Zip or WinRar are needed to extract the drivers.

FAQ

Q. How do we check for the latest driver version from Nvidia website ?

We use the NVIDIA Advanced Driver Search.

Example: https://www.nvidia.com/Download/processFind.aspx?psid=101&pfid=845&osid=57&lid=1&whql=1&ctk=0&dtcid=0

  • psid: Product Series ID (GeForce 10 Series: 101)
  • pfid: Product ID (e.g. GeForce GTX 1080 Ti: 845)
  • osid: Operating System ID (e.g. Windows 10 64-bit: 57)
  • lid: Language ID (e.g. English (US): 1)
  • whql: Driver channel (Certified: 0, Beta: 1)
  • dtcid: Windows Driver Type (Standard: 0, DCH: 1)