To add-, install- or delete driver packages using a INF text file, which contain all the information that device installation components used to install a driver, PNPUtil (PNPUtil.exe) command line tool can be used. PNPUtil is included in every Windows version.
Add driver package(s) into the driver store and install:
PNPUtil Examples:
pnputil /add-driver x:\driver.inf |
<- Add driver package |
Further information about PNPutil command syntax, please see following Microsoft pages:
Silent Installation of dynabook TC*.exe Component Packages
To silently install dynabook component packages (file name syntax "TC*.exe") instead of using the *.inf driver file, please check the following document which contain all available command line switches (SCCM compatible):
Silent Installation of dynabook BIOS Package
To silently install dynabook BIOS packages (file name syntax "P****v***.exe"), please check the following document which contain all available command line switches:
When using Powershell instead of the standard command prompt, please check below information:
Powershell Syntax
Add following syntax in Powershell / script to install all *.inf driver from a specific folder:
Get-ChildItem "C:\dynabook\" -Recurse -Filter "*.inf" |
ForEach-Object { PNPUtil.exe /add-driver $_.FullName /install }
If driver installation should depend on dedicated model, following syntax can be used to check model part number and next, to install the driver only for this particular part number.
Powershell Script Example
#model part number check for PT272E
if (gwmi win32_computersystemproduct | % {$_.version} | Where-Object {'%PT272E%'})
{
#model part number check for PT272E = TRUE / model pa found
Write-Host "Model part number check ok. Drivers will be installed." # Output text
Get-ChildItem "C:\dynabook\" -Recurse -Filter "*.inf" | # Search all *.inf drivers in folder C:\dynabook
ForEach-Object { PNPUtil.exe /add-driver $_.FullName /install } # Install each *.inf driver, which has been found using PNPUtil
}#model part number check for PT272E = WRONG / model pa not found
else
{
# Output text
Write-Host "Model part number check failed"
}
DISCLAIMER
Dynabook provides this information "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. Dynabook shall not be responsible for the topicality, correctness, completeness or quality of the information or software provided. Dynabook is not liable for any damage caused by the use of any information or software provided, including information that is incomplete or incorrect. Any trademarks used herein belong to their respective owners.
Copyright Dynabook Europe GmbH. All rights reserved.