Main Window

Unzip the RAPR binary in to any folder.

Invoking RAPR

RAPR interacts with Windows “driver store”. Under Windows Vista+, this needs ADMIN rights. RAPR can be started in ADMIN mode in 2 ways:

Method 1:

 Right click on RAPR.exe and choose “Run as Administrator”

image[21]

Method 2:

  • Open a CMD prompt in ADMIN mode (by right clicking on CMD and choosing “Run ad Administrator”)
  • In the cmd prompt, go to the folder where RAPR.exe is stored. Start RAPR by typing “rapr.exe” in the cmd prompt.

Note that, RAPR can be started in non-admin mode too. In non-admin mode, it allows you to only “Enumerate” the driver store. It disables all the other features and shows the following popup. Smile

image[121]

 

Using RAPR:

Understanding the UI capabilities:

RAPR updates the last action result in the status bar. Messages are color coded, as shown below. Info messages don’t have any color.

image[62]

image[108]

image[77]

image[118]

The header fields can be rearranged. Note that the header field positions are not persisted across runs. They always start at their default position.

image[51]

You can choose the header fields shown by RAPR. Right-click on the header control (any field name) to open up the customization menu.

image[41]

You can sort on any field by clicking on the corresponding header field.

image[213]

For “Delete” operations, RAPR allows you to choose more than one driver package in the main window. Select the checkbox next to each driver entry that you want to be deleted.

image[206]

Right clicking on the driver entries list to bring up a menu where you can either select all the entries or unselect all the entries.

image[91]

RAPR shows a progress bar in the main window, when it is performing a time-intensive background operation (like “addition of a driver package”). This is not visible when RAPR is idle.

image[216] 

Enumeration:

This is the default screen, when you invoke RAPR. Note that some of the screen shots used below were taken using RAPR 0.1, but the same UI components are present in RAPR 0.5 too (albeit with some minor cosmetic changes)

Click on “Enumerate” to load the current driver store entries.

Adding a Driver Package:

First step is to assemble your driver package. Usually the driver package will have the SYS file, INF, CAT and any co-installer DLLs & other EXE utils (for use by the co-installer). Make sure you have all these in the same folder.

Click on “Add a driver” in RAPR ["Add package" in RAPR 0.5]. This opens up the “Select the INF” dialog box. Browse to your package folder and choose the INF. 

image[158]

Note that the above step only adds the selected driver package to the driver store (this process is called “staging”). 

To install the driver (for ex, if your driver package has a non-pnp component), select the “Install” checkbox ["Install driver" in RAPR 0.5] before clicking on “Add a driver” ["Add package" for RAPR 0.5]. RAPR will add and install in this case.

image[143]

Deleting driver package(s):

image[175]

Select one or more packages listed. Click on “Delete” ["Delete package" for RAPR 0.5] to remove those packages.

image[111]

If RAPR couldn’t delete the package(s), it will throw an error dialog (like shown above). Usually the status bar will have more details.

image[166]

 

You can retry deleting that package, by “forcing” deletion. Select the check box “Force deletion” before clicking on “Delete”.

image[198]

 

Exporting the drivers list:

RAPR supports exporting the driver store entries to CSV. Right click on the drivers list to open the context menu. Choose "Export". You need to provide a filename for the CSV output. 

Export

Debugging RAPR failures:

RAPR produces a log of all its operations. This is stored in “debug.log”. You can find this file in the same folder as RAPR.exe (provided RAPR has WRITE access to that folder).

Last edited Dec 30, 2012 at 11:09 PM by kannanmr, version 4

Comments

renini Jul 11, 2013 at 9:28 AM 
Nice! I see this uses pnputil, would be nice to see an updated version that works with dism /online /get-drivers /all /format:table. This lists more drivers then pnputil... Like alot of HP print drivers i want remove etc.
Thanks for this tool though!

Stewox Apr 12, 2013 at 7:29 PM 
Thanks so much, this is what i've been looking for!