Share via


Tip Of The Day: Disable Software-enumerated Devices

If you run TAP.exe on your target hardware you will get every device listed in the registry. Some of these devices are not real devices at all, but are software-enumerated devices and are very rarely (if ever) needed on a runtime image. Disabling or deleting these software-enumerated devices will save on footprint because their dependencies unnecessary files will not be added to your image, and neither will the chain of dependencies for each of these devices. To get the benefit, you need to remove them from the configuration before you ever through the check dependency phase. You can do this in two ways:

  1. Manually remove them from your configuration in Target Designer
  2. Create a custom component from your pmq in Component Designer, then either
    • remove the components for the software-enumerated devices
    • disable the components for the software-enumerated devices. If you add a membership on the Selector Prototype macro, you can add these components back if needed through the configUI of the component in Target Designer.

swenum

The list of software-enumerated devices include:

  • - ACPI Fixed Feature Button
    - ACPI Sleep Button
    - Audio Codecs
    - Communications Port
    - Creative AudioPCI (ES1371,ES1373) (WDM)
    - Direct Parallel
    - Game Port for Creative
    - ISAPNP Read Data Port
    - Legacy Audio Drivers
    - Legacy Video Capture Devices
    - Microsoft Kernel Acoustic Echo Canceller
    - Microsoft Kernel Audio Splitter
    - Microsoft Kernel DLS Synthesizer
    - Microsoft Kernel DRM Audio Descrambler
    - Microsoft Kernel GS Wavetable Synthesizer
    - Microsoft Kernel System Audio Device
    - Microsoft Kernel Wave Audio Mixer
    - Microsoft Streaming Clock Proxy
    - Microsoft Streaming Quality Manager Proxy
    - Microsoft Streaming Service Proxy
    - Microsoft WINMM WDM Audio Compatibility DriverĀ 
    - Printer Port Logical Interface
    - RAS Async Adapter
    - System Speaker
    - Terminal Server Device Redirector
    - Terminal Server Keyboard Driver
    - Terminal Server Mouse Driver
    - Video Codecs
    - WAN Miniport (IP)
    - WAN Miniport (L2TP)
    - WAN Miniport (PPPOE)
    - WAN Miniport (PPTP)

Lynda

Technorati Tags: XPe, Componentization