Project Description
Windows CE LoadDriver is a command line tool for loading and unloading Windows CE device drivers. It is quite flexible and is useful for driver development.

Project Details
This zip-file contains the source code for the LoadDriver utility. The tool can be build in two different ways.
  • To build the tool with Platform Builder and include the output in a Windows CE OS image, just drop the LoadDriver folder into your 3rdparty folder (usually c:\wince600\3rdparty) and then select LoadDriver in the catalog view of your OS design.
  • To build the tool stand-alone with Visual Studio 2008, just open the solution file which you will find inside the LoadDriver folder. Note that you will need to add your own SDK to the solution before you can build (unless you happen to be using the exact same SDK as I am). The tool uses only standard APIs that I expect will be present in most OS images

Any comments, suggestions, bug reports, or patches are very welcome. Please use the discussion forum or contact me directly.

LoadDriver help
Windows CE LoadDriver 0.2 (Compile time: Oct 30 2009 06:53:06)
Copyright (C) 2009 by Bogong (


 -l <regkey>           Load driver with registry key <regkey>
 -ld <dll>             Load specified DLL (also requires -p)
 -u <id>               Unload driver with handle ID <id>
 -i                    List drivers and their handle IDs
 -f <flags>            Set flags value (overrides registry if exists)
 -p <prefix>           Set prefix value (overrides registry if exists)
 -o <order>            Set order value (overrides registry if exists)
 -n <index>            Set index value (overrides registry if exists)
 -c <name>=<value>     Create custom registry key (overrides registry if exists)
                       Use dword:<num> as value to create a dword. Default is string
 -h                    This help


 To load a driver with settings already specified in registry
 HKLM\Drivers\BuiltIn\Serial1, use:

    loaddriver -l Serial1

 To load a custom driver with no settings in registry you must
 specify everything on the command line, e.g.:

    loaddriver -ld serial.dll -p COM -n 4 -c TxBufferSize=dword:1024

Last edited May 27, 2011 at 7:45 PM by arl, version 1


dvescovi Jan 10, 2012 at 5:48 PM 
Does this only work with user level drivers ... like serial? Can it also work with kernel drivers?