×
Menu
Index

5. Commands Associated with Windows Driver Installation

 
Important: When using the Linux version of TBOSDT, all command line options are specified by using a "-" instead of a "/". All commands in this section except COPY INF are available only in the Windows version.
 
Command Function
Command Syntax
Copy an INF file and optionally install a driver
COPY INF inffile targetwindir windir r [section r] [/ia64] [/x64] [/i] [/b] [/r] [/n] [/f] [/e] [/in] [/ver][/pt][/sm]
  inffile – path to the INF file.
  targetwinddir – path to the target windows folder (for tbosdt).
  windir – path of the windows folder from within the target itself. In other words the path from the point of view of the target once booted.
  r – open registry id of the system registry.
  section – extension to use on the end of the Manufacturer section to allow specialized INF file sections. e.g. [Manufacturer.section]
  r – open registry id of the software registry.
 
  /i - install the driver
  /b - driver being installed is required for system bootstrap
  /r - remove existing hardware reference to device
  /n - do not copy inf to target
  /f – filter on the hardware id
  /e – error if section is missing otherwise just warning message
  /in – process include and needs directives
  /ver – target os version in format of 0xMMMMmmmm where MMMM is the major version and mmmm is the minor version. This is needed when the INF file uses versioning information. The target version information is as follows:
     0x60002 = Windows Server 2012 and Windows 8
     0x60001 = Windows Server 2008 R2 and Windows 7
     0x60000 = Windows Server 2008 and Windows Vista
     0x50002 = Windows Server 2003
     0x50001 = Windows XP
     0x50000 = Windows 2000
  /pt – target os product type:
     1 = Workstation
     2 = Domain Controller
     3 = Server
  /sm – target os suite mask (not normally used):
     0x001 = Small Business
     0x002 = Enterprise
     0x004 = Back Office
     0x008 = Communications
     0x010 = Terminal
     0x020 = Small Business Restricted
     0x040 = Embedded NT
     0x080 = Data Center
     0x100 = Single User TS
     0x200 = Personal
     0x400 = Service Appliance
Add an INF and associated files to the system.
(Windows version only)
ADD INF d:\filename [sourcemediapath] [/r][/d][/c][/n]
  /r - refresh (replace-only).
  /d - delete source after copy.
  /c - copy CAT file only.
  /n - no overwrite.
Remove the INF and associated files from the system.
(Windows version only)
DEL INF filename [/f]
  /f - force removal.
Add a CAT file to the catalog database.
(Windows version only)
ADD CATALOG d:\catfilename [newname]
Remove catalog file reference from catalog database.
(Windows version only)
DEL CATALOG catfilename