Skip to content

InukaWijerathna/Driver-Updater-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Driver Update Tool

Scans your machine for outdated drivers, checks Windows Update for available updates, and installs them — all from the terminal.

Features

  • Enumerates all installed drivers via WMI (~100–200 on a typical machine)
  • Queries the Windows Update Agent COM API for pending driver updates
  • Filters out beta/unstable drivers by default (--beta to include them)
  • Detects NVIDIA / AMD / Intel GPUs and shows current version + download link
  • Interactive menu to install all updates or pick specific ones
  • Requires elevation only for installation — scanning works without it

Requirements

  • Windows 10 or 11 (64-bit)
  • Python 3.10+
  • Internet access (for Windows Update queries)

Setup

setup.bat

Or manually:

pip install -r requirements.txt

Usage

Scan only (no admin needed):

python main.py

Scan + install (runs elevated):

run_admin.bat

Flags:

Flag Effect
--beta Include beta and optional-only driver updates from Windows Update
--debug Show verbose logging (PowerShell calls, skipped updates, API errors)

How it works

  1. Driver scanGet-WmiObject Win32_PnPSignedDriver returns every signed driver with its version, manufacturer, and hardware ID.
  2. Windows Update check — the Windows Update Agent COM API (Microsoft.Update.Session) searches for uninstalled driver-type updates. IsBeta and BrowseOnly flags are used to separate stable from beta updates.
  3. GPU detection — NVIDIA, AMD, and Intel display drivers are identified and their WMI version strings are converted to the manufacturer's short form (e.g. 31.0.15.7602576.02 for NVIDIA).
  4. Install — the same WUA COM API downloads and installs selected updates. A reboot prompt is shown if required.

Notes

  • Installing drivers requires the tool to run as Administrator. Use run_admin.bat or right-click main.py → Run as administrator.
  • NVIDIA's public driver lookup API no longer returns results without session tokens. The tool shows your current driver version and links directly to nvidia.com/Download.
  • Windows Update already includes NVIDIA, Intel, and Realtek driver updates — it is the primary and most reliable source.

Project structure

main.py                    Entry point
setup.bat                  Install dependencies
run_admin.bat              Launch elevated for installation
requirements.txt
src/
  driver_detector.py       WMI driver enumeration
  windows_update.py        Windows Update Agent check & install
  manufacturer_check.py    GPU detection (NVIDIA / AMD / Intel)
  display.py               Rich terminal tables
  updater.py               Interactive menu

About

Scans your machine for outdated drivers, checks Windows Update for available updates, and installs them — all from the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors