UIU Command Line

Implementing the UIU using a command line task

Review of UIU Plug-ins 2.0 Command Line switches

UIUPrep is a flexible application that can be run in any WinPE environment.


  1. The target machine, booted into a Windows PE environment.
    1. This is usually already present and accounted for by the process which you perform your OSD operations in environments like MDT, SCCM, Ghost, etc...
  2. To have applied a sysprepped base image to that target machine, and that machine has not booted into windows mini-setup yet.
    1. UIUPrep must run on the machine while it is booted into WinPE, it will affect the offline OS which must already be applied.
  3. An accessible UIU repository.
    1. Network share
    2. Local media
    3. SCCM Distribution point package
    4. “UIU repository” consists of the following directories (created by the UIU) in the location chosen in which to install the UIU repository, (typically consisting of):
      1. Amd64
        1. Uiuprep.exe (64bit)
      2. X86
        1. Uiuprep.exe (32bit)
      3. Custom
        1. Custom drivers that need to be installed on all machines should be included here.
      4. Repository
        1. Driver database version files
          1. For example: DB-18-04-01.udb
            1. Uiuprep can be called to use a specific database version if desired. All available versions are stored in this directory.
        2. File repository for the drivers in the database; represented by a multitude of subdirectories.

While the target machine is running in a Windows PE session, and after you have applied an image to it using any method (DISM for example), you can call UIUPrep.exe from the command line to install the necessary drivers for that machine.

The following command should be added following the OS deployment step (in accordance with the deployment solution); usually replacing the native "apply drivers" step in the task sequence.

Example Run Command syntax:

\\server\share\uiu\x86\uiuprep.exe –run –licensekey “XXXXXXX-!v4!Company-XXXXXXXXXXXXXXXXXXX” –signeddriversonly –custompath “\\server\share\uiu\custom”


\\server\share\uiu\%PROCESSOR_ARCHITECTURE%\uiuprep.exe –run –licensekey “XXXXXXX-!v4!Company-XXXXXXXXXXXXXXXXXXX” –signeddriversonly –custompath “\\server\share\uiu\custom”

Example syntax SCCM “Run Command” task (with UIU Package selected as reference):


This also requires that an SCCM (UIU) package be associated with the Run Command Line task element.

SCCM Command

For additional information on implementing the command line with SCCM, please contact UIU Support.

uiu logo user guide

Additional Resources