Description:

WDREG utility provides dynamically loading and unloading the WDM (Windows Driver Model) drivers using INF file.

Driver Installation:

Wdreg -inf<Path Of inf file> -silent -log<logfile> install

Used in Application:

"C:\Program Files (x86)\Panini\Panini 3.3.1 Universal Installer\USB Driver 64bit\Wdreg.exe" -inf "C:\Program Files (x86)\Panini\Panini 3.3.1 Universal Installer\USB Driver 64bit\Panini.inf" -log “C:\WINDOWS\wdreg.log install”

Driver Uninstallation

Wdreg -inf<Path Of inf file> -silent -log<logfile> uninstall

Used in Application:

"C:\Program Files (x86)\Panini\Panini 3.3.1 Universal Installer\USB Driver 64bit\Wdreg.exe" -inf "C:\Program Files (x86)\Panini\Panini 3.3.1 Universal Installer\USB Driver 64bit\Panini.inf" -log C:\WINDOWS\wdreg.log uninstall

 

  • More Insights on WDREG utility:

The wdreg utility can be used in two ways as demonstrated below:

  1. wdreg -inf <filename> [-silent] [-log <logfile>]

[install | uninstall | enable | disable]

  1. wdreg -rescan <enumerator> [-silent] [-log <logfile>]

 

OPTIONS

wdreg supports several basic OPTIONS from which you can choose one, some, or none:

-inf – The path of the INF file to be dynamically installed.

-rescan <enumerator> – Rescan enumerator (ROOT, ACPI, PCI, etc.) for hardware changes. Only one enumerator can be specified.

-silent – Suppress display of all messages (optional).

-log <logfile> – Log all messages to the specified file (optional).

-compat – Use the traditional SetupDi API instead of the newer Driver Install Frameworks API (DIFxAPI).